[Samba] Samba Wiki: fix to "Configure DHCP to update DNS records" page

Leo C leonidch076 at gmail.com
Mon Jan 23 14:43:03 UTC 2023


Thanks,

Anyway way can't update samba_dlz PTR records
 not allowing update of signer PTR

I'm missing something

can't update PTR records via DHCP



El lun, 23 ene 2023 a las 8:55, Rowland Penny via samba (<
samba at lists.samba.org>) escribió:

>
>
> On 23/01/2023 13:47, Ing. Claudio Nicora via samba wrote:
> > @Rowland Penny: thanks for the BASH script to let DHCP update DNS
> > records
> > (https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records).
> >
> > I'm suggesting this change:
> > the "if" condition at line 171 does not use the filename assigned to
> > $keytab variable (at line 41), but a fixed filename (equal to default
> > $keytab filename).
> > If someone (like me) need to set a different filename, then the Kerberos
> > keytab test fails.
> >
> > So my suggestion is to replace the "if" condition (around line 171) from
> >
> > ------------------------------
> > # Check for Kerberos keytab
> > if [ ! -f /etc/dhcpduser.keytab ]
> > then
> >    logger "Required keytab $keytab not found, it needs to be created."
> >    ...
> > ------------------------------
> >
> > to
> >
> > ------------------------------
> > # Check for Kerberos keytab
> > if [ ! -f "$keytab" ]
> > then
> >    logger "Required keytab $keytab not found, it needs to be created."
> >    ...
> > ------------------------------
> >
> > Thanks for your work
>
> Thanks for pointing that out, thought I had changed them all, I have now
> (hopefully)
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list