search for: auth_stream_reply_add

Displaying 6 results from an estimated 6 matches for "auth_stream_reply_add".

2006 Feb 03
1
passwd-userdb with args
...pand_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_stream_reply_add(reply, "home&quot...
2007 Jan 15
1
patch for serdb-ldap which allows set user_global_mail variable
....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;} for (i = 0; vals[i] != NULL; i++...
2007 Jun 12
1
vpopmail quota
Hi, I'd like the vpopmail user database to return the quota settings for users, instead of having to rely on the validity of the maildirsize files. It doesn't look like this is currently possible. Would simply adding a auth_stream_reply_add call for "quota" with a suitable value in vpopmail_lookup be sufficient to make this work? (the quota can be read from the pw_shell field of the vqpasswd struct) Onno -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp...
2005 Sep 11
0
Minor patch for vpopmail support
...s 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 of Information Research and Technology Rowman & Littlefield Publishing Group 4720 B...
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
...vecot-1.2.11+lemonade/src/auth/auth-request-handler.c --- dovecot-1.2.11/src/auth/auth-request-handler.c 2010-01-24 17:14:17.000000000 -0600 +++ dovecot-1.2.11+lemonade/src/auth/auth-request-handler.c 2010-04-08 09:59:12.000000000 -0500 @@ -249,7 +249,8 @@ if (request->internal_failure) auth_stream_reply_add(reply, "temp", NULL); - else if (request->master_user != NULL) { + else if (request->master_user != NULL || + request->submit_user != NULL) { /* APPLE - urlauth */ /* authentication succeeded, but we can't log in as the wanted user */ auth_stream_reply_ad...