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

Disabling AD Account does not disable user after LDAP Sync #344

Closed
Petelombardo opened this issue Jan 17, 2025 · 3 comments
Closed

Disabling AD Account does not disable user after LDAP Sync #344

Petelombardo opened this issue Jan 17, 2025 · 3 comments
Labels
v2 wg-portal version 2

Comments

@Petelombardo
Copy link

This is my sync filter:

sync_filter: (&(objectClass=organizationalPerson)(memberOf=CN=vpn_users,OU=Service Groups,OU=,DC=
,DC=local)(!userAccountControl:1.2.840.113556.1.4.803:=2)(!userAccountControl:1.2.840.113556.1.4.803:=16)(mail=*))

If I disable a user in Active Directory, the LDAP sync shows one less number of users sync'd, but the missing user is not disabled or deleted. I tried with both the latest container published in dockerhub, as well as by building the container from the latest git. Neither worked.

@h44z h44z added the v2 wg-portal version 2 label Jan 17, 2025
@h44z
Copy link
Owner

h44z commented Jan 17, 2025

Hi, can you please post some logs (trace level) and your ldap provider config (without sensitive content). Have you set the disable_missing flag to true?

@h44z
Copy link
Owner

h44z commented Jan 18, 2025

tested in v2.0.0-beta.3, cant see a problem

@h44z h44z closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2025
@Petelombardo
Copy link
Author

Petelombardo commented Jan 18, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2 wg-portal version 2
Projects
None yet
Development

No branches or pull requests

2 participants