Comments (4)
Hi @colicab,
To debug further could you run jupyterhub with the --debug
switch and post the output of the logs. The current code does work for others but there may be something specific to your setup we're not taking into account.
from ldapauthenticator.
Hi. I can confirm the problem. The value of the attribute uid is a list 'raw_attributes': {'uid': [b'andreas']}
Currently I can't add more information.
@colicab 's fix return conn.response[0]['attributes'][self.lookup_dn_user_dn_attribute][0]
worked for me
from ldapauthenticator.
Thanks for the confirmation @andreas-wolf. Unfortunately I don't think the fix is appropriate as-is since it will break for any implementation which returns a string rather than a list. It should be possible to support both cases though...
from ldapauthenticator.
Can confirm the same problem, wasted the whole day on it debugging tcp dumps
from ldapauthenticator.
Related Issues (20)
- LDAP refuses connection when using pip to install JupyterHub and LDAP Authenticator HOT 3
- Z2JH LDAPStartTLSError on login attempts HOT 4
- Support of username contains upper case HOT 1
- LDAPAuthenticator with allowed_users HOT 3
- LDAPAuthenticator.use_ssl configuration issue HOT 2
- Fetch UIDs from LDAP server HOT 1
- c.LDAPAuthenticator.user_attribute to get userID instead of UserName HOT 2
- Case sensitivity of usernames for server start HOT 2
- jupyterhub ldap auth using certificate - how to HOT 1
- JupyterHub with LDAPAuthenticator startTLS failed - protocolError HOT 7
- 500 Error to connect with openLDAP HOT 2
- openldap config HOT 2
- incomplete documentation, not working project. HOT 1
- Password update from LDAP break authentication HOT 1
- General maintenance needed HOT 1
- Release plan for 1.3.3, 1.4.0, or 2.0.0 HOT 1
- Add end to end test to ensure compatibility against various jupyterhub versions
- ldap3.core.exceptions.LDAPSocketOpenError: ("('socket ssl wrapping error: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)',)",) HOT 3
- LDAPInvalidFilterError Username is not escaped HOT 1
- use_ssl set to False, cannot connect to ldap server with plaintext HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ldapauthenticator.