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

ldap_bind: Invalid credentials



Hi,

I'm resonably new to OpenLDAP and I'm currently experiencing an odd
error.

When I use the below command, I get an Invalid Credentials error
message.

ldapsearch -D "cn=aceadmin,dc=users,dc=acenet,dc=com,dc=au" -x -W
ldap_bind: Invalid credentials

And i Know the username and password work perfectly well for other
services like POP3. So I don't understand why I can't use the command
above.

However, when I try to use IMAP I get a string of errors like this in
my messages log:

Dec  4 14:38:43 mail1 imapd[22445]: pam_ldap: error trying to bind as
user "uid=aceadmin,dc=users,dc=acenet,dc=com,dc=au" (Invalid
credentials)
Dec  4 14:38:43 mail1 PAM_pwdb[22445]: check pass; user unknown
Dec  4 14:38:44 mail1 imapd[22445]: Login failure user=aceadmin
host=mail1 [203.202.60.5]
Dec  4 14:38:47 mail1 imapd[22445]: AUTHENTICATE LOGIN failure
host=mail1 [203.202.60.5]

Here is my slapd.conf file:
-------------------------------------------------------------------------------
database        ldbm
suffix          "dc=acenet,dc=com,dc=au"
rootdn          "cn=Administrator,dc=acenet,dc=com,dc=au"
rootpw          {SSHA}rKR+x0Js5fJWbg6ub9ar6inV12/7HNZY
directory       /usr/local/var/openldap-ldbm

replica host=ldap-slave1.acenet.com.au:389
        binddn="cn=Administrator,dc=acenet,dc=com,dc=au"
        bindmethod=simple
        credentials=<password>

replica host=ldap-slave2.acenet.com.au:389
        binddn="cn=Administrator,dc=acenet,dc=com,dc=au"
        bindmethod=simple
        credentials=<password>

replogfile /var/lib/ldap/replog
-------------------------------------------------------------------------------

Any help or ideas would be thankfully appreciated.

Regards,

Craig Marchant
Systems Administrator
Ace Internet Services Pty Ltd
Phone: +61 2 48618888
Fax: +61 2 48622985
E-mail: craigm@ace.com.au