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

ldap_bind: Invalid credentials



I decided to upgrade from 1.2.11 to 2.0.11.  I've never really had this 
problem with 1.2.11 but when I tried to do an ldapadd to add my 1.2.11
data I got the invalid creditials error so I changed it to clear text for
testing.  Same problem.  I reduced my ldif file to 10 very simple lines 
and the same problem.

I do

#  ldapsearch -x -W  -b '' -s base  '(objectclass=*)' namingContexts
Enter LDAP Password: 
version: 2

#
# filter: (objectclass=*)
# requesting: namingContexts 
#

#
dn:
namingContexts: o=encontacto.net

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

but with 

# ldapadd -x -W -D "dn=root,o=encontacto.net"   -f test.ldif
Enter LDAP Password: 
ldap_bind: Invalid credentials

Same password.  I don't understand and have no idea where to go from here.
The log file for the invalid credentials is:

Jul 28 10:26:48 worldinternet slapd[6005]: daemon: conn=12 fd=9 connection from
IP=127.0.0.1:2375 (IP=0.0.0.0:34049) accepted. 
Jul 28 10:26:48 worldinternet slapd[6005]: conn=12 op=0 BIND
dn="DN=ROOT,O=ENCONTACTO.NET" method=128 
Jul 28 10:26:48 worldinternet slapd[6005]: conn=12 op=0 RESULT tag=97 err=49
text= 
Jul 28 10:26:48 worldinternet slapd[6005]: conn=-1 fd=9 closed 

Thanks for any help,

ed
 ----------------------------------------------------------------------- 
        The illiterate of the 21st century will not be 
              those who cannot read and write, 
        but those who cannot learn, unlearn and relearn. 
                                                 --Alvin Toffler