https://github.com/jupyterhub/ldapauthenticator/pull/87
On Tuesday, 18 September 2018 05:45:08 UTC+10, Pasle Choix wrote: > > Hello all, > > JupyterHub does not trust my LDAP certificate, I have a LDAP cert file > from system admin and was advised to use it to communicate to LDAP server, > the cert is not trusted and JupyterHub throws out error: > > Can't contact LDAP server > > Similar error is also reported in > https://bneijt.nl/blog/post/connecting-to-ldaps-with-self-signed-cert-using-python/ > > but the solution doesn't work out here. > > Configuration as below: > tried three different server_address options, same error. > > c.JupyterHub.authenticator_class = 'ldapauthenticator.LDAPAuthenticator' > #c.LDAPAuthenticator.server_address = 'xxx.xxx.xxx.xxx' > #c.LDAPAuthenticator.server_address = 'nydc-dc01.company.pri' > c.LDAPAuthenticator.server_address = 'ldaps://nydc-dc01.company.pri' > c.LDAPAuthenticator.use_ssl = True > c.LDAPAuthenticator.server_port = 636 > > c.LDAPAuthenticator.bind_dn_template = [] > c.LDAPAuthenticator.user_search_base = 'OU=CompanyOU > Users,DC=CompanyDC,DC=pri' > c.LDAPAuthenticator.user_attribute = 'sAMAccountName' > > c.LDAPAuthenticator.lookup_dn = True > c.LDAPAuthenticator.lookup_dn_search_user = 'CN=ldapbind2,OU=Company Users > (System),DC=CompanyDC,DC=pri' > c.LDAPAuthenticator.lookup_dn_search_password = 'xxxxxxxxxxxxxxxxx' > > > c.LDAPAuthenticator.allowed_groups = ['CN=wfgo-0081,OU=company > Groups,DC=company,DC=pri'] > > > It would be greatly appreciated if anyone can share any light here. > > > *------------------------------------------------* > *Sincerely yours,* > > > *Raymond* > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/4b56b497-823e-419b-b1f0-fdcf885af26d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
