[dovecot-cvs] dovecot/src/auth auth-request-handler.c, 1.12.2.1, 1.12.2.2
cras at dovecot.org
cras at dovecot.org
Thu Aug 3 18:37:56 EEST 2006
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv3853
Modified Files:
Tag: branch_1_0
auth-request-handler.c
Log Message:
When logging in as master user, send it as "master_user" field to master
among other userdb fields.
Index: auth-request-handler.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request-handler.c,v
retrieving revision 1.12.2.1
retrieving revision 1.12.2.2
diff -u -d -r1.12.2.1 -r1.12.2.2
--- auth-request-handler.c 17 Jun 2006 15:14:14 -0000 1.12.2.1
+++ auth-request-handler.c 3 Aug 2006 15:37:54 -0000 1.12.2.2
@@ -396,6 +396,10 @@
if (reply == NULL)
str_printfa(str, "NOTFOUND\t%u", request->id);
else {
+ if (request->master_user != NULL) {
+ auth_stream_reply_add(reply, "master_user",
+ request->master_user);
+ }
str_printfa(str, "USER\t%u\t", request->id);
str_append(str, auth_stream_reply_export(reply));
}
More information about the dovecot-cvs
mailing list