[dovecot-cvs] dovecot/src/auth auth-worker-client.c,1.8,1.9
cras at dovecot.org
cras at dovecot.org
Thu Apr 21 19:33:50 EEST 2005
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv9005
Modified Files:
auth-worker-client.c
Log Message:
We weren't sending proxy's password back with blocking passdb.
Index: auth-worker-client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-worker-client.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- auth-worker-client.c 2 Apr 2005 22:00:49 -0000 1.8
+++ auth-worker-client.c 21 Apr 2005 16:33:47 -0000 1.9
@@ -95,6 +95,11 @@
if (request->passdb_password != NULL)
str_append(str, request->passdb_password);
str_append_c(str, '\t');
+ if (request->proxy) {
+ /* we're proxying - send back the password that was
+ sent by user (not the password in passdb). */
+ str_printfa(str, "pass=%s\t", request->mech_password);
+ }
if (request->extra_fields != NULL)
str_append_str(str, request->extra_fields);
}
More information about the dovecot-cvs
mailing list