LDAP Sync in Snipe IT #17671
-
Thanksu |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Firewall? |
Beta Was this translation helpful? Give feedback.
-
The issue is with your LDAP filter. Try this:
|
Beta Was this translation helpful? Give feedback.
-
Hello BWM - you are correct, the above LDAP filter is PARTIALLY compliant to the RFC open-ldap standards. However, snipeit v4 and below do not properly format the LDAP filter.. you are required to EXCLUDE the surrounding parenthesis. For completeness, I got this working perfectly: For your actual issue in hand fadialkanani: Try launching the software LDP.EXE (it's available on a domain controller, or any client with Remote Server Administration Tools installed).. |
Beta Was this translation helpful? Give feedback.
-
I explained clearly. At the time of writing this ticket, the use of LDAP filters pre-populated braces around your filter expression. as a result we had to remove the outer braces… |
Beta Was this translation helpful? Give feedback.
Hello BWM - you are correct, the above LDAP filter is PARTIALLY compliant to the RFC open-ldap standards. However, snipeit v4 and below do not properly format the LDAP filter.. you are required to EXCLUDE the surrounding parenthesis.
For full compliance, taking shortcuts like this isnt supported neither:
(!userAccountControl:1.2.840.113556.1.4.803:=2)
should look like
(!(userAccountControl:1.2.840.113556.1.4.803:=2))
For completeness, I got this working perfectly:
&(objectCategory=person)(objectClass=user)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(!(sAMAccoun…