2 messages in net.sourceforge.lists.courier-sqwebmail[sqwebmail] Change Password Problem -...
FromSent OnAttachments
kadafaxJan 30, 2006 8:16 am 
Sam VarshavchikJan 30, 2006 3:36 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[sqwebmail] Change Password Problem - ldap backendActions...
From:kadafax (kada@gmail.com)
Date:Jan 30, 2006 8:16:30 am
List:net.sourceforge.lists.courier-sqwebmail

Hi,

OS: RHEL4 (2.6.9-22.0.2.ELsmp #1 SMP Thu Jan 5 17:11:56 EST 2006 x86_64 x86_64 x86_64 GNU/Linux) (all package build against supplied .spec) Courier-authlib: courier-authlib-0.58-1.4ES Courier-imap: courier-imap-4.0.6-1.4ES SQwebmail: sqwebmail-5.0.7-1.4ES

Courier-imap is working great with courier-authlib against a ldap directory. SQwebmail is compiled with defaults options (those who are in the .spec file). What's happen: When I use the "Change Mail Password" form, my password is actually changed but not with my supplied input. Clearly, the passwd is actually modified as its shown by the logs below BUT I can't log-in with the new password (I must reset the password with the manager account in the directory since I don't know what sqwebmail had supplied - maybe blank?). Because the password is modified, I dont think it's a problem from the ownership and permissions of the sqwebpasswd wrapper. I do not know if there are still people using sqwebmail, but I would love to. Someone Help?

Here are the logs:

--- Courier-authlib & SQwebmail logs (Debug level = 2, so clear txt passwd are included)---

--> Login at the webmail: Jan 30 16:39:06 hostnameA authdaemond: received auth request, service=webmail, authtype=login Jan 30 16:39:06 hostnameA sqwebmaild: LOGIN: ip=[(null)], username=user.test Jan 30 16:39:06 hostnameA sqwebmaild: LOGIN: ip=[(null)], password=test-passwd Jan 30 16:39:06 hostnameA authdaemond: authldap: trying this module Jan 30 16:39:06 hostnameA authdaemond: using search filter: (&(accountStatus=active)(uid=user.test)) Jan 30 16:39:06 hostnameA authdaemond: one entry returned, DN: uid=user.test,ou=People,dc=example,dc=com Jan 30 16:39:06 hostnameA authdaemond: raw ldap entry returned: Jan 30 16:39:06 hostnameA authdaemond: | uid: user.test Jan 30 16:39:06 hostnameA authdaemond: | mailMessageStore: /var/vmail/user.test/ Jan 30 16:39:06 hostnameA authdaemond: | cn: User Test Jan 30 16:39:06 hostnameA authdaemond: authldaplib: sysusername=<null>, sysuserid=12347, sysgroupid=12347, homedir=/var/vmail/user.test/, address=user.test, fullname=User Test, maildir=/var/vmail/user.test/, quota=<null>, options=<null> Jan 30 16:39:06 hostnameA authdaemond: authldaplib: clearpasswd=<null>, passwd=<null> Jan 30 16:39:06 hostnameA authdaemond: rebinding with DN 'uid=user.test,ou=People,dc=example,dc=com' to validate password Jan 30 16:39:06 hostnameA authdaemond: authentication bind successful Jan 30 16:39:06 hostnameA authdaemond: Authenticated: sysusername=<null>, sysuserid=12347, sysgroupid=12347, homedir=/var/vmail/user.test/, address=user.test, fullname=User Test, maildir=/var/vmail/user.test/, quota=<null>, options=<null> Jan 30 16:39:06 hostnameA authdaemond: Authenticated: clearpasswd=test-passwd, passwd=<null> Jan 30 16:39:07 hostnameA sqwebmaild: LOGIN, user=user.test, ip=[10.8.0.6]

--> Try to change the passwd:

Jan 30 16:44:19 hostnameA authdaemond: using search filter: (&(accountStatus=active)(uid=user.test)) Jan 30 16:44:19 hostnameA authdaemond: one entry returned, DN: uid=user.test,ou=People,dc=example,dc=com Jan 30 16:44:19 hostnameA authdaemond: raw ldap entry returned: Jan 30 16:44:19 hostnameA authdaemond: | uid: user.test Jan 30 16:44:19 hostnameA authdaemond: | mailMessageStore: /var/vmail/user.test/ Jan 30 16:44:19 hostnameA authdaemond: | cn: User Test Jan 30 16:44:19 hostnameA authdaemond: authldaplib: sysusername=<null>, sysuserid=12347, sysgroupid=12347, homedir=/var/vmail/user.test/, address=user.test, fullname=User Test, maildir=/var/vmail/user.test/, quota=<null>, options=<null> Jan 30 16:44:19 hostnameA authdaemond: authldaplib: clearpasswd=<null>, passwd=<null> Jan 30 16:44:19 hostnameA authdaemond: rebinding with DN 'uid=user.test,ou=People,dc=example,dc=com' to validate password Jan 30 16:44:19 hostnameA authdaemond: authentication bind successful

--> slapd log: Jan 30 16:44:16 hostnameB slapd[2714]: conn=2337 op=9 SRCH base="ou=People,dc=example,dc=com" scope=2 deref=0 filter="(&(accountStatus=active)(uid=user.test))" Jan 30 16:44:16 hostnameB slapd[2714]: conn=2337 op=9 SRCH attr=mailMessageStore mailMessageStore cn userPassword uid Jan 30 16:44:16 hostnameB slapd[2714]: conn=2337 op=9 SEARCH RESULT tag=101 err=0 nentries=1 text= Jan 30 16:44:16 hostnameB slapd[2714]: conn=2338 op=8 BIND anonymous mech=implicit ssf=0 Jan 30 16:44:16 hostnameB slapd[2714]: conn=2338 op=8 BIND dn="uid=user.test,ou=People,dc=example,dc=com" method=128 Jan 30 16:44:16 hostnameB slapd[2714]: conn=2338 op=8 BIND dn="uid=user.test,ou=People,dc=example,dc=com" mech=SIMPLE ssf=0 Jan 30 16:44:16 hostnameB slapd[2714]: conn=2338 op=8 RESULT tag=97 err=0 text= Jan 30 16:44:16 hostnameB slapd[2714]: conn=2338 op=9 MOD dn="uid=user.test,ou=People,dc=example,dc=com" Jan 30 16:44:16 hostnameB slapd[2714]: conn=2338 op=9 MOD attr=userPassword Jan 30 16:44:16 hostnameB slapd[2714]: conn=2338 op=9 RESULT tag=103 err=0 text=