diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-08-22 17:43:56 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-08-25 07:39:39 +1000 |
commit | 4f421d04064c7f1a3a4052a37c2908a8e5dbeb89 (patch) | |
tree | 6cb424bbea8e5d7d2ddac98f99c029332388b1b9 /source4/dsdb/tests/python | |
parent | 68100e5a21adab26dee367b0742a76b485edc16e (diff) | |
download | samba-4f421d04064c7f1a3a4052a37c2908a8e5dbeb89.tar.gz samba-4f421d04064c7f1a3a4052a37c2908a8e5dbeb89.tar.bz2 samba-4f421d04064c7f1a3a4052a37c2908a8e5dbeb89.zip |
s4-acl: use dnsforest not dnsdomain for GC names
Diffstat (limited to 'source4/dsdb/tests/python')
-rwxr-xr-x | source4/dsdb/tests/python/acl.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/tests/python/acl.py b/source4/dsdb/tests/python/acl.py index 0714178209..22080a3ebe 100755 --- a/source4/dsdb/tests/python/acl.py +++ b/source4/dsdb/tests/python/acl.py @@ -1682,7 +1682,7 @@ class AclSPNTests(AclTests): self.replace_spn(self.ldb_user1, ctx.acct_dn, "HOST/%s.%s/%s" % (ctx.myname, ctx.dnsdomain, ctx.dnsdomain)) self.replace_spn(self.ldb_user1, ctx.acct_dn, "GC/%s.%s/%s" % - (ctx.myname, ctx.dnsdomain, ctx.dnsdomain)) + (ctx.myname, ctx.dnsdomain, ctx.dnsforest)) self.replace_spn(self.ldb_user1, ctx.acct_dn, "ldap/%s/%s" % (ctx.myname, netbiosdomain)) self.replace_spn(self.ldb_user1, ctx.acct_dn, "ldap/%s.%s/%s" % (ctx.myname, ctx.dnsdomain, netbiosdomain)) @@ -1741,7 +1741,7 @@ class AclSPNTests(AclTests): self.replace_spn(self.ldb_admin, self.computerdn, "HOST/%s.%s/%s" % (self.computername, self.dcctx.dnsdomain, self.dcctx.dnsdomain)) self.replace_spn(self.ldb_admin, self.computerdn, "GC/%s.%s/%s" % - (self.computername, self.dcctx.dnsdomain, self.dcctx.dnsdomain)) + (self.computername, self.dcctx.dnsdomain, self.dcctx.dnsforest)) self.replace_spn(self.ldb_admin, self.computerdn, "ldap/%s/%s" % (self.computername, netbiosdomain)) self.replace_spn(self.ldb_admin, self.computerdn, "ldap/%s.%s/ForestDnsZones.%s" % (self.computername, self.dcctx.dnsdomain, self.dcctx.dnsdomain)) @@ -1805,7 +1805,7 @@ class AclSPNTests(AclTests): self.assertEquals(num, ERR_CONSTRAINT_VIOLATION) try: self.replace_spn(self.ldb_user1, self.computerdn, "GC/%s.%s/%s" % - (self.computername, self.dcctx.dnsdomain, self.dcctx.dnsdomain)) + (self.computername, self.dcctx.dnsdomain, self.dcctx.dnsforest)) except LdbError, (num, _): self.assertEquals(num, ERR_CONSTRAINT_VIOLATION) try: |