I am trying to bind a user in php through ldap_bind() but getting Invalid Crednetials error.
"LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A8, comment: AcceptSecurityContext error, data 52e, v1db1"
username and password is good and able to login to other applications (Windows system or sharePoint) with it.
it is failing when I pass the username parameter as 'account@compnay.com', but it works with 'domain\account' or with complete DN like CN="", OU="" etc. This behaviour is only for one user so it may not be a good idea to change the code ot make it work. Any suggestions how to trace and find where the issue is.
I have compared the user's exchange properties with other working user but we could not find any difference. We tried to rename the user's principlename property and it worked but when we revert then issue was same.