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 #13805

Closed
wants to merge 1 commit into from
Closed

simple ldap auth #13805

wants to merge 1 commit into from

Conversation

cyberb
Copy link

@cyberb cyberb commented Oct 30, 2023

Simple ldap auth support:

--ldap-uri=ldap://localhost:389
--ldap-bind-dn="cn={username},ou=users,dc=example,dc=com"

Where {username} will be replaced with username from the auth web form.

Also support for outdir override as when using in a read-only binary more relative dir is not writable

--outdir-samples=/path/to/dir

This was created and tested for Syncloud self-hosted platform (https://github.com/syncloud/platform) - https://github.com/syncloud/stable-diffusion

@cyberb cyberb requested a review from AUTOMATIC1111 as a code owner October 30, 2023 18:04
@AUTOMATIC1111
Copy link
Owner

LDAP seems like a thing that would be enjoyed by a very small fraction of users. Maybe this would work better as an extension?

@cyberb
Copy link
Author

cyberb commented Nov 8, 2023

If that is best way I can at it

@AUTOMATIC1111
Copy link
Owner

closing the PR; if there's more, reopen it

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.

2 participants