- View the diff current.
- View the source.
- Go to JupyterHub.
14: 2021-07-02 (Fri) 13:47:07 iseki | 15: 2021-07-02 (Fri) 19:44:02 iseki | ||
---|---|---|---|
Line 60: | Line 60: | ||
#br | #br | ||
- | **** [[LDAP]] [#n1c54d11] | + | **** [[LDAP]]: ldapauthenticator.LDAPAuthenticator [#n1c54d11] |
- LDap 認証用. | - LDap 認証用. | ||
- | - 書きかけ | ||
- モジュールのInstall | - モジュールのInstall | ||
(jupyterhub) # conda install -c conda-forge jupyterhub-ldapauthenticator -y | (jupyterhub) # conda install -c conda-forge jupyterhub-ldapauthenticator -y | ||
+ | |||
+ | - jupyterhub_config.py | ||
+ | 102 # for LDAP | ||
+ | 103 c.JupyterHub.authenticator_class = 'ldapauthenticator.LDAPAuthenticator' | ||
+ | 104 #c.LDAPAuthenticator.server_address = '202.26.150.*' | ||
+ | 105 c.LDAPAuthenticator.server_address = '202.26.144.*' | ||
+ | 106 c.LDAPAuthenticator.use_ssl = True | ||
+ | 107 | ||
+ | 108 ## AD: template 付き | ||
+ | 109 c.LDAPAuthenticator.lookup_dn = False | ||
+ | 110 c.LDAPAuthenticator.bind_dn_template = [ | ||
+ | 111 'cn={username},ou=教員,ou=ユーザー,dc=edutuis,dc=local', | ||
+ | 112 'cn={username},ou=学生,ou=ユーザー,dc=edutuis,dc=local' | ||
+ | 113 ] | ||
+ | 114 c.LDAPAuthenticator.user_search_base = 'dc=edutuis,dc=local' | ||
+ | 115 c.LDAPAuthenticator.user_attribute = 'sAMAccountName' | ||
+ | 116 | ||
+ | 117 ## AD: template なし | ||
+ | 118 #c.LDAPAuthenticator.lookup_dn = True | ||
+ | 119 #c.LDAPAuthenticator.user_search_base = 'dc=edutuis,dc=local' | ||
+ | 120 #c.LDAPAuthenticator.user_attribute = 'sAMAccountName' | ||
+ | 121 #c.LDAPAuthenticator.lookup_dn_search_user = 'cn=ldapauth,cn=users,dc=edutuis,dc=local' | ||
+ | 122 #c.LDAPAuthenticator.lookup_dn_search_password = '*****' | ||
+ | 123 #c.LDAPAuthenticator.lookup_dn_user_dn_attribute = 'cn' | ||
+ | 124 | ||
+ | 125 ## NSL: username から dn が探せる場合 | ||
+ | 126 #c.LDAPAuthenticator.lookup_dn = False | ||
+ | 127 #c.LDAPAuthenticator.bind_dn_template = 'cn={username},ou=user,dc=nsl,dc=tuis,dc=ac,dc=jp' | ||
+ | 128 | ||
+ | 129 ## NSL: ツリーを検索する場合 | ||
+ | 130 #c.LDAPAuthenticator.lookup_dn = True | ||
+ | 131 #c.LDAPAuthenticator.user_search_base = 'ou=user,dc=nsl,dc=tuis,dc=ac,dc=jp' | ||
+ | 132 #c.LDAPAuthenticator.user_attribute = 'uid' | ||
+ | 133 #c.LDAPAuthenticator.lookup_dn_search_user = 'cn=Manager' | ||
+ | 134 #c.LDAPAuthenticator.lookup_dn_search_password = '*******' | ||
+ | 135 #c.LDAPAuthenticator.lookup_dn_user_dn_attribute = 'cn' | ||
+ | 136 | ||
*** Server Class [#dded2dd0] | *** Server Class [#dded2dd0] |
- Backup list of JupyterHub
- Backup diff of JupyterHub(No. All)
- 1: 2020-08-18 (Tue) 20:20:25 iseki
- 2: 2020-08-18 (Tue) 22:11:14 iseki
- 3: 2020-08-19 (Wed) 16:46:56 iseki
- 4: 2020-08-19 (Wed) 23:16:24 iseki
- 5: 2020-08-20 (Thu) 02:31:53 iseki
- 6: 2020-08-20 (Thu) 15:28:11 iseki
- 7: 2020-08-20 (Thu) 21:14:30 iseki
- 8: 2020-08-21 (Fri) 01:11:15 iseki
- 9: 2020-08-21 (Fri) 18:40:40 iseki
- 10: 2020-08-23 (Sun) 03:36:56 iseki
- 11: 2020-08-23 (Sun) 14:27:13 iseki
- 12: 2020-08-26 (Wed) 10:42:28 iseki
- 13: 2020-08-26 (Wed) 17:33:21 iseki
- 14: 2021-07-02 (Fri) 13:47:07 iseki
- 15: 2021-07-02 (Fri) 19:44:02 iseki
- 16: 2021-07-04 (Sun) 23:12:59 iseki
- 17: 2021-07-05 (Mon) 11:36:07 iseki
- 18: 2021-07-10 (Sat) 17:40:51 iseki
- 19: 2021-07-11 (Sun) 00:25:34 iseki
- 20: 2021-07-13 (Tue) 12:10:58 iseki
- 21: 2021-07-13 (Tue) 20:10:43 iseki
- 22: 2021-07-14 (Wed) 18:43:33 iseki
- 23: 2021-07-17 (Sat) 21:08:53 iseki
- 24: 2021-07-24 (Sat) 01:23:27 iseki
- 25: 2021-07-24 (Sat) 12:03:35 iseki
- 26: 2021-07-25 (Sun) 21:41:24 iseki
- 27: 2021-07-26 (Mon) 15:00:58 iseki
- 28: 2021-08-01 (Sun) 11:41:01 iseki
- 29: 2021-08-22 (Sun) 19:54:27 iseki
- 30: 2021-08-30 (Mon) 01:24:58 iseki
- 31: 2021-08-30 (Mon) 11:52:02 iseki
- 32: 2021-09-04 (Sat) 00:14:15 iseki
- 33: 2021-09-14 (Tue) 18:44:25 iseki
- 34: 2021-09-15 (Wed) 20:58:49 iseki
- 35: 2021-09-16 (Thu) 00:49:11 iseki
- 36: 2021-09-17 (Fri) 13:27:17 iseki
- 37: 2021-09-17 (Fri) 17:50:54 iseki
- 38: 2021-09-23 (Thu) 18:42:17 iseki
- 39: 2021-10-02 (Sat) 18:29:38 iseki
- 40: 2021-12-08 (Wed) 12:54:46 iseki
- 41: 2022-01-02 (Sun) 18:56:23 iseki
- 42: 2022-01-05 (Wed) 22:17:00 iseki
- 43: 2022-01-12 (Wed) 13:40:35 iseki
- 44: 2022-02-04 (Fri) 09:46:03 iseki
- 45: 2022-02-06 (Sun) 13:15:33 iseki
- 46: 2022-02-17 (Thu) 18:38:10 iseki
- 47: 2022-06-10 (Fri) 17:14:20 iseki
- 48: 2022-07-13 (Wed) 14:15:06 iseki
- 49: 2023-05-05 (Fri) 12:40:06 iseki
- 50: 2023-05-29 (Mon) 16:07:18 iseki
- 51: 2023-06-16 (Fri) 13:58:11 iseki
- 52: 2023-07-17 (Mon) 19:52:18 iseki
- 53: 2023-07-18 (Tue) 10:41:21 iseki
- 54: 2023-07-18 (Tue) 18:20:08 iseki
- Cur: 2023-12-04 (Mon) 11:30:44 iseki