xnuinside commented on a change in pull request #4238: [AIRFLOW-987] pass 
kerberos cli args keytab and principal to kerberos…
URL: https://github.com/apache/incubator-airflow/pull/4238#discussion_r236365531
 
 

 ##########
 File path: airflow/security/kerberos.py
 ##########
 @@ -80,7 +82,7 @@ def perform_krb181_workaround():
     ret = subprocess.call(cmdv, close_fds=True)
 
     if ret != 0:
-        principal = "%s/%s" % (
+        principal = args.principal or "%s/%s" % (
 
 Review comment:
   We don't override config here. It is used only to prepare a command - 
https://github.com/apache/incubator-airflow/blob/3dc9e4021786e2c2416956f83a1f19ea1052ff3b/airflow/security/kerberos.py#L46
 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to