summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/netcmd/fsmo.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-09-16 15:15:35 +1000
committerAndrew Tridgell <tridge@samba.org>2011-09-19 10:57:03 +1000
commit966b5d5de2fc40ff77e2b947c61a2419795a2282 (patch)
tree493acc3376969e639b126b82bd50c69daf2eb009 /source4/scripting/python/samba/netcmd/fsmo.py
parentf79d6ee929884ad76f2a88fc67c660fec31b8ed7 (diff)
downloadsamba-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/scripting/python/samba/netcmd/fsmo.py')
-rw-r--r--source4/scripting/python/samba/netcmd/fsmo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/fsmo.py b/source4/scripting/python/samba/netcmd/fsmo.py
index 78a2014825..06a2de1c2c 100644
--- a/source4/scripting/python/samba/netcmd/fsmo.py
+++ b/source4/scripting/python/samba/netcmd/fsmo.py
@@ -139,7 +139,7 @@ class cmd_fsmo_show(Command):
domain_dn = samdb.domain_dn()
self.infrastructure_dn = "CN=Infrastructure," + domain_dn
- self.naming_dn = "CN=Partitions," + samdb.get_config_basedn()
+ self.naming_dn = "CN=Partitions,%s" % samdb.get_config_basedn()
self.schema_dn = samdb.get_schema_basedn()
self.rid_dn = "CN=RID Manager$,CN=System," + domain_dn