diff --git a/scripts/novajoin-ipa-setup b/scripts/novajoin-ipa-setup index 433e616..3d63a91 100755 --- a/scripts/novajoin-ipa-setup +++ b/scripts/novajoin-ipa-setup @@ -83,6 +83,9 @@ if __name__ == '__main__': try: ccache_dir = novajoin.kinit(opts.principal, opts.realm, opts.password, krb5_conf) + # We use the ccache that we just created inside the kinit + # function. + os.environ['KRB5CCNAME'] = novajoin.ccache_name except ConfigurationError: if krb5_conf: os.remove(krb5_conf)