mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #364] How to setup a connection? #137
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SaschMie on GitHub (Nov 3, 2022).
Original GitHub issue: https://github.com/lldap/lldap/issues/364
hello all,
i have lldap installed on my unraid nas and i am currently trying to understand how an application can access it.
The dn is set to dc=example,dc=org.
Now I am trying to connect emby to it, however I am not clear what settings it needs now.
The log of lldap shows me that the connection works.
But i cant login with a tester user, emby claims all time that the credentials are wrong.
Maybe someone can help here?
@martadinata666 commented on GitHub (Nov 3, 2022):
https://github.com/nitnelave/lldap/blob/main/example_configs/emby.md
@nitnelave commented on GitHub (Nov 3, 2022):
Have you had a look at the provided example_configs?
A little LDAP vocabulary: DN is distinguished name, the full identifier for
a user or group. The bind DN is the admin user name, and the credentials is
the password.
The user search base is where you have users stored, so "ou=people,
DC=example, DC=com".
The user filter is how to find a user trying to log in, so you can have
(uid={0})for the basic login, or you can make it so they can log in withemail as well, or restrict them to a specific group.
What application is that config for? Once you get it working, I'd
appreciate if you could contribute your configuration for the next person.
On Thu, 3 Nov 2022, 10:10 Sascha, @.***> wrote:
@SaschMie commented on GitHub (Nov 3, 2022):
It is for emby :)
i tried it not this way (like the example):
but im not sure about that bind credentials field, what have to be there. Is that this JWT pw from docker or a pw from an admin user?
Because now i got this:
I created a test user named "peter" and he is in the group "emby"
@martadinata666 commented on GitHub (Nov 3, 2022):
the sample config said
changeme (replace with your password), so replace with your admin password.@SaschMie commented on GitHub (Nov 3, 2022):
Yes that was the problem :) now its working! Maybe it should be pointed out in the example that this admin / credentials are an admin of that ldap.
Thank you all :D