r26538: Pass path generation function around rather than base directory.
[ira/wip.git] / source / scripting / python / samba / upgrade.py
index 4521d4604d6dd9ba51f645511d2a81d08ff7d217..1c27f8ec25181c6494a1a1e91a34e6bcd9eaaf41 100644 (file)
@@ -537,9 +537,7 @@ replace: @LIST
 @LIST: samldb,operational,objectguid,rdn_name,samba3sam
 """)
 
 @LIST: samldb,operational,objectguid,rdn_name,samba3sam
 """)
 
-        samdb.add("""
-dn: @MAP=samba3sam
-@MAP_URL: %s""" % ldapurl)
+        samdb.add({"dn": "@MAP=samba3sam", "@MAP_URL": ldapurl})
 
     return ret
 
 
     return ret