New added DNS entries are not resolveable

Amitay Isaacs amitay at
Fri Nov 9 05:25:30 MST 2012

On Fri, Nov 9, 2012 at 6:39 PM, Marc Muehlfeld
<Marc.Muehlfeld at> wrote:
> Am 09.11.2012 01:20, schrieb Amitay Isaacs:
>> I think I know what's happening here.  It appears that the samdb copy
>> for BIND has diverged from the main samdb.  I would like to make sure
>> that the dns/ directory is correctly set up.
> They differ:
>> The sam ldb files corresponding to application partitions should be
>> hard linked i.e. they should have the same inode.  With above two
>> commands you can confirm if that is the case.
> What would be the best way to fix this? Can I remove the content of one of
> the directories and place new hard links in it?

Backup all the files in dns/ directory.

  # cd dns/sam.ldb.d

  # rm metadata.tdb

  # ln ../../sam.ldb.d/metadata.tdb .

That should be fix it.

> Are there any other files that should be hard links below /usr/local/samba?
> Maybe other hardlinks got lost too in the past (maybe by copying to a
> different partition or something).

No other files are hard linked as far as I know.


More information about the samba-technical mailing list