Describe the bug
A clear and concise description of what the bug is.
There are approximately 35 users out of 2500 that do not update when LDAP sync is run from either CLI or GUI. There is no attribute that appears to be different than others that are syncing properly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Attributes are updated according to what is in AD.
Screenshots
If applicable, add screenshots to help explain your problem.
Server (please complete the following information):
Desktop (please complete the following information):
Smartphone (please complete the following information):
Error Messages
storage/logs and your webserver's logs.Additional context
Add any other context about the problem here.
Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.
We typically sync 'brand-new' users in v5 at about 1000-users-per-minute, and 'already-synced' users go at around 1000-users-per-30-seconds.
At 2500, you're probably going to be able to do an initial sync in around 2.5 minutes, and a subsequent sync in 1min 15secs.
If you run php artisan snipeit:ldap-sync --json_summary - what output do you get; do your users get synchronized?
Are your missing users in a different OU than your 'main' set of users? Are they perhaps disabled/deactivated?
If your webserver isn't configured to allow connections to remain open for a long time, I could imagine the web GUI button timing out when you click it.
So I discovered that the users not synchronizing had spaces in their e-mail addresses (which was nice to know). As soon as I fixed this, I was able to sync just fine. The users originally imported just fine, however it must have allowed e-mail addresses to not be compliant in versions previous to 5. All's good in the neighborhood now! Thank you!
Awesome news! And thanks for following up with the answer :)