[Samba] Samba 3 by Example - chapter 5 & 6 ( Manager ->
sambaadmin)
Gordon Messmer
yinyang at eburg.com
Sun Feb 19 18:44:14 GMT 2006
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
More information about the samba
mailing list