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

LDAP group matching example? #63

Open
jmmills opened this issue Jan 22, 2016 · 7 comments
Open

LDAP group matching example? #63

jmmills opened this issue Jan 22, 2016 · 7 comments

Comments

@jmmills
Copy link

jmmills commented Jan 22, 2016

Can someone give me a hint on how I would write the config to source authentication from LDAP, and then specify access control based on group?

Essentially I want members of the developer group to be able to pull images but not push them (so nobody accidentally clobbers a production image).

Also, I was able to get registry v2 negotiating TLS and authentication with a basic auth backend, and it works like a charm. So thanks! (I didn't it using puppet and systemd unit files, if anyone is interested in example snippets of how that's done),

@rojer
Copy link
Collaborator

rojer commented Feb 13, 2016

i assume you want to control access to certain images based on group membership.
this is not possible currently and will require code changes - a "LDAP authorizer" will have to be written. currently we only have authenticator.

@xinzhangcmu
Copy link

any plan to add support for group based authz? I have been trying the docker authz in our enterprise setting (and it works great, thanks!), and have the exact need

@rojer
Copy link
Collaborator

rojer commented Feb 13, 2016

no immediate plans. docker_auth is a side project for us at cesanta, and we don't use LDAP auth.
LDAP auth was contributed by @summerQLin - maybe you can ask (or pay) him to do it.
i will accept PR if you decide to do it and wish to contribute.

@ozbillwang
Copy link
Contributor

+1 Need this same feature as well.

@summerQLin

@Stephan1984
Copy link

+1 This feature would be great.
@summerQLin

@tianon
Copy link

tianon commented Feb 7, 2017

This seems kind of similar to #117, and thus could probably be helped by #139, right?

@zapp42
Copy link
Contributor

zapp42 commented Dec 12, 2023

I think this issue can be closed.

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

7 participants