[Samba] samba-upgradedns --dns-backend=BIND9_DLZ fix hard links / A Record / PTR Record left

Vogel, Sven Sven.Vogel at kupper-computer.com
Mon Sep 8 15:47:36 MDT 2014


Hi,

i have the following problem.

I use the remote administration tools. I added a forward lookupzone A Record and would automtically add the suitable PTR Record.

A Record was added but i miss the PTR Record. I have a  foreward and reverse lookup zone. I use 4.1.6 and use now 4.1.11. Before it worked.

I read at the wiki out that the sam.ldb.d and dns/sam.ldb.d are hard links. I checked that and the hard link was broken.

In the wiki there was the information to use the samba-upgradedns -dns-backend=BIND9_DLZ. I used that but it DONT fix the hard links...


1.       Is this a Bug?

After that i added the hard links manually again.

orion:/ # ll -ia /var/lib/samba/private/sam.ldb.d/
total 38124
2872179 drwxr-x--- 2 root named     4096 Sep  8 22:04 .
1267513 drwxr-xr-x 7 root root      4096 Sep  8 23:11 ..
2872182 -rw------- 1 root root  14319616 Sep  8 23:10 CN=CONFIGURATION,DC=SWI,DC=LOCAL.ldb
2872183 -rw------- 1 root root  10391552 Sep  8 23:10 CN=SCHEMA,CN=CONFIGURATION,DC=SWI,DC=LOCAL.ldb
2872184 -rw-rw---- 2 root named  4251648 Sep  8 23:10 DC=DOMAINDNSZONES,DC=SWI,DC=LOCAL.ldb
2872185 -rw-rw---- 2 root named  4251648 Sep  8 23:10 DC=FORESTDNSZONES,DC=SWI,DC=LOCAL.ldb
2872181 -rw------- 1 root root   5316608 Sep  8 23:10 DC=SWI,DC=LOCAL.ldb
2872180 -rw-rw---- 2 root named   421888 Sep  8 22:22 metadata.tdb

orion:/ # ll -ia /var/lib/samba/private/dns/sam.ldb.d/
total 26676
1733329 drwxrwx--- 2 root named    4096 Sep  8 22:14 .
1733328 drwxrwx--- 3 root named    4096 Sep  8 22:04 ..
2872186 -rw-rw---- 1 root named 7675904 Sep  8 22:04 CN=CONFIGURATION,DC=SWI,DC=LOCAL.ldb
2872187 -rw-rw---- 1 root named 9359360 Sep  8 22:04 CN=SCHEMA,CN=CONFIGURATION,DC=SWI,DC=LOCAL.ldb
2872184 -rw-rw---- 2 root named 4251648 Sep  8 23:15 DC=DOMAINDNSZONES,DC=SWI,DC=LOCAL.ldb
2872185 -rw-rw---- 2 root named 4251648 Sep  8 23:15 DC=FORESTDNSZONES,DC=SWI,DC=LOCAL.ldb
1733330 -rw-rw---- 1 root named 1286144 Sep  8 22:04 DC=SWI,DC=LOCAL.ldb
2872180 -rw-rw---- 2 root named  421888 Sep  8 22:22 metadata.tdb

All things looks okay. I use remote administration tools and add a A Record with PTR. A Record will be added but PTR are NOT created.


2.       Is there anything which i should check? Other hard links? Sam.ldb?

Any ideas?

Thanks for help

Sven






More information about the samba mailing list