[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Newbie LDIF question



Steve Parker <steve@itops.com> writes:

> Dieter Kluenter wrote:
>
>>[...]> There must be a really simple answer to this; can anybody shed some light?
>>
>>I don't think that 'Manager' is your rootdn.
>>A few snippets of your initial slapd.conf would be quite helpful, that
>>is database declaration, suffix and rootdn.
>>
>>
>>
> My slapd.conf contains:
> database        bdb
> suffix          "dc=itops,dc=com"
> rootdn          "cn=Manager,dc=itops,dc=com"
> # Cleartext passwords, especially for the rootdn, should
> # be avoid.  See slappasswd(8) and slapd.conf(5) for details.
> # Use of strong authentication encouraged.
> rootpw          <my_password>
> #rootpw   <my_encrypted_password> # I've hashed this out for now,
> let's keep it simple!

So why don't you bind as cn=manager,dc=itos,dc=com, as at this stage
slapd cannot rewrite the sasl authentication string
'uid=manager,cn=<realm>,cn=DIGEST-MD5,cn=auth' to
cn=Manager,dc=itops,dc=com 
Just ldapadd -x -D "cn=manager,dc=itops,dc=com" -W -f your.ldif

-Dieter 

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6