fasjson-aliases: set the keytab env var
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
740109a295
commit
ee65c1dbf0
1 changed files with 3 additions and 0 deletions
|
@ -113,6 +113,9 @@ def rename(filename, aliases_file):
|
|||
def main():
|
||||
args = sys.argv[1:]
|
||||
|
||||
# Use the system's keytab for authentication
|
||||
os.environ["KRB5_CLIENT_KTNAME"] = "/etc/krb5.keytab"
|
||||
|
||||
try:
|
||||
if not args:
|
||||
gen_all_aliases()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue