Describe the bug
After upgrading to the current version, we are unable to synchronize AD users after performing an LDAP sync either through the application or through the command line. We have also verified that we could connect and authenticate to LDAP on multiple DCs.

To Reproduce
Steps to reproduce the behavior:
Expected behavior
When performing an LDAP Sync, synchronize new/old accounts into the User database.
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 (N/A)
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.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
I have updated my PHP to 7.2.2 and I am still receiving the error. I have verified that the php_ldap.dll is enabled and I have been able to authenticate without issue.
Please provide answers to more of the questions in the original issue template.
What's in your error logs? What happens when you try to synchronize? (Does nothing sync, do you get an error, etc?)
After upgrading to the current version, we are unable to synchronize AD users after performing an LDAP sync either through the application or through the command line. We have also verified that we could connect and authenticate to LDAP on multiple DCs.
Providing your LDAP settings would probably help here too.
I have enabled debug mode, and no errors are being written to the logs. As far as when I synchronize, I have provided a screenshot in my initial question as it reports "LDAP sync successful". I have tried clearing the cache and verifying that we are running the latest version of snipe-it.

What about when you do Test LDAP login?
I'd speculate that your LDAP filter being &(cn=) could be a problem. May need to put it to &(cn=*)
I was able to successfully login through LDAP and I have changed to &(cn=*) with still no luck.
I have the same problem. Here some details:
I didn't get any error message (with APP_DEBUG=true ).
In browser, after sync - it return "Success: LDAP Import successful. ", but I didn't see new users. I see some old users that are updated (or at least this is written in column "Notes").
This is not fresh install - this is an update from 4.1.3 to lastest version.
Yep, I have even tried a different account, migrating the database, and still no luck.
I found the issue, with previous versions, we could use sAMAccountName for the username when trying to sync LDAP. With the new version, I modified it to all lowercase samaccountname and it synced correctly.