Closed BurninLeo closed 3 years ago
@BurninLeo hat es bei dir nun funktioniert? Aus der Ferne ist es schwer zu sagen wie dein ldap aufgebaut ist.
Leider nein ... mit ldapsearch
bekomme ich gültige Einträge vom AD (s. oben), aber ich scheitere offenbar daran, dass der Urlaubsplaner die richtige Anfrage schickt, damit eine passende Antwort kommt :(
Ich habe noch einige Stunden an der LDAP-Anbindung gearbeitet, probiert, unterschiedliche Fehler provoziert ... leider sind die Debugging-Infos so spärlich (z.B. kann man nicht die Anfrage zeigen lassen, wie sie an den LDAP-Server ging), dass es unglaublich schwierig ist, Ansatzpunkte für die Fehlerbehebung zu finden.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
What I have seen from Urlaubplaner looks very good so far. Unfortunately, it is not a lot, because after hours of playing around with the configuration, I still fail to login via Active Directory or LDAP.
As the information on GitHub about the configuration is sparse, I hope to find the right hint here. My configuration in
application.properties
looks like this (anonymized):This is running on a Debian server, and to test the groups and credentials, I use this command:
ldapsearch -h ad.institution.de -p 3268 -D <USERNAME> -w <PASSWORT> -b "ou=Users,ou=XY,ou=ZAB,dc=ad,dc=institution,dc=de" "(sAMAccountName=<USER2>)"
And this results in a valid find.
When I nuw run Urlaubsplaner and try a login with
<USER2>
and it's (valid) credentials, the debug messages look like this:This is where I do not find another setting or option to try. If you have an idea what is going wrong, I would very much apprechiate a hint. Und ich freue mich natürlich auch über eine Antwort auf Deutsch ... die englischer GitHub Oberfläche verleitete mich ins Englische :)