-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to block an account (different that locking) #125
Comments
+1 I think we should also find a way to implement pwdStartTime / pwdEndTime fields in addition to this button. |
I will do a first proposal of UI and we will discuss in the PR. |
Implementing pwdStartDate / pwdEndDate will solve a part of #57 With AD support (#156) I implemented the enable/disable account feature, which is specific to AD. AD also have an account expiration date (accountExpires) which is close to what is pwdEndTime. So to be accurate, we could "expire" an account by updating pwdEndTime/accountExpires, and we can disable an account in AD (a specific bit in userAccountControl). We need to agree on what blocking means, is it an account expiration (different from password expiration), or an account which is disabled (but we don't have a standard way to do this in OpenLDAP). |
AFAIK:
OpenLDAP is defining a special value for pwdAccountLockedTime to implement the generic block account feature. If we need a completely independent blocking account feature (other than expired account or expired password), today we don't have it and we would have to implement it by ourselves. For example:
The 2 first points would add constraints on the LDAP directory, which we shouldn't impose for a software like service-desk. The last one would require some work. So IMO we should try without this independent blocking feature. |
Some organizations use a specific attribute in OpenLDAP, like accountDisable, which is used in ACL to block the authentication (and sometimes to hide this account from searches). As we don't have in OpenLDAP the same feature that in AD, I propose for now to not implement it for OpenLDAP. But we could add a feature for AD/OpenLDAP that will modify the account end time (accountExpires/pwdEndTime) to current date. |
@davidcoutadeur try to find an attribute in OpenLDAP that can be used for this |
I have proposed an evolution of the ppolicy draft here: https://bugs.openldap.org/show_bug.cgi?id=10261 |
Until the evolution is accepted, the feature could be implemented by:
and adding this attribute to the desired object classes
|
To discuss: add also the possibility the add a comment while enabling / disabling account |
We also need to add a new menu for displaying blocked accounts |
The two previous tasks are finished:
TODO:
Note: adding the comment modal everywhere would be done in #127 |
This feature seems ready now. merging |
We would like to manage two different status for an account:
The text was updated successfully, but these errors were encountered: