Bind failed when using Azure AD DS LDAPs.
Hello,
I have Azure AD DS enabled. LDAPs is enabled with publicly trust wildcard certificate. security group is updated to allow the LDAPs port.
I can also successfully connect to the LDAPs server via ldp.exe in my laptop, but when I tried a simple bind with an existing user (not Guest) in Azure AD, it failed binding with below error,
res = ldap_simple_bind_s(ld, 'xxxxxxxxxx', <unavailable>); // v.3
Error <49>: ldap_simple_bind_s() failed: Invalid Credentials
Server error: 80090308: LdapErr: DSID-0C090446, comment: AcceptSecurityContext error, data 52e, v2580
Error 0x80090308 The token supplied to the function is invalid
May I ask how I can fix it? thank you