Hi Gordon,

This is my admin-accts.ldif;
---------------------------------------------------------------
dn: cn=updateuser,dc=tinistuff,dc=com
objectClass: person
cn: updateuser
sn: updateuser
userPassword: {crypt}ABiELdbxGY2fY

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

----------------------------------------------------------------

So the ldap server is stopped, I add these entries; and restart ldap.

[EMAIL PROTECTED] scripts]# slapadd -v -l admin-accts.ldif
added: "cn=updateuser,dc=tinistuff,dc=com" (00000002)
added: "cn=sambaadmin,dc=tinistuff,dc=com" (00000003)
Error, entries missing!
 entry 1: dc=tinistuff,dc=com


[EMAIL PROTECTED] programs]# ldapsearch -x -D "cn=sambaadmin,dc=tinistuff,dc=com" -W uid=sambaadmin
Enter LDAP Password:
ldap_bind: Invalid credentials (49)

It will not let me populate the database either; however I can populate fine when using "Manager" instead of "sambaadmin"

[EMAIL PROTECTED] sbin]# ./smbldap-populate -a root -k 0 -m 0
Populating LDAP directory for domain TINISTUFF (S-1-5-21-1850218137-420253120-3974286998)
(using builtin directory structure)

adding new entry: dc=tinistuff,dc=com
failed to add entry: modifications require authentication at ./smbldap-populate line 471, <GEN1> line 2.

etc......



Hmmmmm :(

Adrian.



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, 26 Feb 2006 23:08:29 -0800

adrian sender wrote:
Hey Guys,

Gordon, I do not think that is the issue; I have tried what you said but still get the same error.

Remember I have a SDC or BDC that uses updateuser; the ldif I add for that uses plain text passwords and works perfectly.

I see... Your original message indicated that you had an "updateuser" in the database, but didn't indicate that you were actually using it for anything.

I'm still guessing that this is an LDAP issue, and not a samba one.

Are you able to perform a search with the sambaadmin user, or the updateuser user, using the ldapsearch command line? Try both of these, and make sure that sambaadmin is not the rootdn specified in your slapd.conf:

ldapsearch -x -D "cn=sambaadmin,dc=ddesign,dc=com" -W uid=sambaadmin

ldapsearch -x -D "cn=updateuser,dc=ddesign,dc=com" -W uid=sambaadmin



--
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