[PLUG] LDAP help

Chris Jantzen chris at maybe.net
Tue Aug 10 15:38:02 UTC 2004


On Tue, Aug 10, 2004 at 03:32:08PM -0700, Paul Heinlein wrote:
> On Tue, 10 Aug 2004, R. Haack wrote:
> 
> >I'm having some problems with getting my LDAP server going.  I'm running 
> >Fedora Core 2 and I've done all of the udpates.  The server seems to start 
> >and run just fine, but the problem comes when I attempt to convert users. 
> >I've run ldappasswd to get an encrypted password which I then pasted into 
> >my slapd.conf file.  The problem comes when I attempt to convert users.  
> >I'm issuing the following command:
> >
> >ldapadd -x -D "cn=Manager,dc=k12,dc=or,dc=us" -W -f nclack.ldif
> >
> >When it asks me for the password I get the following error message:
> >
> >ldap_bind: Invalid credentials (49)
> >
> >Can anybody tell me what is going on and how to resolve this issue?
> 
> Assuming you typed the ldapadd invocation correctly above, you're 
> using the wrong binddn (-D), because in your config file the root 
> account has a different dn:
> 
>   rootdn          "uid=Manager,cn=users,dc=k12,dc=or,dc=us"
> 
> Try instead
> 
>   ldapadd -D "uid=Manager,cn=users,dc=k12,dc=or,dc=us" [...]

Actually, now that you point this out, this is a horrible tree. cn=
shouldn't appear along the middle of the path, and you should have
some additional dc= or ou= components, unless you really ARE building
an LDAP tree for ALL of K12 in Oregon... :-)

-- 
chris kb7rnl =->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20040810/49db43b4/attachment.asc>


More information about the PLUG mailing list