Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to authenticate against OpenLDAP? #131

Open
JeyDee opened this issue Jul 4, 2017 · 0 comments
Open

Possible to authenticate against OpenLDAP? #131

JeyDee opened this issue Jul 4, 2017 · 0 comments

Comments

@JeyDee
Copy link

JeyDee commented Jul 4, 2017

I'm trying to connect Paperwork, a note-taking application that utilizes adldap to authenticate against an OpenLDAP server. The problem is, that OpenLDAP uses the uid-attribute to search for user names, as you can see here:

conn=1018 op=1 SRCH base="dc=xxx,dc=de" scope=2 deref=0 filter="(&(objectClass=inetOrgPerson)(uid=testperson))"
conn=1018 op=1 SRCH attr=uid modifyTimestamp cn mail

And adldap seems to use samaccountname instead:

conn=1055 op=1 SRCH base="dc=xxx,dc=de" scope=2 deref=0 filter="(&(?objectCategory=person)(?samaccountname=testperson))"
conn=1055 op=1 SRCH attr=samaccountname mail memberof department displayname telephonenumber primarygroupid objectsid

Both snippets are from the /var/log/syslog. Is there a way to change the attributes used to search for persons by specifying the right configuration parameters?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant