diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-09-16 15:15:35 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-09-19 10:57:03 +1000 |
commit | 966b5d5de2fc40ff77e2b947c61a2419795a2282 (patch) | |
tree | 493acc3376969e639b126b82bd50c69daf2eb009 /source4/dsdb/tests/python/urgent_replication.py | |
parent | f79d6ee929884ad76f2a88fc67c660fec31b8ed7 (diff) | |
download | samba-966b5d5de2fc40ff77e2b947c61a2419795a2282.tar.gz samba-966b5d5de2fc40ff77e2b947c61a2419795a2282.tar.bz2 samba-966b5d5de2fc40ff77e2b947c61a2419795a2282.zip |
pyldb: fixed places where we try to concatenate a Dn with a string
you need to either use str(dn) or use %s in a format string
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 40921e1cb1..2a07a58d86 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," + self.ldb.get_config_basedn(), + "dn": "cn=test server,cn=Servers,cn=Default-First-Site-Name,cn=Sites,%s" % self.ldb.get_config_basedn(), "objectclass":"server", "cn":"test server", "name":"test server", |