fbordina / pwm

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

Cannot Authenticate as as user that resides in an OU with a slash #488

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create an OU like "Miscellaneous/TestUsers"
2. Move a user into that OU
3. Attempt to log into PWM as that user

What is the expected output? What do you see instead?
Expected output is that the user is logged in.  Instead receive the following 
error message:
The username or password is not valid. Please try again. { 5001 
ERROR_WRONGPASSWORD (unable to create connection: unable to bind to 
ldaps://ddiad1.ddi.net:636 as "CN=CWS 
Test,OU=Test/Users,OU=CWS",OU=Clients,DC=DDI,DC=NET reason: [LDAP: error code 
49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, 
data 52e, v1db1]) }

In the log file it appears that the quotations enclosing the ldap path are in 
incorrect locations, not sure if that is relevant
What version of PWM are you using? 1.7.0

What ldap directory and version are you using?
Active Directory 2008 R2 with 2k3 functional level

Please paste any error log messages below:
Wed Sep 25 11:48:04 EDT 2013, INFO , 
password.pwm.util.operations.UserAuthenticator, login attempt for "CN=CWS 
Test,OU=Test/Users,OU=CWS",OU=Clients,DC=DDI,DC=NET failed: 5001 
ERROR_WRONGPASSWORD (unable to create connection: unable to bind to 
ldaps://ddiad1.ddi.net:636 as "CN=CWS 
Test,OU=Test/Users,OU=CWS",OU=Clients,DC=DDI,DC=NET reason: [LDAP: error code 
49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, 
data 52e, v1db1]) [10.180.8.51/ddithen2.ddi.net]
Wed Sep 25 11:48:04 EDT 2013, DEBUG, null, unable to create connection: 
com.novell.ldapchai.exception.ChaiUnavailableException:unable to bind to 
ldaps://ddiad1.ddi.net:636 as "CN=CWS 
Test,OU=Test/Users,OU=CWS",OU=Clients,DC=DDI,DC=NET reason: [LDAP: error code 
49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, 
data 52e, v1db1]

Original issue reported on code.google.com by cmbake...@gmail.com on 25 Sep 2013 at 3:52

GoogleCodeExporter commented 9 years ago

Original comment by jrivard on 11 Nov 2013 at 9:59

GoogleCodeExporter commented 9 years ago
Fixed in revision 640

Original comment by jrivard on 11 Nov 2013 at 10:00