[Samba] samba-tool auth in scripts

Rowland Penny rpenny at samba.org
Wed Jan 9 13:01:45 UTC 2019


On Wed, 9 Jan 2019 10:56:56 +0100
Jakob Lenfers via samba <samba at lists.samba.org> wrote:

> Hi,
> 
> I created a script to add DNS entries with samba-tool (for
> LetsEncrypt, as a dehydrated hook.) Works fine, but I have the
> password for the dedicated user to do that in the script in the
> clear. I think I read somewhere something about doing it with
> kerberos, but I never used kerberos and don't know where to start. Is
> there any good way to be doing this?
> 
> Thanks,
> Jakob
> 

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.

Rowland



More information about the samba mailing list