[H-GEN] LDAP mystery error
Mark Corben
mcorben at bigpond.com
Thu Mar 6 02:22:28 EST 2003
You were right I had mixed up the suffix and rootdn in the slapd.conf file.
But also I think there was a mix up when i corrected it and tried to do
another ldapadd and ldapsearch without clearing out the database in
/var/lib/ldap to start again.
I have now set the base in ldap.conf to "base o=testnet.de" and the
following for rootdn and suffix in slapd.conf:
suffix "o=testnet.de"
rootdn "cn=Manager, o=testnet.de"
So if i am to understand correctly the base dn of the entries in my ldif
file is "o=testnet.de" ?
Thanks,
Mark
Bradley Marshall wrote:
>[ Humbug *General* list - semi-serious discussions about Humbug and ]
>[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
>On Thu, Feb 27, 2003 at 01:26:47PM +1000, Mark Corben wrote:
>
>
>>I have created a test LDIF file - datenbank.ldif.
>>
>>When I run the command :
>> ldapadd -D "cn=Manager, o=testnet.de" -w secret
>>< /etc/openldap/ldif/datenbank.ldif"
>>
>>I get the following error:
>> ldap_sasl_interactive_bind_s: No such attribute
>>
>>####################### /etc/openldap/ldap.conf #######################
>>base o=testnet.de
>>################################################################
>>
>>####################### /etc/openldap/slapd.conf #######################
>>database ldbm
>>suffix "dc=my-domain,dc=com"
>>rootdn "cn=Manager,dc=harundi,dc=com"
>>
>>
>
>It looks as though you've got a severe case of not knowing what your base dn
>is. In one place you say you're doing to use dc=my-domain,dc=com, then you
>say the rootdn is in dc=harundi,dc=com, and then you try to bind in
>o=testnet.de. You need to pick one, and stay with it. What's the base dn
>of the entries in your ldif file?
>
>Thanks,
>Brad
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20030306/62b4e541/attachment.html>
More information about the General
mailing list