File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ def undeploy_ipa_service(domain):
154
154
hostname = socket .gethostname ()
155
155
realm = domain ["name" ].upper ()
156
156
ipatuura_principal = "ipatuura/%s@%s" % (hostname , realm )
157
- keytab_file = os .path . join ( "/var/lib/ipa/ipatuura/ " , "service.keytab" )
157
+ keytab_file = os .environ . get ( "KRB5_CLIENT_KTNAME " , None )
158
158
ipa_api_connect (domain )
159
159
160
160
# remove keytab
@@ -197,7 +197,7 @@ def deploy_ipa_service(domain):
197
197
hostname = socket .gethostname ()
198
198
realm = domain ["name" ].upper ()
199
199
ipatuura_principal = "ipatuura/%s@%s" % (hostname , realm )
200
- keytab_file = os .path . join ( "/var/lib/ipa/ipatuura/ " , "service.keytab" )
200
+ keytab_file = os .environ . get ( "KRB5_CLIENT_KTNAME " , None )
201
201
ipa_api_connect (domain )
202
202
203
203
# add extra attribute mappings to domain
You can’t perform that action at this time.
0 commit comments