[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Why "ldapadd -x -D cn=admin, cn=config -W -f ~/sudoWork/cn\=sudo.ldif" does not work?
- To: openldap-technical@openldap.org
- Subject: Why "ldapadd -x -D cn=admin, cn=config -W -f ~/sudoWork/cn\=sudo.ldif" does not work?
- From: Peng Yu <pengyu.ut@gmail.com>
- Date: Fri, 28 Mar 2014 22:21:52 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Zt20NdmD8XDHyml1KRpN2b9mYzHnr4pwZENS0dMxZ30=; b=CXACf2fewd4f2PQGSKg35SUbTxioOZ2vImCoByGMCfR1Nbh0NRqpADbCfGBLYQxbXf FlAFJFZX+ldDRxCeHFLLDtLVPDBGjwrrn1MCqqMdpfsVlmjsFnEm3L4LkMz4a57HQQwM pHcXL4rj3GrrycbzFjfgJWcpy4+E7dqv28EhrigaY5c0/oImAwUs9F1g3g/6DBNuPLnG BUe6NuyAXzxsMzqoBi0a65cNuZ84nQ1roOdfno1J3s+oo+wASmh0fQJ21DFsKKwca1MK wT052jELnjU7v0atGp9mFkpeNIoVnEn6ep1fsdRjiq+PZoIj62ocNjTzVKHpHGdJA0wN 80Hg==
Hi,
I followed the following instructions.
http://ubuntuforums.org/showthread.php?t=1421998
I get the following error.
pengy@openldapserver:~$ ldapadd -x -D cn=admin,cn=config -W -f
~/sudoWork/cn\=sudo.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
Here is the log. Does anybody know what the log means and how to fix
the problem? Thanks.
pengy@openldapserver:~$ tail -n 5 /var/log/syslog
Mar 28 22:20:07 openldapserver slapd[972]: conn=1460 fd=21 ACCEPT from
IP=127.0.0.1:47481 (IP=0.0.0.0:389)
Mar 28 22:20:07 openldapserver slapd[972]: conn=1460 op=0 BIND
dn="cn=admin,cn=config" method=128
Mar 28 22:20:07 openldapserver slapd[972]: conn=1460 op=0 RESULT
tag=97 err=49 text=
Mar 28 22:20:07 openldapserver slapd[972]: conn=1460 op=1 UNBIND
Mar 28 22:20:07 openldapserver slapd[972]: conn=1460 fd=21 closed
--
Regards,
Peng