OpenLDAP

To use LDAP-based authentication for the Aizen Jupyter console, follow these steps:

  1. Install OpenLDAP by running these commands:

    helm -n aizen-infra upgrade aizen-openldap $HELMCHART_LOCATION/aizen \
    --set aizen-infra.aizen-openldap.enabled=true
  2. Verify that the OpenLDAP pods are up by running this command:

    kubectl get pods,service -n aizen-infra
  3. If OpenLDAP pods and services are up, create users and verify that all predefined users are created using the ldapsearch command:

    kubectl -n aizen-infra port-forward svc/aizen-openldap-service --address <your localhost ip> 1389:1389
    
    ldapadd -f $HELMCHART_LOCATION/aizen/charts/infra/charts/openldap/users.txt -H ldap://<your localhost ip>:1389 -D "cn=admin,dc=aizencorp,dc=local,dc=com" -w admin
    
    ldapsearch -x -H ldap://<your localhost ip>:1389 -b dc=aizencorp,dc=local,dc=com

Last updated