[dovecot-cvs] dovecot/src/auth auth-request-handler.c,1.14,1.15
cras at dovecot.org
cras at dovecot.org
Thu Aug 3 18:37:58 EEST 2006
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv10801
Modified Files:
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.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- auth-request-handler.c 28 Jun 2006 13:10:25 -0000 1.14
+++ auth-request-handler.c 3 Aug 2006 15:37:55 -0000 1.15
@@ -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