Skip to content

Extends the ldapauthenticator to allow creation of system users with LDAP authentication

License

Notifications You must be signed in to change notification settings

benhosmer/jupyterhub-ldapcreateusers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ldapcreateusers

This module extends the Jupyterhub ldapauthenticator and allows authenticated users through LDAP to have accounts created for them on the system that Jupyterhub is running on.

It uses the LocalAuthenticator found in Jupyterhub, but authenticates users through LDAP.

The getting started guide has more details.

Configuration Settings

The settings are similar to those used in the ldapauthenticator:

# jupyterhub config file

c.JupyterHub.authenticator_class = 'ldapcreateusers.LocalLDAPCreateUsers'
c.LocalLDAPCreateUsers.server_address = 'some.ldap.server'
c.LocalLDAPCreateUsers.server_port = 389
c.LocalLDAPCreateUsers.use_ssl = False
c.LocalLDAPCreateUsers.bind_dn_template = 'uid={username},dc=yourdomain,dc=com'
c.LocalLDAPCreateUsers.create_system_users = True

Requirements

This module does nothing by itself. It simply extends the ldapauthenticator class and allows local user accounts on the system to be created.

This module has been tested with Python 3.4. It depends on jupyterhub and ldapauthenticator

Installation

You can install using pip $ pip install jupyterhub-ldapcreateusers

About

Extends the ldapauthenticator to allow creation of system users with LDAP authentication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages