[go: nahoru, domu]

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

"startTLS failed - unavailable" thrown when specifying bind_dn_template #89

Open
at-cchaloux opened this issue Jun 22, 2018 · 1 comment

Comments

@at-cchaloux
Copy link
at-cchaloux commented Jun 22, 2018

When I leave it blank [] I get invalid password for user thrown.

When I specify the bind_dn_template, "startTLS failed - unavailable" is thrown.

This is an attempt to authenticate against AWS AD server (not Simple).

Here is my config:

c.JupyterHub.authenticator_class = 'ldapauthenticator.LDAPAuthenticator'
c.LDAPAuthenticator.bind_dn_template = ['CN={username},OU=Users,OU=XXXX,DC=XXXX,DC=XXXX,DC=com']
c.LDAPAuthenticator.server_address = 'XXX.XXX.XXX.XXX'
c.LDAPAuthenticator.lookup_dn = True
c.LDAPAuthenticator.lookup_dn_search_user = 'CN=svcanalytics,OU=svcids,OU=XXXX,DC=XXXX,DC=XXXX,DC=com'
c.LDAPAuthenticator.lookup_dn_search_password = 'XXXX'
c.LDAPAuthenticator.lookup_dn_search_filter = '({login_attr}={login})'
c.LDAPAuthenticator.user_search_base = 'OU=Users,OU=XXXX,DC=XXXX,DC=XXXX,DC=com'
c.LDAPAuthenticator.user_attribute = 'sAMAccountName'
c.LDAPAuthenticator.lookup_dn_user_dn_attribute = 'CN'
c.LDAPAuthenticator.escape_userdn = False
c.LDAPAuthenticator.ldap_tls = 0
c.LDAPAuthenticator.valid_username_regex = '^[a-zA-Z][.a-z0-9_-]*$'

From what I can tell I am reaching the AD server. There is no SSL here yet and I assume that is why it is defaulting to TLS.

Any ideas?
Thank you!

@mannevijayakrishna
Copy link

can someone please help with AD integration issue with Jupiter kind of issue #115 #115 (comment)

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

2 participants