zzOzz / pwm

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

Unable to Change some users password using helpdesk module #579

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All information is stored in localdb.

What steps will reproduce the problem?
1. Look up particular user un helpdesk module.
2.
3.

What is the expected output? What do you see instead?
Password reset dialog presented

What version of PWM are you using?
1.7.0

What ldap directory and version are you using?
Active Directory

Please paste any error log messages below:
2014-06-13 11:30:35, WARN , servlet.TopServlet, {u1p,vdiscipio} unexpected pwm 
error during page generation: 5015 ERROR_UNKNOWN (unexpected chai error reading 
responses from LocalDB: unexpected error performing helpdesk answer decrypt 
operation: Given final block not properly padded) [140.103.236.134]
password.pwm.error.PwmUnrecoverableException: 5015 ERROR_UNKNOWN (unexpected 
chai error reading responses from LocalDB: unexpected error performing helpdesk 
answer decrypt operation: Given final block not properly padded)
        at password.pwm.util.operations.cr.LocalDbCrOperator.readResponseSet(LocalDbCrOperator.java:60)
        at password.pwm.util.operations.cr.LocalDbCrOperator.readResponseInfo(LocalDbCrOperator.java:69)
        at password.pwm.util.operations.CrService.readUserResponseInfo(CrService.java:284)
        at password.pwm.util.operations.UserStatusHelper.populateLocaleSpecificUserInfoBean(UserStatusHelper.java:296)
        at password.pwm.util.operations.UserStatusHelper.populateUserInfoBean(UserStatusHelper.java:205)
        at password.pwm.servlet.HelpdeskServlet.populateHelpDeskBean(HelpdeskServlet.java:312)
        at password.pwm.servlet.HelpdeskServlet.processDetailRequest(HelpdeskServlet.java:242)
        at password.pwm.servlet.HelpdeskServlet.processSearchRequest(HelpdeskServlet.java:289)
        at password.pwm.servlet.HelpdeskServlet.processRequest(HelpdeskServlet.java:126)
        at password.pwm.servlet.TopServlet.handleRequest(TopServlet.java:83)
        at password.pwm.servlet.TopServlet.doPost(TopServlet.java:158)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at password.pwm.AuthenticationFilter.processAuthenticatedSession(AuthenticationFilter.java:139)
        at password.pwm.AuthenticationFilter.doFilter(AuthenticationFilter.java:78)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at password.pwm.SessionFilter.processFilter(SessionFilter.java:224)
        at password.pwm.SessionFilter.doFilter(SessionFilter.java:90)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at password.pwm.GZIPFilter.doFilter(GZIPFilter.java:45)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at password.pwm.ApplicationModeFilter.doFilter(ApplicationModeFilter.java:63)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:761)

Original issue reported on code.google.com by vdisci...@gmail.com on 13 Jun 2014 at 3:48

GoogleCodeExporter commented 9 years ago
upgraded to 1.7.1 with no change in behavior.  

Original comment by vdisci...@gmail.com on 17 Jun 2014 at 2:54

GoogleCodeExporter commented 9 years ago
You may want to check whether your localdb files are corrupt. If not, please 
post the question on the forums, which have a larger audience. Moreover, the 
use of LocalDB is not recommended in production.

Original comment by menno.pi...@gmail.com on 17 Jun 2014 at 7:38

GoogleCodeExporter commented 9 years ago
Thanks.  Are there instructions somewhere on switching from LocalDB to
database?  can this be done without losing all the users configured
responses.  Point me to the correct location for this inquiry.

Original comment by vdisci...@gmail.com on 17 Jun 2014 at 7:57

GoogleCodeExporter commented 9 years ago
You can temporarily use both at the same time (store in both locations), have 
everyone re-enter their questions and answers and drop the LocalDB support.

If your LocalDB database is corrupt, I'm not sure if repair is possible. If 
not, your data is lost anyway.

Original comment by menno.pi...@gmail.com on 17 Jun 2014 at 8:27