-
Notifications
You must be signed in to change notification settings - Fork 129
UserAccountControl flags on openLDAP #14
Comments
Disels, on the current version it's not possible to disable automatic user lock. Since I have yet to test it with OpenLDAP, can you tell me if it is working ok for you with OpenLDAP. |
With openLDAP plugin does not work correctly. |
Thank you for the feedback. I'll sure have a look at it later. In the meanwhile, you make it work for you if you comment the lines 92, 93, 94, and 96 of the file lib/redmine_ldap_sync/redmine_ext/auth_source_ldap_patch.rb.
|
You may be surprised, but not working disabled There are still places where checks are performed? |
Indeed surprised. That's the only place where the checks are performed. Disels, I don't understand the results you sent. |
Sorry .
accounts that still marked as lock |
Ok, just to make two things clear:
|
I understand that you tried to explain. |
=) ok. |
Hi, I think I know what the problem is (not 100% sure, if this is the same issue, I've have, but I want to reply before opening a new one): I've defined a group under "user must be member of" so I let not all users login. I think this should be easy to fix, by doing something like that: I would add this check by my own, but I'm not familiar with RoR, neither with redmine development. I hope the stuff is understandable |
Hi mfulz, thank you for your feedback. That makes senses, it should be unlocking those users. A side effect will be that you won't be able to lock the access to a user that is not disabled on ldap. What I'll do is that a user will only be unlocked whenever there is defined a "user must be member of" group. |
Hi thorin, you're right, I didn't think on this side effect. But in my opinion, most of the people normally uses AD/LDAP, etc. for single point of administration, so I think that's the smaller issue. Perhaps (don't know, how complicated this is in redmine/RoR) you could add a check for selection? A.e.: Something like "Aminister user in LDAP" (that means, that you cannot lock users in redmine, instead you need to remove them from the "user must be member of" group). With this everyone could decide on his own, what he would like to use. What do you think about it? Further I would really appreciate, if you post a note here, when you have done any of this implementations, I would like to test them. BTW.: Thanks for your work |
I've just commited the change. The main idea behind the "users must be members of" group was to provide a way to control on ldap which users should have access to redmine. If it shows up as needed I'll add the option to "Administer the users in LDAP". It's not difficult. What do you think? |
For me personally the way is good to go. Btw. I've tested the updated plugin and it is working perfectly now for me, thanks a lot ! |
Disels, I'm closing this issue. |
You can add the settings plug-in ability to disable lock the account on the basis of UserAccountControl?
These flags are only available for Microsoft AD and does not support opening means in OpenLDAP.
And tell me, how in the current release, I can turn off this feature?
Thank you.
The text was updated successfully, but these errors were encountered: