diff -r 99689a5862ea -r c45f4bcff3aa server/sources/native.py --- a/server/sources/native.py Mon Oct 05 15:49:17 2015 +0200 +++ b/server/sources/native.py Mon Oct 05 16:28:07 2015 +0200 @@ -1545,7 +1545,7 @@ SQL_PREFIX + 'CWUser', SQL_PREFIX + 'upassword', SQL_PREFIX + 'login'), - {'newhash': self.source._binary(newhash), + {'newhash': self.source._binary(newhash.encode('ascii')), 'login': login}) cnx.commit() return user