-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
[Bug] Delete and Restore not soft-deleting/restoring users #678
Comments
Hi @dereknutile, apologies for the late reply. The import logic between v2 and v3 are functionally the same. Does your |
Also, can you please post the whole command you are running? |
Hi @stevebauman, thank you for the reply. Yes, my
It finds and synchronizes the user, but no longer flips the |
Thanks for the reply @dereknutile. Do you also have a LdapRecord-Laravel/src/Import/Importer.php Lines 371 to 405 in bf579af
Add |
Hey @stevebauman , yes, I have a guid column in the users table named The account is found in AD. If I What the
If I'm understanding this properly, I think I should next walk through the |
Environment:
Recently I upgraded both Laravel (9 to 11) and LdapRecord (v2 to v3). Since then the
--delete
and--restore
functionality stopped. All the other synchronization works fine. I'm not sure how to capture verbosely what is happening with those functions, but the logs state the user is being synchronized. I set this user to disabled in AD and syncronized, here's the log output:[2024-12-19 20:59:55] local.INFO: LDAP (ldap://my.domain:389) - Operation: Binding - Username: myserviceaccount
[2024-12-19 20:59:55] local.INFO: LDAP (ldap://my.domain:389) - Operation: Bound - Username: myserviceaccount
[2024-12-19 20:59:55] local.INFO: LDAP (ldap://my.domain:389) - Operation: Paginate - Base DN: DC=xxx,DC=xxx,DC=xxx,DC=xxx - Filter: (&(samAccountName=adent)(objectclass=\75\73\65\72)(objectclass=\50\65\72\73\6f\6e)) - Selected: (objectguid,*) - Time Elapsed: 91.61
[2024-12-19 20:59:55] local.INFO: Starting import of [1] LDAP objects.
[2024-12-19 20:59:55] local.INFO: Object with name [Dent, Arthur] is being synchronized.
[2024-12-19 20:59:56] local.INFO: Object with name [Dent, Arthur] has been successfully synchronized.
[2024-12-19 20:59:56] local.INFO: Completed import. Imported [0] new LDAP objects. Synchronized [1] existing LDAP objects.
The local user database no longer soft-deletes the user.
The text was updated successfully, but these errors were encountered: