Rowland Penny
2021-Nov-10 19:51 UTC
[Samba] Device ends up with multiple dns records and IP addresses
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
Ingo Asche
2021-Nov-10 19:55 UTC
[Samba] Device ends up with multiple dns records and IP addresses
I almost had the feeling it could something like that... Give the word and I'm happy to test the new one... Regards Ingo https://github.com/WAdama Rowland Penny via samba schrieb am 10.11.2021 um 20:51:> 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 > > >