[Samba] samba-tool dns query error WERR_INTERNAL_DB_ERROR

Casper 0 iotechlist at gmail.com
Thu Feb 13 11:50:34 MST 2014


Sorry, I was just trying somethings out.  Yes, I had samba listening on
localhost.

Yes, I get same results if I use eth1 IP:

# ifconfig eth1

eth1

        inet addr:192.168.0.22  Bcast:192.168.0.255  Mask:255.255.255.0

samba-tool dns delete 192.168.0.22 my.host.com pc.my.host.com. A
192.168.1.1 -U Administrator --password=<password> -d 10

ERROR(runtime): uncaught exception - (1383, 'WERR_INTERNAL_DB_ERROR')

  File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line
175, in _run

    return self.run(*args, **kwargs)

  File "/usr/lib64/python2.6/site-packages/samba/netcmd/dns.py", line 1184,
in run

    del_rec_buf)

I definitely have a corrupted DNS entry that I do not (yet) know how to
correct.

I have about 6400 objects in my LDB.


On Thu, Feb 13, 2014 at 12:05 AM, Chan Min Wai <dcmwai at gmail.com> wrote:

> Hi Casper,
>
> I've a 4.1.3 build and it is ok...
>
> Do you have your DNS accept to query on 127.0.0.1 ?
>
>
> amtbsrv01 ~ # samba-tool dns query amtbsrv01 kl01.amtb-m.org.my @ ALL
> -Uadministrator
> Failed to connect host ::1 on port 135 - NT_STATUS_CONNECTION_REFUSED
> Failed to connect host ::1 (amtbsrv01) on port 135 -
> NT_STATUS_CONNECTION_REFUSED.
> Failed to connect host ::1 on port 1024 - NT_STATUS_CONNECTION_REFUSED
> Failed to connect host ::1 (amtbsrv01) on port 1024 -
> NT_STATUS_CONNECTION_REFUSED.
> Password for [AMTB-WORKGROUP\administrator]:
>   Name=, Records=4, Children=0
>     NS: amtbsrv01.kl01.amtb-m.org.my. (flags=600000f0, serial=1, ttl=900)
>     A: 192.168.0.13 (flags=600000f0, serial=1, ttl=900)
>     A: 192.168.0.14 (flags=600000f0, serial=1, ttl=900)
>     SOA: serial=3, refresh=900, retry=600, expire=86400, minttl=0, ns=
> amtbsrv01.kl01.amtb-m.org.my., email=hostmaster.kl01.amtb-m.org.my.
> (flags=600000f0, serial=2, ttl=3600)
>   Name=_msdcs, Records=0, Children=0
>   Name=_sites, Records=0, Children=1
>   Name=_tcp, Records=0, Children=4
>   Name=_udp, Records=0, Children=2
>   Name=amtbsrv01, Records=2, Children=0
>     A: 192.168.0.13 (flags=f0, serial=1, ttl=900)
>     A: 192.168.0.14 (flags=f0, serial=2, ttl=900)
>   Name=DomainDnsZones, Records=0, Children=2
>   Name=ForestDnsZones, Records=0, Children=2
>
>
>
>
>
> On Thu, Feb 13, 2014 at 2:51 PM, Casper 0 <iotechlist at gmail.com> wrote:
>
>> FWIW, I see the same error in samba 4.1.3.
>>
>> # samba --version
>>
>> Version 4.1.3
>>
>> samba-tool dns delete 127.0.0.1 my.host.com pc.my.host.com. A
>> 192.168.1.1 -U Administrator --password=<password> -d 10
>>
>> ../librpc/rpc/dcerpc_util.c:140: auth_pad_length 12
>>
>> ntlmssp_check_packet: NTLMSSP signature OK !
>>
>> rpc reply data:
>>
>> [0000] 67 05 00 00                                       g...
>>
>> ERROR(runtime): uncaught exception - (1383, 'WERR_INTERNAL_DB_ERROR')
>>
>>   File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
>> line 175, in _run
>>
>>     return self.run(*args, **kwargs)
>>
>>   File "/usr/lib64/python2.6/site-packages/samba/netcmd/dns.py", line
>> 1184, in run
>>
>>     del_rec_buf)
>>
>>
>> On Wed, Feb 12, 2014 at 10:31 PM, Chan Min Wai <dcmwai at gmail.com> wrote:
>>
>>> Hi Nikos,
>>>
>>> I'm gentoo with samba 4.1.4 and I don't see this problem.
>>> Possible a error on the command which was fixed later?
>>>
>>> Are your windows RAT able to see DNS client correctly? (If yes that seem
>>> to
>>> be good)
>>>
>>> Thank You.
>>>
>>>
>>> On Thu, Feb 13, 2014 at 4:50 AM, Nikos Mitas <nkmitas at gmail.com> wrote:
>>>
>>> > Hello,
>>> >
>>> > i have two samba 4 domain controllers v4.1.0,  with bind_dlz running
>>> so far
>>> > without problems, but now i have some problems with dns.
>>> >
>>> > Running
>>> > samba-tool dns query dc1 samdom.example.com @ ALL
>>> > returns this error:
>>> >
>>> > ERROR(runtime): uncaught exception - (1383, 'WERR_INTERNAL_DB_ERROR')
>>> File
>>> >
>>> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
>>> > line 175, in _run return self.run(*args, **kwargs) File
>>> > "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/dns.py",
>>> line
>>> > 988, in run None, record_type, select_flags, None, None)
>>> >
>>> > Also the windows dns tool when i click on this particular zone, says
>>> it is
>>> > probably corrupted zone.
>>> >
>>> > When i run samba-tool dns query on reverse zones and _msdcs, query
>>> works
>>> > fine
>>> >
>>> > samba-tool dbcheck gives me no error
>>> > nslookup for entries in this zone gives me correct results.
>>> >
>>> > any help would be greatly appreciated
>>> >
>>> > Nikos Mitas
>>> > --
>>> > To unsubscribe from this list go to the following URL and read the
>>> > instructions:  https://lists.samba.org/mailman/options/samba
>>> >
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>
>>
>>
>


More information about the samba mailing list