LDAP uid/gid integration with jupyterhub/k8s-hub:0.9.0-beta.2

Hi,
I was told that this build already include the LDAP patch that would allow the users to login as themselves, but I am still missing where I would configure the helm values.yaml file since this is the main place where I set all the configurations.

Another question is related to GID, we would also like to have the users login as their GID. Is that currently possible? If answer is NO, what would need to be modified in order to get it workin? We may have some time to invest on this.

Thanks.

1 Like

Hi @moscardo

The relevent PR for adding UID/GID support to the LDAPAuthenticator was merged but has not been released: https://github.com/jupyterhub/ldapauthenticator/pull/103

This where the LDAPauthenticator version is specified in Z2JH: https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/9e1a7f98e55201c09ee52f3c6324cbd77228b0db/images/hub/requirements.txt#L25, it’ll need to be bumped after release.

If you need it now the best way is to follow this post which effetively embeds hte required LDAPAuthneticator changes in your JupyterHub config Starting single-user notebook with our custom ldap docker image instead of building a custom Docker image. It’s been a while but I’ll retest it if I get a chance.

If you can wait a bit I’ll see what’s needed to get it into Z2JH.