[Samba] DNS management error accessing the domain zone
Rowland Penny
rpenny at samba.org
Tue Apr 1 09:03:27 UTC 2025
On Mon, 31 Mar 2025 17:50:21 -0300
Nicolás Hermida <nhermida at init.ar> wrote:
> Rowland, when I try to query the dns zone directly from the samba
> domain controller (connected over ssh) I obtain this error message:
>
> Got NTLMSSP neg_flags=0x62088215
> ERROR(runtime): uncaught exception - (3221422092, 'The stub received
> bad data.') File
> "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 279,
> in _run return self.run(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line
> 1101, in run buflen, res = dns_conn.DnssrvEnumRecords2(
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line
> 119, in f return attr(*args)
> ^^^^^^^^^^^
>
>
> The command used to do the query was:
> samba-tool dns query -U username localhost example.local @ ALL
>
> Any ideas?
>
> Thanks in advance
You say this domain is old, could it be so old that it was
originally a W2k or W2003 domain ?
Or, to put it another way, do you have dns records in
'_msdcs.example.local' ?
Rowland
More information about the samba
mailing list