[Samba] Samba Wiki: fix to "Configure DHCP to update DNS records" page
Ing. Claudio Nicora
claudio.nicora at gmail.com
Thu Feb 2 08:06:27 UTC 2023
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
Il 27/01/2023 16:32, Rowland Penny via samba ha scritto:
>
>
> On 27/01/2023 15:27, Ing. Claudio Nicora wrote:
>> I've found another issue that causes the following error (at least
>> with my samba-tool 4.7.6):
>>
>> ERROR(runtime): uncaught exception - (-1073741811, 'An invalid
>> parameter was passed to a service or function.')
>> Jan 27 12:17:11 srv sh[1346]: File
>> "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
>> 176, in _run
>
>
> I am sorry, but there is absolutely no way that I am even going to try
> to fix this. Samba 4.7.x went EOL nearly 4 years ago and Samba no
> longer uses python 2.
> I suggest you upgrade and then, if you still have the problem, I will
> take a look at it.
>
> Rowland
>
More information about the samba
mailing list