[Samba] Solved - was: Re: How to get rid of misspelled DNA entry?
rowlandpenny at googlemail.com
Sun Mar 8 16:12:06 MDT 2015
On 08/03/15 22:06, Tim wrote:
> Anyone checked/reproduced this steps with ADSI Editor?
> Am 8. März 2015 23:00:33 MEZ, schrieb Peter Serbe <peter at serbe.ch>:
>> 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
>>>> Inside the LDAP tree is a subtree named msdns (or similiar, I'm not
>>>> to access my workstation at the moment). There you can find the
>>>> entry and delete it. Before deleting something it's perhaps a good
>>>> to make a backup of the samba configuration, especially the files
>>>> /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
>>>> let me know.
>>> It would be great if you could provide some details about the
>>> 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.
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
I think it would be easier to:
ldbedit -e nano -H /var/lib/samba/private/sam.ldb --cross-ncs -b
On a DC.
More information about the samba