SpacyNG / pwm

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

Forgotten Password is not redirecting to Setup Responses #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I have configured Forgotten Password & Setup Responses in my environment. 
2.User in eDir try to access his Forgotten password

3.entered user name (user name present but yet to setup response)
4.I am getting ""The username is not valid or does not have a configured 
response "

What is the expected output? What do you see instead?
If the User is valid,he has to redirected to Set Challenge Response 

What version of the product are you using? On what operating system?
1.5.2

Please provide any additional information below.
Please help me to come from this issue .

Original issue reported on code.google.com by nirmal....@gmail.com on 7 Dec 2010 at 4:25

GoogleCodeExporter commented 9 years ago
Please set log level to trace and share the trace log.

Original comment by jrivard on 7 Dec 2010 at 4:31

GoogleCodeExporter commented 9 years ago
one more issue I am facing when I set up the configuration for my Forgotten 
Password : my configurations are below:
Minimum Random Challenge Required During Setup = 6
Minimum number of random questions required  = 6
My log says : also I attached my Configurations File for your reference 

2010-12-07 21:42:22, INFO , pwm.ContextManager, environment info: 
java.vm.vendor=Sun Microsystems Inc., java.vm.version=1.5.0_03-b07, 
java.vm.name=Java HotSpot(TM) Client VM, 
java.home=C:\PWMSetup\PWM\jdk1.5.0_03\jre, memmax=832438272, threads=23, 
ldapChai API version: 0.5.1-devbuild, b642
2010-12-07 21:42:22, INFO , pwm.ContextManager, debug info: sessions=0, 
memfree=602484216, memallocd=624427008, memmax=832438272, threads=23
2010-12-07 21:42:22, INFO , wordlist.SharedHistoryManager, open with 0 words 
(29ms), maxAgeMs=28d:12h, oldestEntry=20h:46m
2010-12-07 21:42:22, INFO , pwm.ContextManager, PWM v1.5.2 b996 (996) open for 
bidness! (48ms)
2010-12-07 21:42:22, WARN , pwm.ContextManager, pwm configuration has been 
modified since last startup
2010-12-07 21:43:58, INFO , servlet.ForgottenPasswordServlet, {b~} could not 
find a response set for cn=user1,ou=users,o=services [0:0:0:0:0:0:0:1]
2010-12-07 21:45:07, INFO , pwm.AuthenticationFilter, {b~,user1} successful 
plaintext authentication for cn=user1,ou=users,o=services (4s) [0:0:0:0:0:0:0:1]
2010-12-07 21:45:07, INFO , pwm.Helper, {b~,user1} added objectclass 'pwmUser' 
to user cn=user1,ou=users,o=services [0:0:0:0:0:0:0:1]
2010-12-07 21:45:34, WARN , servlet.TopServlet, {b~,user1} unexpected exception 
during page generation: null [0:0:0:0:0:0:0:1]
java.lang.NullPointerException
        at password.pwm.servlet.SetupResponsesServlet.validateResponses(SetupResponsesServlet.java:418)
        at password.pwm.servlet.SetupResponsesServlet.handleValidateResponses(SetupResponsesServlet.java:144)
        at password.pwm.servlet.SetupResponsesServlet.validateResponses(SetupResponsesServlet.java:418)
        at password.pwm.servlet.SetupResponsesServlet.handleValidateResponses(SetupResponsesServlet.java:144)
        at password.pwm.servlet.SetupResponsesServlet.processRequest(SetupResponsesServlet.java:100)
        at password.pwm.servlet.TopServlet.handleRequest(TopServlet.java:75)
        at password.pwm.servlet.TopServlet.doPost(TopServlet.java:119)
        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:133)
        at password.pwm.AuthenticationFilter.doFilter(AuthenticationFilter.java:83)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at password.pwm.SessionFilter.doFilter(SessionFilter.java:224)
        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:127)
        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:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:595)

Original comment by nirmal....@gmail.com on 7 Dec 2010 at 10:02

Attachments:

GoogleCodeExporter commented 9 years ago
My best guess is the proxy user does not have rights to read the pwmResponseSet 
attribute.  

Can you please set the log level to "TRACE" and re-run the operation and share 
the log?

Original comment by jrivard on 8 Dec 2010 at 3:44

GoogleCodeExporter commented 9 years ago
Jrivard, thanks for your quick response. Attached log file for your reference. 
Few hours back the same code was working fine but now I am getting some 
exceptions. I am working in DEV env and i have created more users in eDirectory 
I am checking all the options in PWM.. please advise me is there any specific 
configurations needs to changed. Regards 

Original comment by nirmal....@gmail.com on 9 Dec 2010 at 11:09

Attachments:

GoogleCodeExporter commented 9 years ago
Jrivard, I am getting this error while I am filling my test users responses 
"Unable to communicate with server. Continue when ready" . can u kindly give 
some idea 
Regards, Nirmal

Original comment by nirmal....@gmail.com on 10 Dec 2010 at 2:30

GoogleCodeExporter commented 9 years ago
Hi, IF Iam configuring Minimum Random Challenge Required During Setup = 3
Minimum number of random questions required  = 2  its working fine.
but if,
Minimum Random Challenge Required During Setup = 6 or 5
Minimum number of random questions required  = 6 or 2 or 5 any thing is not 
working for me and getting "Unable to communicate with server. Continue when 
ready" this msg while entering values for challenge set response setup.

Original comment by nirmal....@gmail.com on 10 Dec 2010 at 6:55

GoogleCodeExporter commented 9 years ago
Please test with build 2005 available on the download page, and re-open if 
error persists.

Original comment by jrivard on 22 Dec 2010 at 1:01