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

authentication problems


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= (IP=
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)

at first i couldn't believe it, so i tried a simple search in order to
verify the binding with no problem at all:
[root@jrojas ldap]# ldapsearch -x 'uid=aacosta'
# extended LDIF
# LDAPv3
# base <> with scope sub
# filter: uid=aacosta
# requesting: ALL

# aacosta, People, ejemplo.com
dn: uid=aacosta,ou=People,dc=ejemplo,dc=com
uid: aacosta
cn: alejandro
sn: alejandro
mail: aacosta@padl.com
mailForwardingAddress: aacosta@mail.padl.com
mailHost: mail.padl.com
objectClass: mailRecipient
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
objectClass: kerberosSecurityObject
objectClass: shadowAccount
shadowLastChange: 12901
shadowMax: 99999
krbName: aacosta@PADL.COM
loginShell: /bin/bash
uidNumber: 500
gidNumber: 100
homeDirectory: /home/aacosta
gecos: alejandro

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

i can't seem to be able to change the password to the user, how can i
re-set it? or perhaps anyone can tell me.....what's going on????