So i think you just want:

  kinit -R -k $HOSTNAME$



On 8/30/21 11:28 AM, Mote, Todd wrote:
I wrote that from memory.  What's needed is the shortname and a $, but thinking 
more about it now, that's needed at the end of the shortname not the beginning.

-----Original Message-----
From: Patrick Goetz <pgo...@math.utexas.edu>
Sent: Monday, August 30, 2021 11:25 AM
To: sssd-users@lists.fedorahosted.org
Subject: [SSSD-users]Re: Trouble-shooting sssd’s ‘Automatic Kerberos Host 
Keytab Renewal’ with AD back-end….

Todd,

On 8/27/21 9:41 AM, Mote, Todd wrote:
We ultimately decided to deploy a cron job with the install that ran 
periodically (less than the renewal period) to keep the keytab fresh (kinit -R 
-k $($hostname -s)).  We haven't had computers falling off the domain since we 
implemented that.


Are you sure about this syntax?  Adding a -s flag in $( ) containing a bash 
variable doesn't do anything.

_______________________________________________
sssd-users mailing list -- sssd-users@lists.fedorahosted.org To unsubscribe 
send an email to sssd-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-users@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure
This message is from an external sender. Learn more about why this <<
matters at https://links.utexas.edu/rtyclf.                        <<
_______________________________________________
sssd-users mailing list -- sssd-users@lists.fedorahosted.org
To unsubscribe send an email to sssd-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-users@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure
This message is from an external sender. Learn more about why this <<
matters at https://links.utexas.edu/rtyclf.                        <<
_______________________________________________
sssd-users mailing list -- sssd-users@lists.fedorahosted.org
To unsubscribe send an email to sssd-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-users@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to