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