From 0c2f91c6b299e6ba6243268aa7b131f5c04f92b1 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 20 Sep 2011 17:33:20 +1000 Subject: s4-provision: Create ldap records for DNS partitions similar to windows this allows easy comparison between windows and samba ldap trees Autobuild-User: Amitay Isaacs Autobuild-Date: Wed Nov 9 08:27:46 CET 2011 on sn-devel-104 --- source4/scripting/python/samba/provision/sambadns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting/python') diff --git a/source4/scripting/python/samba/provision/sambadns.py b/source4/scripting/python/samba/provision/sambadns.py index 24272f5017..c3725f6da1 100644 --- a/source4/scripting/python/samba/provision/sambadns.py +++ b/source4/scripting/python/samba/provision/sambadns.py @@ -278,7 +278,6 @@ def add_dns_container(samdb, domaindn, prefix, domainsid): sec = security.descriptor.from_sddl(sddl, domainsid) msg = ldb.Message(ldb.Dn(samdb, "CN=MicrosoftDNS,%s,%s" % (prefix, domaindn))) msg["objectClass"] = ["top", "container"] - msg["displayName"] = ldb.MessageElement("DNS Servers", ldb.FLAG_MOD_ADD, "displayName") msg["nTSecurityDescriptor"] = ndr_pack(sec) samdb.add(msg) @@ -311,6 +310,7 @@ def add_rootservers(samdb, domaindn, prefix): # Add DC=RootDNSServers,CN=MicrosoftDNS,, msg = ldb.Message(ldb.Dn(samdb, container_dn)) msg["objectClass"] = ["top", "dnsZone"] + msg["cn"] = ldb.MessageElement("Zone", ldb.FLAG_MOD_ADD, "cn") samdb.add(msg) # Add DC=@,DC=RootDNSServers,CN=MicrosoftDNS,, -- cgit