[Samba] Samba and LDAP

Seema Verma Seema.Verma at pwgsc.gc.ca
Tue Sep 10 17:49:00 GMT 2002


Following is my setup :

Samba server 1 is configured as a PDC and is running ldap, from a nt wkst I can login to my shares fine. Following are the config files :

[global]
	workgroup = mydomain
	netbios name = Xena
	server string = Xena Samba Server
	unix extensions = yes
	encrypt passwords = Yes
	null passwords = Yes
	socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
allow trusted domains = Yes
os level = 255
domain master = Yes
preferred master = Yes
unix password sync = Yes
domain logons = Yes
local master = Yes
security = user
dns proxy = No

# Samba - LDAP

ldap suffix = dc=PWGSC,dc=GC
ldap admin dn = cn=root,ou=Users,dc=PWGSC,dc=GC
ldap port = 389
ldap server = 127.0.0.1
ldap ssl = No

Have the usual commands in slapd.conf and ldap.conf. Till now everything works fine. I want to have another samba server as a say member server. I joined the above domain and had the following smb.conf file.

[global]
 ldap suffix = dc=PWGSC,dc=GC
 ldap admin dn = cn=root,ou=Users,dc=PWGSC,dc=GC
 ldap port = 389
 ldap server = 172.16.140.190
 ldap ssl = No

	workgroup = mydomain
	netbios name = andromeda
	server string = Andromeda Samba Server
      security = user
      password server = 172.16.140.190
      encrypt passwords = Yes
      null passwords = Yes


More information about the samba mailing list