[Samba] samba4 Administering DNS, 'WERR_INTERNAL_DB_ERROR'

Denis Morejon Lopez denis.morejon at etecsa.cu
Wed Aug 19 22:16:32 UTC 2015


I have got 1383, 'WERR_INTERNAL_DB_ERROR'  error while adding an 'A' 
record using the following command

samba-tool dns add localhost dtcf.etecsa.cu PC012819 A 192.168.10.228 -U 
denis.morejon  (I am a 'domain admins' member)

But It only happens with some hostnames. As if they already were there 
hidden.

The original problem was that I realized that some windows hosts were 
not updating their hostnames  with dns.





On 05/07/2015 05:09 PM, Charles Howes wrote:
> Hi,
>
> I just solved this problem for myself:
>
> # samba-tool user add my-username-here
> User 'my-username-here' added successfully
>
> # samba-tool group addmembers 'Domain Admins' my-username-here
> Added members to group Domain Admins
>
> # samba-tool dns add localhost example.com testname A 10.0.0.2 -U
> my-username-here --password="my-password-here"
> Record added successfully
>
>> i have installed samba4 and set the reverse zone for the dc (10.2.1.6) ,
>>
>> using the following commands to add my clients
>>      samba-tool dns add 10.2.1.6 sat.com imhotep.sat.co.uk A 10.2.1.2
>>      samba-tool dns add 10.2.1.6 1.2.10.in-addr.arpa 2 PTR imhotep.sat.co.uk
>>
>> i get the following returned for both commands
>>
>> ERROR(runtime): uncaught exception - (1383, 'WERR_INTERNAL_DB_ERROR')
>>    File "/usr/lib/python2.7/site-packages/samba/netcmd/__init__.py", line
>> 175, in _run
>>      return self.run(*args, **kwargs)
>>    File "/usr/lib/python2.7/site-packages/samba/netcmd/dns.py", line
>> 1067, in run
>>      0, server, zone, name, add_rec_buf, None
>>
>>
>> could my dns zone records be corrupt ?
>>
>> shadrock
>
>
> ---
> This message was processed by Kaspersky Mail Gateway 5.6.28/RELEASE running at host imx2.etecsa.cu
> Visit our web-site: <http://www.kaspersky.com>, <http://www.viruslist.com>



More information about the samba mailing list