summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Gohmann <gohmann@univention.de>2011-09-16 15:36:08 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-17 12:36:49 +0200
commitc88195fbe3a6b201f24ffb1ababdac22dd2c33a3 (patch)
treeb8b030e8995453b8734f8f1a002e3e158200cadd
parent2a2dd6ff5e057b1dec37a212b0a5eeb2a8392c36 (diff)
downloadsamba-c88195fbe3a6b201f24ffb1ababdac22dd2c33a3.tar.gz
samba-c88195fbe3a6b201f24ffb1ababdac22dd2c33a3.tar.bz2
samba-c88195fbe3a6b201f24ffb1ababdac22dd2c33a3.zip
s4:dlz_bind9: add missing earch bases for windows 2000 domains
By default the samba4 dlz_bind9 backend searches under CN=MicrosoftDNS,DC=DomainDnsZones and CN=MicrosoftDNS,DC=ForestDnsZones. In my samba4 test setup all DNS zones are under CN=MicrosoftDNS,CN=System. After adding the attached patch it works fine for me. Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source4/dns_server/dlz_bind9.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c
index 4873112a11..4105c1119e 100644
--- a/source4/dns_server/dlz_bind9.c
+++ b/source4/dns_server/dlz_bind9.c
@@ -53,6 +53,7 @@ struct dlz_bind9_data {
static const char *zone_prefixes[] = {
"CN=MicrosoftDNS,DC=DomainDnsZones",
"CN=MicrosoftDNS,DC=ForestDnsZones",
+ "CN=MicrosoftDNS,CN=System",
NULL
};