diff -r 2e039d1e150c -r caea22e82d83 misc/scripts/ldap_change_base_dn.py --- 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()