Repository navigation
Replies: 3 comments
|
There must be an bug anywhere and I wanne find out .... |
|
docker run -it --rm -e APP_KEY="base64:i29NyMiYKkvJXMx0OWF+AWdiOfZyIJDDjld4edqfhhs=" -e LDAP_HOST="ldap.server.internal" -e APP_TIMEZONE="Europe/Amsterdam" -e APP_DEBUG="true" -e LDAP_LOGIN_ATTR="DN" -e LDAP_BASE_DN="dc=server,dc=internal" -e APP_DEBUG=true -p 8080:8080 phpldapadmin/phpldapadmin I add the admin.ldif to the server ... no login with cn=admin,dc=server,dc=internal . Password ist crypted in {SSHA}. |
|
The The defaults also matter if you want to type a full DN. Login looks up I ran
So the minimum to log in with a DN is something like this: env:
- name: LDAP_HOST
value: "openldap"
- name: LDAP_USERNAME # account used to search the tree
value: "cn=admin,dc=ldap,dc=server"
- name: LDAP_PASSWORD
valueFrom: { secretKeyRef: { name: ldap, key: password } }
- name: LDAP_LOGIN_ATTR
value: "dn"
- name: LDAP_LOGIN_ATTR_DESC
value: "DN"
- name: LDAP_LOGIN_OBJECTCLASS # must include a class your login entry has
value: "posixAccount,simpleSecurityObject"If I used the admin DN as the search account only to keep the test small. A read-only bind account should work the same way, but I have not tested that, and I have not tried it on Kubernetes. |
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing issue for this?
Environment
PLA Code
No response
PLA Version
phpldapadmin/phpldapadmin:latest
Current Behavior
I read up the documentation. Tried to build my own image from this github ...
Put in the tried all parameters. What ever i did. Never login into my ldap.
Run it form kubernetes/docker.
What ENV at minimum ist need to login with: cn=admin,dc=ldap,dc=server
XJExplorer can login. Command line does ....
Expected Behavior
BIND dn is always empty ...
How ever ... at the moment i give up ... Might be something that I over doubt at the moment.
Because make normal my own pods ... for years in this technique...
Steps To Reproduce
Should be a setup problem. Only need the minimum of working env.
Relevant log output
Anything else?
No response
All reactions