[Samba] Samba Wiki: fix to "Configure DHCP to update DNS records" page
Rowland Penny
rpenny at samba.org
Thu Feb 2 09:00:51 UTC 2023
On 02/02/2023 08:06, Ing. Claudio Nicora wrote:
> You're right about the EOL, I'm slowly updating my AD setup by adding
> new DC machines and demoting the old ones.
>
> But the error is not strictly related to Python2 but with Bash script,
> which is calling "samba-tool delete" with an empty IP parameter... (and
> IP address is a required parameter).
> Maybe newer samba-tool version won't complain, but I still think that's
> a wrong call.
>
> Anyway it's ok for me, I've patched the script on my side.
> I'll try to speed up the migration ;)
>
> Best regards
>
If you are getting an empty IP, then you are either using an old script
or something else is going on, because the script on the wikipage has this:
# Exit if no ip address
if [ -z "${ip}" ]
then
usage
exit 1
fi
Rowland
More information about the samba
mailing list