server/utils.py
changeset 8387 b59af20a868d
parent 8349 fdb796435d7b
child 8399 0ea4ccf1d9a6
--- a/server/utils.py	Thu May 03 15:50:23 2012 +0200
+++ b/server/utils.py	Thu May 03 15:52:01 2012 +0200
@@ -57,7 +57,7 @@
     def calc_checksum(self, secret):
         return md5crypt(secret, self.salt.encode('ascii'))
 
-myctx = CryptContext(['sha512_crypt', CustomMD5Crypt, 'des_crypt'])
+myctx = CryptContext(['sha512_crypt', CustomMD5Crypt, 'des_crypt', 'ldap_salted_sha1'])
 
 def crypt_password(passwd, salt=None):
     """return the encrypted password using the given salt or a generated one