[dovecot-cvs] dovecot/src/auth passdb-checkpassword.c, 1.18.2.10, 1.18.2.11
tss at dovecot.org
tss at dovecot.org
Fri Feb 16 17:26:19 UTC 2007
- Previous message: [dovecot-cvs] dovecot/src/auth auth-request.c, 1.85, 1.86 auth-request.h, 1.32, 1.33 passdb-blocking.c, 1.15, 1.16 passdb-cache.c, 1.20, 1.21
- Next message: [dovecot-cvs] dovecot/src/auth passdb-checkpassword.c,1.31,1.32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv13647
Modified Files:
Tag: branch_1_0
passdb-checkpassword.c
Log Message:
Use auth_request_set_fields() to set the fields returned by checkpassword
script instead of auth_stream_import()ing directly into extra_fields. This
way checkpassword can set special extra fields.
Index: passdb-checkpassword.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-checkpassword.c,v
retrieving revision 1.18.2.10
retrieving revision 1.18.2.11
diff -u -d -r1.18.2.10 -r1.18.2.11
--- passdb-checkpassword.c 26 Jan 2007 13:58:30 -0000 1.18.2.10
+++ passdb-checkpassword.c 16 Feb 2007 17:26:17 -0000 1.18.2.11
@@ -74,10 +74,9 @@
"LF characters in checkpassword reply");
result = PASSDB_RESULT_INTERNAL_FAILURE;
} else {
- request->request->extra_fields =
- auth_stream_reply_init(request->request);
- auth_stream_reply_import(request->request->extra_fields,
- str_c(request->input_buf));
+ auth_request_set_fields(request->request,
+ t_strsplit(str_c(request->input_buf), "\t"),
+ NULL);
}
}
- Previous message: [dovecot-cvs] dovecot/src/auth auth-request.c, 1.85, 1.86 auth-request.h, 1.32, 1.33 passdb-blocking.c, 1.15, 1.16 passdb-cache.c, 1.20, 1.21
- Next message: [dovecot-cvs] dovecot/src/auth passdb-checkpassword.c,1.31,1.32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list