[H-GEN] LDAP mystery error

Bradley Marshall brad at humbug.org.au
Fri Feb 28 05:25:37 EST 2003


[ 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
-- 
         +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
         | Bradley Marshall    | http://www.humbug.org.au/~brad |
         | System/Network Admin|      brad at humbug.org.au        |
         | Plugged In Software |    bmarshal at pisoftware.com     |
         +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
 ``I'm not ashamed.  Its the computer age.  Nerds are in.'' - Willow (BtVS)


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list