"/authazws/AuthRestService" fails to authenticate any users
We have Access Gateway (SPS) deployed in our environments with "authazws" enabled. Basically we use its "/authazws/AuthRestService/login" and "/authazws/AuthRestService/authz" RESTful services through our in-house-built Security API.
Calling "/authazws/AuthRestService/login" to the new SPS always had "LOGIN_FAILED" result even though the same request being sent to the existing SPS was authenticated OK.
The same user in Policy Server Test Tool was tested authentication OK.
[ERROR][sm-Ldap-00650] CSmDsLdapProvider::Search(): Wrong syntax of LDAP search filter: (uid=)
Wireshark shows following response from webservices:
User 'unknown' is not authenticated by Policy Server.
LogMessage:ERROR:[sm-Ldap-00650] CSmDsLdapProvider::Search(): Wrong syntax of LDAP search filter: (uid=)
server.log: SM_USERDN and SM_USER are empty:
Header SM_USERDN :
Header SM_USER :