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

Support specifying LDAP servers with URIs #246

Open
danleyden opened this issue Jan 6, 2016 · 1 comment · May be fixed by #280
Open

Support specifying LDAP servers with URIs #246

danleyden opened this issue Jan 6, 2016 · 1 comment · May be fixed by #280

Comments

@danleyden
Copy link

Currently LDAP connections are set up by passing in, among other things, the host, port, auth credentials and if TLS should be used all as separate items.

This could be simplified to be passed in as a URI (or collection of URIs when multiple servers are needed).

Ruby's built in URI library supports parsing of LDAP and LDAPS URIs, and could be used to reduce the number of arguments being passed in to just one - a string that contains much of the information already.

Many other systems allow sysadmins etc. to configure LDAP endpoints using a series of URIs in config files. Providing support for URIs in this would allow applications using this library to simply pass those through instead of having to translate them.

@jch
Copy link
Member

jch commented Jan 8, 2016

@danleyden that's a great idea. Would you be interested in submitting a pull request for this? I'd be happy to review.

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

Successfully merging a pull request may close this issue.

2 participants