[Samba] Samba3.0.21c as a PDC with LDAP on solaris 10

Imad Abu Jebara imadaj at hotmail.com
Tue Mar 28 22:13:47 GMT 2006


We have compiled samba with ldap support

but everytime we try to connect to the samba server from a windows xp machine we get the same login window again without any error msg

when using the testparm we get

unknown parameter encountered: "ldap port"
ignoring unknown parameter "ldap port"
unknown parameter encountered "ldap server"
ignoring unknown parameter "ldap servert"

Here is a copy of the smb.conf

	workgroup = PHYSICS
	realm = localhost
	netbios name = 
	server string = Physics Domain Controller
	interfaces =
	passdb backend = ldapsam:ldap://localhost:389
	passwd program = /usr/sfw/sbin/smbldap-passwd.pl -o %u
	log level = 3 passdb:5 auth:10 winbind:2
	log file = /var/samba/log.%m
	printcap name = cups
	add user script = /usr/sfw/sbin/smbldap-useradd.pl -m "%u"
	add user to group script = /usr/sfw/sbin/smbldap-groupmod -m "%u" "%g"
	delete user from group script = /usr/sfw/sbin/smbldap-groupmod -x "%u" "%g"
	set primary group script = /usr/sfw/sbin/smbldap-usermod -g "%g" "%u"
	add machine script = /usr/sfw/sbin/smbldap-useradd.pl -w "%u"
	logon path = \\%L\profiles\%u
	logon home = \\%L\%U
	preferred master = Yes
	ldap server = localhost:389
	ldap port = 389
	ldap admin dn = CN=directory manager
	ldap group suffix = ou=Groups
	ldap idmap suffix = ou=People
	ldap machine suffix = ou=hosts
	ldap suffix = dc=physics,dc=auburn,dc=edu
	ldap ssl = no
	ldap user suffix = ou=People
	idmap backend = ldap:ldap://localhost:389


Because e-mail on your cell phone should be easy:  Try Windows Live Mail for Mobile beta

More information about the samba mailing list