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

Re: authentication problems



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

javier rojas wrote:
| hello,
|
| i'm working on a computer with openldap and mod_auth_ldap for apache
| 1.3.x, and i keep getting this error when trying to authenticate:
|
| conn=0 fd=12 ACCEPT from IP=127.0.0.1:34286 (IP=0.0.0.0:389)
| conn=0 op=0 BIND dn="cn=Manager,dc=ejemplo,dc=com" method=128
| connection_input: conn=0 deferring operation: binding
| conn=0 op=0 RESULT tag=97 err=49 text=
| conn=0 op=1 BIND dn="dc=ejemplo,dc=com" method=128
| connection_input: conn=0 deferring operation: binding
| conn=0 op=1 RESULT tag=97 err=0 text=
| conn=0 op=2 SRCH base="dc=ejemplo,dc=com" scope=2 deref=0
filter="(uid=aacosta)"
| conn=0 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
| conn=0 op=3 BIND dn="uid=aacosta,ou=People,dc=ejemplo,dc=com" method=128
| connection_input: conn=0 deferring operation: binding
| conn=0 op=3 RESULT tag=97 err=49 text=
| conn=0 fd=12 closed
|
| but the annoying part of it is that when using another user i get no
| trouble at all, so i tried tochange the password for the user aacosta,
| and i got this
|
| [root@jrojas ldap]# ldappasswd -D
| "uid=aacosta,ou=People,dc=ejemplo,dc=com" -S -h localhost -W -x
| New password:
| Re-enter new password:
| Enter LDAP Password:
| ldap_bind: Invalid credentials (49)

As answered on the ldap-interop list, use the rootdn to change this
users password:

# ldappasswd -x -S -D cn=Manager,dc=ejemplo,dc=com -W
uid=aacosta,ou=People,dc=ejemplo,dc=com

(and use the rootpw when prompted with "Enter LDAP Password:".)

Regards,
Buchan

- --
Buchan Milne                      Senior Support Technician
Obsidian Systems                  http://www.obsidian.co.za
B.Eng          RHCE (803004789010797),LPIC-1 (LPI000074592)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC32kErJK6UGDSBKcRAmYFAJ9RHx4XR6WvCXirD0YSs7Ku6OC3SwCgvOEE
od9xDZ+SNikCxyRJShjYXJM=
=i3Eu
-----END PGP SIGNATURE-----