Graz
unread,Sep 12, 2012, 9:56:11 AM9/12/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pwm-g...@googlegroups.com
We have configured PWM to work with an AD-LDS directory as described in the Admin Guide.
We have found that we can only log in with our users if we set ldap.alwaysUseProxy = true
So in the config.xml we need to set:
<setting key="ldap.alwaysUseProxy" syntax="BOOLEAN">
<label>Always use proxy</label>
<value><![CDATA[true]]></value>
</setting>
If we set this to false, when we try to log in we get LDAP error code 32 indicating that the user cannot be found:
(Note that the comment about ERROR_WRONGPASSWORD in the logs is misleading - it occurs for a range of problems, not just wrong password, eg this also occurs for invalid user)
Wed Sep 12 11:50:24 BST 2012, INFO , password.pwm.AuthenticationFilter, login attempt for CN=TestUser1,OU=Test Objects,OU=Root,DC=Jet failed: 5001 ERROR_WRONGPASSWORD (ldap error during password check: [LDAP: error code 32 - 0000208D: NameErr: DSID-031522C9, problem 2001 (NO_OBJECT), data 0, best match of:
'DC=Jet'
We are definitely using the correct password, and are able to authenticate as TestUser1 via LDP.
In the section of the config screen where ldap.alwaysUseProxy is set, there are a number of warnings about what can happen if it is set to true:
Authentication will be performed using ldap compare operation instead of bind
All read/write operations will require permission of the proxy user
Security is managed exclusively by PWM, any defects or "security holes" in pwm would result in an exploitable security breach
Password change operations are performed using the proxy user connection
User grace logins will not be decremented
The default setting is false. You should carefully consider the security impacts before setting this to true.
To avoid any of those security problems, we would want to set this to false, but then we are not able to log-in.
Can you tell us how we can configure PWM to allow login to work against AD LDS without requiring ldap.alwaysUseProxy = true.
Thanks