diff options
author | Amitay Isaacs <amitay@gmail.com> | 2012-04-02 17:15:09 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2012-04-02 10:56:10 +0200 |
commit | 13a4b7284753e7e52bad7dd19aa50327b886d845 (patch) | |
tree | b17e8172fa47bc64a0a547f676df1ca51f66a934 /source4/scripting/bin/samba_upgradedns | |
parent | 2c322ca95a7dc4fb8396b475d115f31837316267 (diff) | |
download | samba-13a4b7284753e7e52bad7dd19aa50327b886d845.tar.gz samba-13a4b7284753e7e52bad7dd19aa50327b886d845.tar.bz2 samba-13a4b7284753e7e52bad7dd19aa50327b886d845.zip |
s4-upgradedns: Fix the fqdn for forest dns zone
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Mon Apr 2 10:56:10 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/scripting/bin/samba_upgradedns')
-rwxr-xr-x | source4/scripting/bin/samba_upgradedns | 2 |
1 files changed, 1 insertions, 1 deletions
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] |