Hi gordon, I don't think that is the issue here because I am able to use "Manager" ldif with plain text passwords.

Cheers.

Adrian Sender.


From: Gordon Messmer <[EMAIL PROTECTED]>
To: adrian sender <[EMAIL PROTECTED]>
CC: samba@lists.samba.org
Subject: Re: [Samba] Samba 3 by Example - chapter 5 & 6 ( Manager -> sambaadmin)
Date: Sun, 19 Feb 2006 10:44:14 -0800

adrian sender wrote:

dn: cn=sambaadmin,dc=ddesign,dc=com
objectClass: person
cn: sambaadmin
sn: sambaadmin
userPassword: 123456

When using sambaadmin instead of manager samba hangs unable to connect to the ldap database, however if i change this entry in the slapd.conf all works find also.

rootdn      "cn=Manager,dc=ddesign,dc=com"

TO>>>

rootdn      "cn=sambaadmin,dc=ddesign,dc=com"

Given that, I'd guess that your directory server doesn't support plain text userPassword fields. Try crypt()ing them.

# perl -e 'print crypt("123456", "AB") . "\n"'
ABiELdbxGY2fY

So, then, your LDIF should have:

dn: cn=sambaadmin,dc=ddesign,dc=com
objectClass: person
cn: sambaadmin
sn: sambaadmin
userPassword: {crypt}ABiELdbxGY2fY




--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to