AnsweredAssumed Answered

Wrong syntax of LDAP search filter

Question asked by PankajSh0 on Jun 27, 2017
Latest reply on Jun 30, 2017 by PankajSh0

Hi,

 

I am receiving errors like 

[28745/58][Tue Jun 27 2017 10:52:51][SmDsLdapProvider.cpp:1711][ERROR][sm-Ldap-00650] CSmDsLdapProvider::Search(): Wrong syntax of LDAP search filter: (&(samaccountname=)(sAMAccountType=805306368)(!(useraccountcontrol=546)))
[28745/34][Tue Jun 27 2017 10:52:51][SmDsLdapProvider.cpp:1711][ERROR][sm-Ldap-00650] CSmDsLdapProvider::Search(): Wrong syntax of LDAP search filter: (&(SamAccountName=)(objectclass=user)(!(useraccountcontrol=514))(!(useraccountcontrol=546)))
[28745/34][Tue Jun 27 2017 10:52:51][SmDsLdapProvider.cpp:1711][ERROR][sm-Ldap-00650] CSmDsLdapProvider::Search(): Wrong syntax of LDAP search filter: (&(mail=)(sAMAccountType=805306368)(!(useraccountcontrol=546)))
[28745/34][Tue Jun 27 2017 10:52:52][SmDsLdapProvider.cpp:1711][ERROR][sm-Ldap-00650] CSmDsLdapProvider::Search(): Wrong syntax of LDAP search filter: (&(samaccountname=)(sAMAccountType=805306368)(!(useraccountcontrol=546)))
[28745/56][Tue Jun 27 2017 10:52:54][SmDsLdapProvider.cpp:1711][ERROR][sm-Ldap-00650] CSmDsLdapProvider::Search(): Wrong syntax of LDAP search filter: (&(SamAccountName=)(objectclass=user)(!(useraccountcontrol=514))(!(useraccountcontrol=546)))
[28745/56][Tue Jun 27 2017 10:52:55][SmDsLdapProvider.cpp:1711][ERROR][sm-Ldap-00650] CSmDsLdapProvider::Search(): Wrong syntax of LDAP search filter: (&(mail=)(sAMAccountType=805306368)(!(useraccountcontrol=546)))
[28745/56][Tue Jun 27 2017 10:52:56][SmDsLdapProvider.cpp:1711][ERROR][sm-Ldap-00650] CSmDsLdapProvider::Search(): Wrong syntax of LDAP search filter: (&(samaccountname=)(sAMAccountType=805306368)(!(useraccountcontrol=546)))

 

on my policy server.

 

I searched for similar error, and got the below link Wrong syntax of LDAP search filter 

It says about the extra space in search filter, but in my case i do not notice any extra space, hence I am not able to find what might be causing these alerts on the server.

 

Regards,

Pankaj Sharma

Outcomes