Skip to content
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

"Error: User does not exist." when trying to delete an LDAP synced user #14935

Closed
2 tasks done
mike406 opened this issue Jun 21, 2024 · 6 comments
Closed
2 tasks done
Labels
ldap ❓ not sure if bug This issue has not been confirmed as a bug yet

Comments

@mike406
Copy link

mike406 commented Jun 21, 2024

Debug mode

Describe the bug

I am trying to delete an LDAP synced user by clicking the orange "Delete" button on the right side of the user's page. Doing so leads to an error message "Error: User does not exist". I've also tried using the Checkin All / Delete User button as well and it does not delete the user. I'm not seeing anything odd immediately sticking out to me in the debug mode. Any help would be appreciated.

Edit: Also not sure if it is relevant, but this was a user that was created locally first, and the LDAP sync had a matching username so it merged with this local user.

Reproduction steps

Sync LDAP
Try to delete a user

Expected behavior

The user should be deleted from SnipeIT but it I encounter an error instead.

Screenshots

No response

Snipe-IT Version

7.0.4 build 14011

Operating System

Ubuntu 22.04.4 LTS

Web Server

Apache

PHP Version

8.1

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

It is an upgrade install coming from 6.4.2

Copy link

welcome bot commented Jun 21, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@snipe snipe added ❓ not sure if bug This issue has not been confirmed as a bug yet ldap labels Jun 22, 2024
@snipe
Copy link
Owner

snipe commented Jun 22, 2024

Do they show as LDAP synced in their profile/listing?

@snipe
Copy link
Owner

snipe commented Jun 22, 2024

I can reproduce this locally - I'll have a fix for you shortly.

@snipe snipe closed this as completed in 55e1326 Jun 22, 2024
@snipe
Copy link
Owner

snipe commented Jun 22, 2024

Can you pull latest from master - I just pushed up a fix

@snipe snipe reopened this Jun 22, 2024
@snipe snipe closed this as completed in 25fcf52 Jun 22, 2024
@mike406
Copy link
Author

mike406 commented Jun 23, 2024

Confirmed working, thanks

@snipe
Copy link
Owner

snipe commented Jun 23, 2024

Excellent - thanks for the heads up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ldap ❓ not sure if bug This issue has not been confirmed as a bug yet
Projects
None yet
Development

No branches or pull requests

2 participants