Web lists-archives.com

Re: [Samba] samba-tool auth in scripts

Am 09.01.19 um 14:01 schrieb Rowland Penny via samba:

> Try reading this:
> https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records_with_BIND9
> It's for DHCP updating dns records, but it uses a dedicated user and
> kerberos, so it should help you.

Thats exactly what I wanted, thanks. Just a little problem, "samba-tool
[...] -k yes" after manual kinit works fine. If I want to use a special
ticket cache as in your example, I cannot find an option in man
samba-tool to supply that filename and the following command therefore
fails (asking for password):

| # init ticket if necessary
| klist -c ~/tmp/ticket-cache -s || kinit -F -k -t
~/etc/dehydrated-service.keytab -c ~/tmp/ticket-cache
| # change records
| samba-tool dns add barva.my.domain my.domain jakob-test TXT "TEEEST"
-k yes

Thanks again,

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba