[Samba] Unable to manage dns (ERR_DNS_ERROR_DS_UNAVAILABLE)

Peter Beck peter at datentraeger.li
Sun Jun 14 16:28:37 MDT 2015


what I've also recognized:

on a pure Samba4 domain (2 domain controllers) there is the directory
/var/lib/private/samba/dns with a "sam.ldb" file and a subdirectory
"sam.ldb.d" containing all zones as ldb files:

[root at unxads002 ~]# ls -lh /var/lib/samba/private/dns/sam.ldb.d/
-rw-r----- 1 root root 7.4M Aug  4  2014 CN=CONFIGURATION,DC=DOMAIN,DC=LOCAL.ldb
-rw-r----- 1 root root 7.8M Aug  4  2014 CN=SCHEMA,CN=CONFIGURATION,DC=DOMAIN,DC=LOCAL.ldb
-rw-r----- 1 root root 676K Aug  4  2014 DC=DOMAINDNSZONES,DC=DOMAIN,DC=LOCAL.ldb
-rw-r----- 1 root root 3.0M Aug  4  2014 DC=FORESTDNSZONES,DC=DOMAIN,DC=LOCAL.ldb
-rw-r----- 1 root root  52K Aug  4  2014 DC=DOMAIN,DC=LOCAL.ldb
-rw-rw---- 2 root bind 412K Jun 14 20:06 metadata.tdb


The sam.ldb file contains one single record:

# editing 1 records
# record 1
dn: DC=domain,DC=local
instanceType: 5
objectClass: top
objectClass: domaindns
objectGUID: ffc42d7d-2d34-486d-ab9b-0741871ca1d9
objectSid: S-1-5-21-2026243258-1306757702-3697109298
distinguishedName: DC=domain,DC=local


This directory is completely missing on the Samba dc which was added to
the Server 2003 domain.

How can I get this files ? Can I manually force the creation ? Sounds to
me like this could be the problem ?

Regards
Peter


More information about the samba mailing list