Hi,
Below is the py file config and i have replace some info due to policy. We have copied the folder from another server to the new server and this normally work for us. Just for some reason not sure we are seeing this error now when we do the same for this server.
c.Authenticator.delete_invalid_users = True
c.JupyterHub.admin_access = True
c.JupyterHub.authenticator_class = ‘ldapauthenticator.LDAPAuthenticator’
c.LDAPAuthenticator.server_address = ‘AD server’
c.LDAPAuthenticator.use_ssl = True
c.LDAPAuthenticator.lookup_dn = True
c.LDAPAuthenticator.lookup_dn_search_filter = ‘(&(objectClass=*)({login_attr}={login}))’
c.LDAPAuthenticator.lookup_dn_search_user = ‘UserA’
c.LDAPAuthenticator.lookup_dn_search_password = “Password A”
c.LDAPAuthenticator.user_search_base = ‘Domain Name’
c.LDAPAuthenticator.user_attribute = ‘sLAccountName’
c.LDAPAuthenticator.lookup_dn_user_dn_attribute = ‘CN’
c.LDAPAuthenticator.escape_userdn = False
c.LDAPAuthenticator.bind_dn_template = [‘CN={username},OU=companyMY IDM Users,OU=Accounts,OU=MY,DC=companyMY,DC=companyDomain,DC=com’,‘CN={username},OU=companyIN Users,OU=Accounts,OU=MY,DC=companyMY,DC=companyDomain,DC=com’,‘CN={username},OU=GIOD GT,OU=Accounts,OU=MY,DC=companyMY,DC=companyDomain,DC=com’, ‘CN={username},OU=Users,OU=Department,OU=MBC,OU=MY,DC=companyMY,DC=companyDomain,DC=com’,‘CN={username},OU=L13,OU=Users,OU=CBBRDHCX,OU=Migration,OU=MY,DC=companyMY,DC=companyDomain,DC=com’]
c.JupyterHub.bind_url = ‘https://:port’
c.JupyterHub.config_file = ‘jupyterhub_config.py’
c.JupyterHub.cookie_max_age_days = float(0.0104)
c.JupyterHub.shutdown_on_logout = True
c.JupyterHub.ssl_cert = ‘/opt/thirdparty/jupyter/anaconda2/envs/py35/etc/jupyter/cert/ServerA.crt’
c.JupyterHub.ssl_key = ‘/opt/thirdparty/jupyter/anaconda2/envs/py35/etc/jupyter/cert/Server.key’
c.JupyterHub.tornado_settings = { ‘headers’: { ‘X-XSS-Protection’: ‘1; mode=block’, ‘X-Frame-Options’:‘DENY’, ‘X-Content-Type-Options’:‘nosniff’ } }
c.Spawner.notebook_dir = ‘/data/fol’
c.Authenticator.admin_users = {‘admin’}
c.PAMAuthenticator.open_sessions = False
jupyter notebook --version → 5.6.0
jupyter --version → 4.4.0
python -V → Python 2.7.15 :: Anaconda, Inc.
conda -V → conda 4.5.11