-
Notifications
You must be signed in to change notification settings - Fork 193
[2.0] Limitation Filter not working #88
Comments
Is your configuration being cached?
Thats not what this option controls, that's actually the adldap auth driver, it will always create a new user record for LDAP users logging in who do not have an account. |
I cleared my cache and it is still doing this. If I type the incorrect password it kicks me back to the login so I know that is working. Typing the correct credentials takes me past the login screen but with that limitation filter it should be kicking me out right? The CN and DC doesn't even match my base DN. |
Yup you're right, the https://github.com/Adldap2/Adldap2-Laravel/blob/master/src/AdldapAuthUserProvider.php#L245 This is the overridden trait method that applies the raw filter: https://github.com/Adldap2/Adldap2-Laravel/blob/master/src/Traits/ImportsUsers.php#L207 Fixing now. |
Fixed: 80b6f9c Please update to |
I can not get the limitation filter working I even tried putting the example given in my config file (knowing it should fail) and it still logs the user in. Also even though I have bind model to user set as false it still inserts a user into my users table when authenticating.
This is how I have the limitation filter w/ the example (it should be failing since the group is all wrong):
'limitation_filter' => '(memberof:1.2.840.113556.1.4.1941:=CN=MyGroup,DC=example,DC=com)',
AuthController:
The text was updated successfully, but these errors were encountered: