As an administrator, I would like LDAP authenticated users to automatically have accounts created on my system so that I can automate this process.
See original GitHub issueUsing the LDAP authenticator, I’m able to authenticate users.
For example, the user exists in the LDAP server and also has a linux user account on the hub server. Login and authentication works fine.
If a user exists in the LDAP server though but does not have a corresponding linux system account on the hub, I get the following error:
File "/usr/lib/python3.4/site-packages/jupyterhub/spawner.py", line 439, in user_env
home = pwd.getpwnam(self.user.name).pw_dir
KeyError: 'getpwnam(): name not found: angie'
Can the LDAP authenticator be used with the PAM/LocalAuthenticator capabalities and create this user if they don’t exist?
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (1 by maintainers)
Top Results From Across the Web
Example of Only Authenticating User Accounts Using LDAP
To create an LDAP/AD Authentication Resource: Go to the Authentication Resource Manager page (System > Settings > Authentication > Resources).
Read more >LDAP and Active Directory Authentication - SmartBear Support
New users that are members of the specified LDAP groups will be given administrator privileges when their accounts are created. Users that already...
Read more >LDAP - Chef Documentation
Authentication via Existing Identity Management Systems Chef Automate can integrate with existing LDAP services to authenticate users in ...
Read more >Configuring Azure AD to provision users into LDAP directories
The document illustrates how you can provision users into AD LDS as ... have an identified account for the connector to authenticate to...
Read more >Enterprise Active Directory FAQs | Information Technology
LDAP 1. How do I bind a LDAP application to the Pitt Domain? ... There are different types of user accounts that can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I never got it to work in the config file. I imagine you could just do something similar to this:
Or just
$ pip install jupyterhub-ldapcreateusers
: https://github.com/benhosmer/jupyterhub-ldapcreateusers@yuvipanda does this apply to windows platform as well?