-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
register and show when an LDAP user was detected as unavailable/deleted #13138
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
register and show when an LDAP user was detected as unavailable/deleted #13138
Conversation
|
/backport to stable15 |
|
/backport to stable14 |
rullzer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐘
|
We really need to create a all-in-one docker for ldap instead of the weird thing we have from the owncloud documentation :) |
as they are interact with the DB they are more integraiton than unit tests Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
af95dc4 to
85f14bc
Compare
|
rebased for CI |
MorrisJobke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
|
Signed-off-by: Arthur Schiwon <[email protected]>
|
backport to stable15 in #13372 |
|
backport to stable14 in #13373 |
ldap:show-remnantscommand was added.--short-dateflag to display it in "Y-m-d" format which is easier to consume for scripts that may react on it. For users that were detected earlier, the value "unknown" is shown instead.How to test?
occ ldap:check-user $uid(beware caching)occ ldap:show-remnantsshows this user as deleted, with a readable long time formatocc ldap:show-remnants --short-dateshows this user as deleted, with Y-m-d formatted date