From 13a4b7284753e7e52bad7dd19aa50327b886d845 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Mon, 2 Apr 2012 17:15:09 +1000 Subject: s4-upgradedns: Fix the fqdn for forest dns zone Autobuild-User: Amitay Isaacs Autobuild-Date: Mon Apr 2 10:56:10 CEST 2012 on sn-devel-104 --- source4/scripting/bin/samba_upgradedns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting/bin') diff --git a/source4/scripting/bin/samba_upgradedns b/source4/scripting/bin/samba_upgradedns index 86172a762d..5a335a91f4 100755 --- a/source4/scripting/bin/samba_upgradedns +++ b/source4/scripting/bin/samba_upgradedns @@ -345,7 +345,7 @@ if __name__ == '__main__': # Create DNS partitions if missing and fill DNS information try: expression = '(|(dnsRoot=DomainDnsZones.%s)(dnsRoot=ForestDnsZones.%s))' % \ - (dnsdomain, dnsdomain) + (dnsdomain, dnsforest) msg = ldbs.sam.search(base=names.configdn, scope=ldb.SCOPE_DEFAULT, expression=expression, attrs=['nCName']) ncname = msg[0]['nCName'][0] -- cgit