Hello i'm struggling try to make LDAP outpost work but get Invalid credentials (49) error.
I followed the tutorial for LDAP outpost.
Here are the relevant logs :
2023-07-08T16:22:21+0200 25455f70b100[754]: {"bindDN":"cn=cyrus,ou=users,dc=example,dc=org","event":"authenticated from session","level":"info","logger":"authentik.outpost.ldap.binder.session","timestamp":"2023-07-08T14:22:21Z"}
2023-07-08T16:22:21+0200 25455f70b100[754]: {"bindDN":"cn=cyrus,ou=users,dc=example,dc=org","client":"10.50.12.8","event":"Bind request","level":"info","requestId":"444d314a-5041-47c2-b4af-bda34e265cb7","timestamp":"2023-07-08T14:22:21Z","took-ms":0}
Here is my config :
- User :
- name : cyrus
- path: apps
- Group :
- name: apps
- members : cyrus
- Provider :
- name: cyrus-ldap
- bind flow : ldap-authentication-flow (ldap-authentication-flow)
- search group : apps
- base dn : dc=example,dc=org
- Application :
- name : cyrus
- provider : cyrus-ldap
- (testing application access in web ui works for user
cyrus)
- Outpost :
- name: ldap
- type : LDAP
- integration : docker
- applications : cyrus (cyrus-ldap)
- (outpost is healthy)
- Flow :
- name: ldap-authentication-flow
- designation : authentication
- authentication : no requirement
- stage bindings :
- name : ldap-identification-stage
order : 10 - name : ldap-authentication-login
order : 30
- name : ldap-identification-stage
I can successfully log into web ui but not to LDAP outpost.
Commands tested :
ldapsearch -H ldap://ip -D cn=cyrus,dc=example,dc=org \
-w xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
-b dc=example,dc=org '(objectClass=user)'
also with cn=cyrus,ou=users,dc=example,dc=org
and cn=cyrus,ou=apps,dc=example,dc=org
Is there a way i can dump the content of the LDAP or get more verbose logs ? (the outpost is already set in debuglog level)
Thanks