When running: [root@guardian ~]# pulp-admin -uadmin -padmin user create --newusername jdob --newpassword foo The following is output in /var/log/pulp/pulp.log: 2010-08-16 13:51:36,661 password received is foo 2010-08-16 13:51:36,661 login jdob 2010-08-16 13:51:36,661 name 2010-08-16 13:51:36,671 Traceback (most recent call last): File "/home/jdob/vault/code/pulp/src/pulp/webservices/controllers/base.py", line 50, in report_error return method(self, *args, **kwargs) File "/home/jdob/vault/code/pulp/src/pulp/webservices/role_check.py", line 102, in check_roles ret=f(instance, *fargs, **kw) File "/home/jdob/vault/code/pulp/src/pulp/webservices/controllers/users.py", line 50, in PUT user_data['name']) File "/home/jdob/vault/code/pulp/src/pulp/auditing.py", line 186, in _audit result = method(*args, **kwargs) File "/home/jdob/vault/code/pulp/src/pulp/api/user.py", line 60, in create hashed_password = password_util.hash_password(password) File "/home/jdob/vault/code/pulp/src/pulp/password_util.py", line 20, in hash_password hashed_password = pbkdf_sha256(plain_password, salt, NUM_ITERATIONS) File "/home/jdob/vault/code/pulp/src/pulp/password_util.py", line 14, in pbkdf_sha256 result = HMAC(result, salt, sha256).digest() # use HMAC to apply the salt File "/usr/lib64/python2.6/hmac.py", line 72, in __init__ self.outer.update(key.translate(trans_5C)) TypeError: character mapping must return integer, None or unicode
*** This bug has been marked as a duplicate of bug 623969 ***