diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-09-16 11:14:12 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-09-19 10:57:03 +1000 |
commit | 4577ee1f957e08d19b2c849b9b698b31474040ff (patch) | |
tree | bcff56e9213bb0d2e95a0327ae5670d49e45a379 /source4/dsdb/tests/python/urgent_replication.py | |
parent | cea37b0d6d0f5f32fdfafd160dfbcf2c5dccdb12 (diff) | |
download | samba-4577ee1f957e08d19b2c849b9b698b31474040ff.tar.gz samba-4577ee1f957e08d19b2c849b9b698b31474040ff.tar.bz2 samba-4577ee1f957e08d19b2c849b9b698b31474040ff.zip |
s4-dsdb: use get_config_basedn() in python tests
we can't just append CN=Configuration to the basedn, as that won't
give the right configuration DN for a subdomain of a forest
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/tests/python/urgent_replication.py')
-rwxr-xr-x | source4/dsdb/tests/python/urgent_replication.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/urgent_replication.py b/source4/dsdb/tests/python/urgent_replication.py index 3759c82de8..40921e1cb1 100755 --- a/source4/dsdb/tests/python/urgent_replication.py +++ b/source4/dsdb/tests/python/urgent_replication.py @@ -87,7 +87,7 @@ class UrgentReplicationTests(samba.tests.TestCase): '''Test if the urgent replication is activated when handling a nTDSDSA object''' self.ldb.add({ - "dn": "cn=test server,cn=Servers,cn=Default-First-Site-Name,cn=Sites,cn=Configuration," + self.base_dn, + "dn": "cn=test server,cn=Servers,cn=Default-First-Site-Name,cn=Sites," + self.ldb.get_config_basedn(), "objectclass":"server", "cn":"test server", "name":"test server", |