Skip to content

LDAP - Bind error 49 (Invalid credentials) - Cannot access LDAP Directory #1093

@yfrancois94

Description

@yfrancois94

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions