search for: auth_stream_reply_init

Displaying 5 results from an estimated 5 matches for "auth_stream_reply_init".

2005 Sep 11
0
Minor patch for vpopmail support
...th has been tested recently, since it fails to compile without the following patch (works fine with it): --- src/auth/userdb-vpopmail.c 7 Aug 2005 11:41:19 -0000 1.17 +++ src/auth/userdb-vpopmail.c 11 Sep 2005 11:57:42 -0000 @@ -84,7 +84,7 @@ } } - reply = auth_stream_reply_init(); + reply = auth_stream_reply_init(auth_request); auth_stream_reply_add(reply, NULL, vpw->pw_name); auth_stream_reply_add(reply, "uid", dec2str(uid)); auth_stream_reply_add(reply, "gid", dec2str(gid)); Thanks John -- John Peacock Director...
2006 Feb 03
1
passwd-userdb with args
...ream_reply *reply; + const struct var_expand_table *table; + string_t *str; + const char *const *args, *value; + unsigned int i, count; pw = getpwnam(auth_request->user); if (pw == NULL) { *************** *** 29,48 **** pw->pw_name, auth_request->user); } reply = auth_stream_reply_init(auth_request); auth_stream_reply_add(reply, NULL, pw->pw_name); auth_stream_reply_add(reply, "system_user", pw->pw_name); auth_stream_reply_add(reply, "uid", dec2str(pw->pw_uid)); auth_stream_reply_add(reply, "gid", dec2str(pw->pw_gid)); auth...
2007 Jan 15
1
patch for serdb-ldap which allows set user_global_mail variable
...0 +++ dovecot-1.0.rc17/src/auth/userdb-ldap.c 2006-12-21 18:06:28.000000000 +0200 @@ -72,7 +72,7 @@ const char *name; char *attr, **vals; unsigned int i; - bool seen_uid = FALSE, seen_gid = FALSE; + bool seen_uid = FALSE, seen_gid = FALSE, seen_mail = FALSE ; reply = auth_stream_reply_init(auth_request); auth_stream_reply_add(reply, NULL, auth_request->user); @@ -94,6 +94,7 @@ return NULL; seen_gid = TRUE; } else if (*name != '\0') { + if (strcmp(name, "mail") == 0) {seen_mail = TRUE;}...
2006 Jan 18
2
%d interpolation problem fixed
On 6 Dec 2005, at 17:21, Timo Sirainen wrote: > On Tue, 2005-12-06 at 17:11 +0000, William Ross wrote: >> On 6 Dec 2005, at 16:51, Timo Sirainen wrote: >> >>> On Fri, 2005-10-28 at 17:52 +0200, Riccardo Bini wrote: >>>>> I just wrote this: http://wiki.dovecot.org/Quota >>>> Well... but you have to correct %n with vpopmail backend. %u in the
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...elds(request, args, NULL); } } @@ -73,7 +74,8 @@ struct auth_stream_reply *reply; i_assert(auth_stream_is_empty(request->extra_fields) || - request->master_user != NULL); + request->master_user != NULL || + request->submit_user != NULL); /* APPLE - urlauth */ reply = auth_stream_reply_init(pool_datastack_create()); auth_stream_reply_add(reply, "PASSV", NULL); @@ -112,7 +114,8 @@ struct auth_stream_reply *reply; i_assert(auth_stream_is_empty(request->extra_fields) || - request->master_user != NULL); + request->master_user != NULL || + request->submi...