Skip to content

Possible to authenticate against OpenLDAP? #131

@jey3dee

Description

@jey3dee

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions