Martyn Houghton Posted February 1, 2016 Share Posted February 1, 2016 Is there any documentation of the LDAP Import tool 'Filter' configuration syntax or details from the component us are using to access the LDAP directory? I have had some joy in using the syntax from Microsoft Active Directory documentation https://msdn.microsoft.com/en-us/library/windows/desktop/aa746475(v=vs.85).aspx But are having a issue with some of the operation such as excluding certain OU containers when using the Scope=2 setting to recursively scan the sub tree. At the moment I can get the following to work to scan the sub tree and exclude all disabled accounts:- "Scope": 2, "DerefAliases": 1, "SizeLimit": 0, "TimeLimit": 0, "TypesOnly": false, "Filter": "(&(objectCategory=User)(!(userAccountControl:1.2.840.1135188.8.131.523:=2)))", But if I add the extra criteria of (!(ou=HR)) the import still accepts the filter as valid but does not filter out the users contained with the HR ou. Cheers Martyn Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now