Skip to content

[BUG] LDAP_SERVER_CERTIFICATE and LDAP_CA_CERTIFICATE path inconsistency between config validation and ldap3 usage #1061

@okocihax

Description

@okocihax

so when trying to login, ldap3 looks for the file relative to the app's working directory inside the container and cant find it under certificates/ldap where you put it and throws an error.

There's also a local login fallback mechanism, but the local login part can't execute because there's an error with ldap. It would be nice if we could login with the local user even when there's something wrong with the ldap mechanism. (maybe this is another issue?)

i temporarily resolved by double mounting certs to "/iriswebapp" and under "certificates/ldap" aswell:

volumes:
   - ./certificates/ldap/iris_ldaps.pem:/iriswebapp/certificates/ldap/iris_ldaps.pem:ro
   - ./certificates/ldap/iris_ldaps.pem:/iriswebapp/iris_ldaps.pem:ro
   - ./certificates/ldap/dc4.pem:/iriswebapp/certificates/ldap/dc4.pem:ro
   - ./certificates/ldap/dc4.pem:/iriswebapp/dc4.pem:ro

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions