[Samba] Device ends up with multiple dns records and IP addresses

Rowland Penny rpenny at samba.org
Wed Nov 10 19:51:54 UTC 2021


On Wed, 2021-11-10 at 20:21 +0100, Ingo Asche wrote:
> Hi Rowland,
> 
> I tried the actual script just now and it quits in syslog with exit 
> status 256.
> 
> I then started the script manual with the variables used and I get
> this 
> output:
> 
> WARNING: The option -k|--kerberos is deprecated!
> ERROR(runtime): uncaught exception - (5, 'WERR_ACCESS_DENIED')
>    File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py",
> line 
> 186, in _run
>      return self.run(*args, **kwargs)
>    File "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line
> 1094, 
> in run
>      raise e
>    File "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line
> 1088, 
> in run
>      0, server, zone, name, add_rec_buf, None)
> 
> I double checked it I all have done as written in the Wiki article
> and 
> found no error.

I feel version 0.9.4 of the script is immanent, From Samba 4.15.0, some
of the options changed, one of which was that '-k yes' was deprecated
and '--use-kerberos=required' should be used instead. Now 'deprecated'
should mean that the old method will still work, so can you try
replacing all mention of '-k yes' with '--use-kerberos=required'.

Rowland





More information about the samba mailing list