Bug 10807 - ADUC add A Record but no PTR Record with mark set
ADUC add A Record but no PTR Record with mark set
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: DNS server
4.1.11
All All
: P5 normal
: ---
Assigned To: Kai Blin
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-10 10:30 UTC by Sven Vogel
Modified: 2014-09-10 14:28 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vogel 2014-09-10 10:30:29 UTC
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.