I've created a docker image on a AWS instance that is hosting Simple AD which has ldap installed on.
I tried different variations of making this PHP file to work, but unable to get past res_errno: 49, res_error: <80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1>, res_matched: <>
PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in /var/www/vendor/ltb-project/ltb-common/src/Ltb/PhpLDAP.php on line 36
LDAP - Bind error 49 (Invalid credentials)
The password is correct I'm able to log into the server with the password, seems like a configuration problem in my file.
Here's the current PHP file.