LDAP SAMBA to Primary Domain Controller - Part 2
------------------------------------------------------------------------------------ Samba config: #vim /etc/samba/smb.conf [global] workgroup = hbn.local netbios name = HBN enable privileges = yes #interfaces = 192.168.1.131 username map = /etc/samba/smbusers server string = samba-ldap-pdc security = user encrypt passwords = Yes admin users = root #min passwd length = 3 obey pam restrictions = No ldap passwd sync = Yes log level = 0 syslog = 0 log file = /var/log/samba/log.%m max log size = 100000 #time server = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 mangling method = hash2 Dos charset = 850 Unix charset = ISO8859-1 #guest account = root logon script = logon.bat logon drive = logon home = logon path = domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins support = Yes passdb backend = ldapsam:ldap://127.0.0.1 ldap admin dn = cn=Manager,dc=hbn,dc=local ldap suffix = dc=hbn,dc=local ldap