Firstly, thanks for awesome extension.
The line below makes it mandatory for the user to kinit with the keytab. In the scenario where JupyterHub is used, different users can log in and they do not have keytabs. I distribute kerberos tickets to pods using kubernetes and when jupyter is deployed, it is as if the user has already run kinit. Maybe this line of code can be optional.
|
os.system(f"kinit -kt /opt/conda/etc/keytab_{dbid} {principal}") |
Firstly, thanks for awesome extension.
The line below makes it mandatory for the user to
kinitwith the keytab. In the scenario where JupyterHub is used, different users can log in and they do not have keytabs. I distribute kerberos tickets to pods using kubernetes and when jupyter is deployed, it is as if the user has already runkinit. Maybe this line of code can be optional.jupyterlab-sql-explorer/jupyterlab_sql_explorer/engine.py
Line 98 in c729809