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

Simple ldap auth #3674

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Simple ldap auth #3674

wants to merge 1 commit into from

Conversation

cyberb
Copy link

@cyberb cyberb commented Aug 26, 2023

This is a simple ldap authentication with admin detection.
Here is the example config:

export PHOTOPRISM_LDAP_ENABLED="true"
export PHOTOPRISM_LDAP_URI="ldap://localhost:389"
export PHOTOPRISM_LDAP_BIND_DN="cn={username},ou=users,dc=syncloud,dc=org"
export PHOTOPRISM_LDAP_ADMIN_GROUP_DN="cn=syncloud,ou=groups,dc=syncloud,dc=org"
export PHOTOPRISM_LDAP_ADMIN_GROUP_FILTER="(memberUid={username})"
export PHOTOPRISM_LDAP_ADMIN_GROUP_ATTRIBUTE="memberUid"

@CLAassistant
Copy link

CLAassistant commented Aug 26, 2023

CLA assistant check
All committers have signed the CLA.

@johnmmcgee
Copy link

This is awesome!

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

Successfully merging this pull request may close these issues.

None yet

3 participants