Tell the user how to correctly enable samba as a Pdc

ok Ian McWilliam (Maintainer)
This commit is contained in:
giovanni 2010-07-02 14:42:29 +00:00
parent e178d4d14c
commit 59c7a9b962
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.115 2010/06/25 17:39:12 sthen Exp $
# $OpenBSD: Makefile,v 1.116 2010/07/02 14:42:29 giovanni Exp $
SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT-main= SMB and CIFS client and server for UNIX
COMMENT-docs= additional documentation and examples for Samba
DISTNAME= samba-3.5.4
PKGNAME-main= ${DISTNAME}
PKGNAME-main= ${DISTNAME}p0
FULLPKGNAME-docs= ${DISTNAME:S/-/-docs-/}
FULLPKGPATH-docs= net/samba,-docs
SHARED_LIBS= smbclient 2.0 \

View File

@ -72,3 +72,13 @@ $ sudo smbpasswd -a <username>
An EXPERIMENTAL implementation of the SMB2 protocol has been added.
SMB2 can be enabled by setting "max protocol = smb2". SMB2 is a new
implementation of the SMB protocol used by Windows Vista and higher.
To use Samba as a PDC the values of openfiles-max in ${SYSCONFDIR}/login.conf
and kern.maxfiles should be increased to 16384.
Rebuild the login.conf.db file if necessary:
# cap_mkdb ${SYSCONFDIR}/login.conf
Don't forget to add the entry kern.maxfiles=16384 to the ${SYSCONFDIR}/sysctl.conf
file to keep the change across reboots.