Displaying 2 results from an estimated 2 matches for "password_get_scheme".
2004 Dec 06
0
[PATCH] passdb cache fixes
...edentials(stru
const char **scheme_r)
{
const char *value, *const *list;
- const char *cached_pw;
if (passdb_cache == NULL)
return FALSE;
@@ -108,7 +107,7 @@ int passdb_cache_lookup_credentials(stru
list_save(request, NULL, list+1);
*result_r = list[0];
- *scheme_r = password_get_scheme(&cached_pw);
+ *scheme_r = password_get_scheme(result_r);
return TRUE;
}
-------------- next part --------------
diff -urdpNX /usr/share/dontdiff dovecot-1.0-test55.vanilla/src/auth/mech.c dovecot-1.0-test55/src/auth/mech.c
--- dovecot-1.0-test55.vanilla/src/auth/mech.c 2004-12-04 18:07:56...
2003 Apr 08
1
Patch for passdb-passwd-file.c
...=====
RCS file: /home/cvs/dovecot/src/auth/passdb-passwd-file.c,v
retrieving revision 1.6
diff -u -u -r1.6 passdb-passwd-file.c
--- passdb-passwd-file.c 18 Feb 2003 19:24:44 -0000 1.6
+++ passdb-passwd-file.c 8 Apr 2003 15:59:53 -0000
@@ -28,7 +28,7 @@
crypted_pass = pu->password;
scheme = password_get_scheme(&crypted_pass);
- if (scheme == NULL) scheme = "DES";
+ if (scheme == NULL) scheme = "CRYPT";
ret = password_verify(password, crypted_pass, scheme,
request->user);