[Samba] Solved - was: Re: How to get rid of misspelled DNA entry?

Peter Serbe peter at serbe.ch
Sun Mar 8 16:00:33 MDT 2015

Easy job with the right tool!

Open Apache Directory Studio, select the LDAP browser -> New Connection

Enter the server/hostname: dc1.samdom.com -> next
Select simple authentication, user: samdom\administrator, password
Check authentication and connect. 

Browse to the corresponding DNS entry:

Root DSE

See the attribute dnsRecord (here: two of them), which is binary data. 
A double click opens a hex editor, a right clock opens the context 
menu, which allows to delete the offending entry. Delete - and done. 

Thank You again Sebastian for the great tip. 
Maybe LAM would have done the job, too. But it was extremely easy
in Apache Directory Studio. 

Best regards

Marc Muehlfeld schrieb am 08.03.2015 21:13:

> Hello Sebastian,
> Am 08.03.2015 um 20:33 schrieb Sebastian Henrich:
>> I found a way to delete these ghost entries. All you need is an LDAP
>> tool like Apache Directory Studio. Then you connect via LDAP to the AD.
>> Inside the LDAP tree is a subtree named msdns (or similiar, I'm not able
>> to access my workstation at the moment). There you can find the buggy
>> entry and delete it. Before deleting something it's perhaps a good idea
>> to make a backup of the samba configuration, especially the files under
>> /var/lib/samba/private/sam.ldb.d where the configuration is stored.
>> If you need a detailed howto or somebody wants to add this to the wiki,
>> let me know.
> It would be great if you could provide some details about the problems
> and about the steps to solve it.
> Currently I'm very busy, but I'll collect that information and try to
> find a good place for it in our documentation as soon as possible.
> Regards,
> Marc

More information about the samba mailing list