Replies: 4 comments 1 reply
-
When you say "can connect from the the cli" is that from within the running container? or on your host cli? Can you resolve the host name "ucs.mydomain.org" from within the container. |
Beta Was this translation helpful? Give feedback.
-
"ldapsearch via Commadline" means outside of the container and inside the Univention host (an UCS Server). And I checked: ping ucs.mydomain.org from within the container is possible. |
Beta Was this translation helpful? Give feedback.
-
I have made an attempt: I have install OpenLDAP inside the kimai container:
After that I could connect the LDAP Server with the following command (inside the container):
|
Beta Was this translation helpful? Give feedback.
-
I have found the solution for my problem. Our the situation: Thus I build my local.yaml in the following way:
But this configuration do not works. In the Result I got the error (see also above):
In parallel I testet Kimai on a UCS-Test-Server; there LDAP uses the ports 386 and 636.
On UCS-Test-Server Kimai works fine, the Users could login via LDAP. Then I try the following configuration:
And suddenly kimai works on our UCS-Server. I assume that with config Nr.1 Kimai cut the digit 7 from the portnumber and then try to use port 389. Anyway, I'm happy with my solution. And thank for all your help. |
Beta Was this translation helpful? Give feedback.
-
I have installed a kimai container and want to connect them with LDAP (LDAP within an Univention Server),
but it doesn't work.
With ldapsearch via Commadline, I can connect the LDAP Server without any problems. Regardless of whether with or without SSL
Without ssl:
ldapsearch -x -H ldap://ucs.mydomain.org:7389 -b "dc=mydomain,dc=org" -D "uid=ldapuser,cn=users,dc=mydomain,dc=org" -w "myPassword"
With ssl:
ldapsearch -x -H ldaps://ucs.mydomain.org:7636 -b "dc=mydomain,dc=org" -D "uid=ldapuser,cn=users,dc=mydomain,dc=org" -w "myPassword"
At first I start my local.yaml using ssl:
In the following I get the answer in dev.log:
app.ERROR: Laminas\Ldap\Exception\LdapException: 0x51 (Can't contact LDAP server; (unknown error code)): ldaps://ucs.omicloud.org
Second I try it without ssl:
And dev.log spits out:
app.DEBUG: Laminas\Ldap\Exception\LdapException: 0x8 (Strong(er) authentication required; BindSimple: Transport encryption required
Question: What can I do, to solve this problem?
Additional comments:
To complement this issue I add my docker-compose.yml, the complete local.yaml and the dev.logs.
Docker compose file
the local.yaml
dev.log (local.yaml with ssl)
dev.log (local.yaml without ssl)
Thanks in advance for any help!
Beta Was this translation helpful? Give feedback.
All reactions