You are not logged in.
Dear forum,
i'm really a total noob, thus i have to ask, if there is really a little mistake in the samba-dnsupdate.sh script mentioned in
https://wiki.archlinux.org/index.php/Sa … controller or if I simply don't get, how the script is working:
Line 191:
klist $KLISTARG || kinit -k -t "$KEYTAB" -c "$KRB5CC" "$PRINCIPAL" || { logger -s -p daemon.error -t dhcpd kinit for dynamic DNS failed; exit 11; }
Shouldn't the kinit part be executed first, because otherwise there would be no ticket for kerberos ?
Thanks,
blubberbaer
Offline
klist $KLISTARG # check whether there's a ticket
|| #else
kinit -k -t "$KEYTAB" -c "$KRB5CC" "$PRINCIPAL" # see whether we can create one
|| # else
{ logger -s -p daemon.error -t dhcpd kinit for dynamic DNS failed; exit 11; } # log failure
Offline