changeset 5969 | caea22e82d83 |
parent 5968 | 2e039d1e150c |
child 9460 | a2a0bc984863 |
--- a/misc/scripts/ldap_change_base_dn.py Tue Jul 13 15:45:42 2010 +0200 +++ b/misc/scripts/ldap_change_base_dn.py Tue Jul 13 16:07:41 2010 +0200 @@ -17,7 +17,7 @@ newuserdn = olduserdn.replace(olddn, newdn) if newuserdn != olduserdn: print olduserdn, '->', newuserdn - sql("UPDATE entities SET extid='%s' WHERE eid=%s" % (b64encode(newdn), eid)) + sql("UPDATE entities SET extid='%s' WHERE eid=%s" % (b64encode(newuserdn), eid)) commit()