https://github.com/lldap/lldap logo
Martin | Leveland Studios - Hi, has someone set...
# troubleshooting
n
Sure! What have you tried so far, what doesn't work, where are the Jenkins docs, and what are the LLDAP verbose logs?
(As it was on your github)
And I changed example to my domain ofc.
n
Double check your DN in the settings.
But also, LLDAP logs?
t
I'm new in this, where I can find it? I'm using Rocky Linux 9 (RHEL) running in Docker container.
n
You can start with
docker logs lldap
But that will probably not be enough since that's not the verbose logs. For that you have to set verbose = true in the config, and restart LLDAP (and retry to connect with Jenkins to produce the error)
I can guarantee you that it's not 🙂
t
Ah sorry. My bad, it was bad setup.
Now it should be okay 😄
n
Alright, double check the base DN in the LLDAP config and make sure it's the same as in your login DN. It should be "dc=whatever,dc=com"
(alternatively, you can look at the top of the LLDAP logs, you have the config printed)
That's the best source of truth, it's what LLDAP actually sees
t
I've setup DN in lldap_config.toml and restarted lldap. Log still shows me dc=example,dc=com.
n
Well, that's the problem. I don't have your config files so I can't tell you where it comes from, but check the config file (where you set verbose mode?), and the environment variables
(if you have LLDAP_BASE_DN variable)
n
The base DN in the config is example.com, so your login DN should have example.com
Or change it 🙂
t
example is giving me Invalid Credentials in Jenkins
n
That's progress!
t
XDD
n
No, seriously, before it wasn't even checking your password
t
Oh
It works
n
Yay!
Hmm oki, it seems I'd need to learn how to add custom config to docker instead of default one. 🤦‍♂️
Thanks for the help! 😄 Now I'm moving to another platforms.
n
How did you set verbose mode?
t
In default config 😄
n
Well it must have worked
Did you check the readme, the docker section?
It talks about the config file
docker-compose.yml
n
Hahaha
Yeah
t
Maybe one more question, lldap on subdomain shows this. (Using nginx reverse proxy) On normal ip:port works as intended. Do you have any clue why this happens or maybe how to set it up? https://cdn.discordapp.com/attachments/1170286881397805107/1170317029161566248/image.png?ex=655899ab&is=654624ab&hm=c420a1c8deee8d9bd3096f1f16c0a6253a2213aa3e51620ed643d8f315f13525&
All other services works good. It seems like lldap problem.
n
What's wrong with the image? You expect the login to succeed?
t
Yes
Credentials are good.
n
I have LLDAP set up on a subdomain, it should work
Verbose logs?
t
The only difference is: http://subdomain.domain.com/ -> Does not work http://serverip:17170/ -> Works
n
Logs?
Ah oki, found out why.
SSL
n
Do you want to contribute that as a configuration guide, maybe?
t
Yes, I'd be glad 😄
n
Great! Can you open a PR adding it to the example configs? Thanks 😉
t
Done! 😄