davideuler / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

Forgot Password is not working Properly in PWM Release v1.7.0 #517

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable Forget Password Option from the configuration manager
2. Click on the Forgotten Password. Enter the credentials to match the user so 
that mail can be sent(I had created user shashank). 
3. Mail is sent to the mail id with the code. Paste the code in the box and 
click continue.
4. There is a form to enter new password, when i enter new password there comes 
an error which says 

Unexpected error. If this error occurs repeatedly please contact your helpdesk. 
{ 5015 ERROR_UNKNOWN (error setting password for user 
'cn=Shashank,ou=Users,dc=ldap,dc=local'' [LDAP: error code 50 - Insufficient 
Access Rights]) }

What is the expected output? What do you see instead?
Expected output should be that the password should have been changed.
But instead i got an error.

What version of PWM are you using?
PWM RELEASE - PWM Release v1.7.0.

What ldap directory and version are you using?
We are using OpenLDAP: slapd 2.3.43 (Jul 12 2012 04:02:16)  on Centos 5.7.

Please paste any error log messages below:

Thu Nov 28 13:36:56 IST 2013, TRACE, null, adding StatisticsWrapper to provider 
instance
Thu Nov 28 13:36:56 IST 2013, TRACE, null, bind successful as 
cn=Shashank,ou=Users,dc=ldap,dc=local (0ms)
Thu Nov 28 13:36:56 IST 2013, TRACE, null, adding WatchdogWrapper to provider 
instance
Thu Nov 28 13:36:56 IST 2013, TRACE, null, checking for user password 
expiration to adjust watchdog timeout
Thu Nov 28 13:36:54 IST 2013, ERROR, password.pwm.event.UserLdapHistory, ldap 
error writing user event log: [LDAP: error code 18 - modify/delete: 
pwmEventLog: no equality matching rule]
Thu Nov 28 13:36:54 IST 2013, INFO , password.pwm.event.AuditManager, audit 
event: 
{"eventCode":"RECOVER_PASSWORD","perpetratorID":"Shashank","perpetratorDN":"cn\u
003dShashank,ou\u003dUsers,dc\u003dldap,dc\u003dlocal","timestamp":"Nov 28, 
2013 1:36:54 
PM","targetID":"Shashank","targetDN":"cn\u003dShashank,ou\u003dUsers,dc\u003dlda
p,dc\u003dlocal","sourceAddress":"192.168.0.42","sourceHost":"192.168.0.42"}
Thu Nov 28 13:36:54 IST 2013, ERROR, password.pwm.event.UserLdapHistory, ldap 
error writing user event log: [LDAP: error code 18 - modify/delete: 
pwmEventLog: no equality matching rule]
Thu Nov 28 13:36:54 IST 2013, INFO , 
password.pwm.servlet.ForgottenPasswordServlet, 
{cn=Shashank,ou=Users,dc=ldap,dc=local} user successfully supplied password 
recovery responses, forward to change password page: 
cn=Shashank,ou=Users,dc=ldap,dc=local [192.168.0.42]
Thu Nov 28 13:36:54 IST 2013, INFO , password.pwm.event.AuditManager, audit 
event: 
{"eventCode":"AUTHENTICATE","perpetratorID":"Shashank","perpetratorDN":"cn\u003d
Shashank,ou\u003dUsers,dc\u003dldap,dc\u003dlocal","timestamp":"Nov 28, 2013 
1:36:54 
PM","message":"AUTHENTICATED","targetID":"Shashank","targetDN":"cn\u003dShashank
,ou\u003dUsers,dc\u003dldap,dc\u003dlocal","sourceAddress":"192.168.0.42","sourc
eHost":"192.168.0.42"}
Thu Nov 28 13:36:54 IST 2013, INFO , 
password.pwm.util.operations.UserAuthenticator, successful plaintext 
authentication for cn=Shashank,ou=Users,dc=ldap,dc=local (26ms) [192.168.0.42]
Thu Nov 28 13:36:54 IST 2013, TRACE, null, adding StatisticsWrapper to provider 
instance
Thu Nov 28 13:36:54 IST 2013, TRACE, null, bind successful as 
cn=Shashank,ou=Users,dc=ldap,dc=local (20ms)

New user is created, and everything else is working as it should be but there 
was just one error that is causing the problem, I hope the community could 
solve the error.

Thank you in advance.

Original issue reported on code.google.com by speed27f...@gmail.com on 28 Nov 2013 at 8:34

GoogleCodeExporter commented 9 years ago
This is a configuration error of OpenLDAP. Please ask in pwm-general or on an 
OpenLDAP mailing list how to solve this.

Thu Nov 28 13:36:54 IST 2013, ERROR, password.pwm.event.UserLdapHistory, ldap 
error writing user event log: [LDAP: error code 18 - modify/delete: 
pwmEventLog: no equality matching rule]

Original comment by menno.pi...@gmail.com on 28 Nov 2013 at 10:27

GoogleCodeExporter commented 9 years ago
Thanks for the quick reply.
Will post the issue in pwm-general.

Original comment by speed27f...@gmail.com on 28 Nov 2013 at 10:32