Skip to content

Binding as user with ampersand in password fails. #162

@vsltimkay

Description

@vsltimkay

As above. If the user has a password in their password then the bind fails. I'm guessing & amp; is passed rather than a plain & at some stage. With the below user is testuser and password is Password&FAILS.

Jul 04 14:37:57 tests phpldapadmin[8100]: [0.000]              ds(0207-017): DS::setLogin: Entered (cn=testuser,ou=people,dc=ldap,dc=test|Password&FAILS|user)
Jul 04 14:37:57 tests phpldapadmin[8100]: [0.000]              ds(0457-017): DS::getMethod: Entered (user)
Jul 04 14:37:57 tests phpldapadmin[8100]: [0.000]              ds(0133-017): DS::getAuthType: Entered (NOARGS)
Jul 04 14:37:57 tests phpldapadmin[8100]: [0.000]              ds(0072-017): .DS::getValue: Entered (login|auth_type)
Jul 04 14:37:57 tests phpldapadmin[8100]: [0.000]              ds(0072-017): .DS::getValue: Entered (login|auth_type)
Jul 04 14:37:57 tests phpldapadmin[8100]: [0.000]       functions(0761-001): blowfish_encrypt: Entered (cn=testuser,ou=people,dc=ldap,dc=test)
Jul 04 14:37:57 tests phpldapadmin[8100]: [0.000]       functions(0761-001): blowfish_encrypt: Entered (Password&FAILS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions