Displaying 20 results from an estimated 26 matches for "vpw".
Did you mean:
vp
2004 Sep 30
0
dovecot not working with some vpopmail passwords
...-1,4 +1,4 @@
-/* Copyright (C) 2002-2003 Timo Sirainen */
+/* Copyright (C) 2002-2003 cTimo Sirainen */
/* Thanks to Courier-IMAP for showing how the vpopmail API should be used */
@@ -20,6 +20,7 @@
{
char vpop_user[VPOPMAIL_LIMIT], vpop_domain[VPOPMAIL_LIMIT];
struct vqpasswd *vpw;
+ char *password_crypt;
int result;
vpw = vpopmail_lookup_vqp(request->user,
@@ -44,7 +45,12 @@
}
/* verify password */
- result = strcmp(mycrypt(password, vpw->pw_passwd), vpw->pw_passwd)
== 0;
+
+ if (strncmp(vpw->pw_passwd, "...
2018 Oct 04
3
vpopmail
...). It seems that in the code 'passdb-vpopmail.c' (below)
that if the clear password (pw_clear_passwd) is present Dovecot skips
the hashed password (pw_passwd), and we want authentication against
the hashed password. <snippet> if
(vpopmail_is_disabled(auth_request, vpw)) {
auth_request_log_info(auth_request, AUTH_SUBSYS_DB,
"%s disabled in vpopmail for this user",
auth_request->service);
password = NULL; *result_r =...
2018 Oct 04
2
vpopmail
Quoting Aki Tuomi <aki.tuomi at open-xchange.com>:
> On 03.10.2018 23:30, Eric Broch wrote:
>> Hello list,
>>
>> I run Dovecot with the vpopmail driver and have found that it
>> authenticates against the clear text password in the vpopmail
>> database. Is there a configuration option either at compile time, link
>> time, or a setting in one of the
2018 Oct 04
2
vpopmail
...il.c' (below) that if the
>> clear password (pw_clear_passwd) is present Dovecot skips the
>> hashed password (pw_passwd), and we want authentication against the
>> hashed password.
>>
>> <snippet>
>> if (vpopmail_is_disabled(auth_request, vpw)) {
>> auth_request_log_info(auth_request, AUTH_SUBSYS_DB,
>> "%s disabled in vpopmail for
>> this user",
>> auth_request->service);
>> password =...
2018 Oct 04
0
vpopmail
...(pw_passwd).
It seems that in the code 'passdb-vpopmail.c' (below) that if the clear password (pw_clear_passwd) is present Dovecot skips the hashed password (pw_passwd), and we want authentication against the hashed password.
<snippet>
if (vpopmail_is_disabled(auth_request, vpw)) {
auth_request_log_info(auth_request, AUTH_SUBSYS_DB,
"%s disabled in vpopmail for this user",
auth_request->service);
password = NULL;
*result_r = PASSDB_...
2004 Sep 22
3
problems with cvs version and vpopmail
Hi, I have tried compiling the latest cvs version of dovecot on my FreeBSD
5.2.1-release box with the ports version of vpopmail: 5.4.3_1.
In the configuration file I have two auth paragraphs, one for passwd
authentication and one for vpopmail-auth:
auth vpopmail {
mechanisms = plain
userdb = vpopmail
passdb = vpopmail
user = vpopmail
}
But the vpopmail dosn'nt work. I got the
2018 Oct 04
0
vpopmail
...It seems that in the code 'passdb-vpopmail.c' (below) that if the clear password (pw_clear_passwd) is present Dovecot skips the hashed password (pw_passwd), and we want authentication against the hashed password.
>
> <snippet>
> if (vpopmail_is_disabled(auth_request, vpw)) {
> auth_request_log_info(auth_request, AUTH_SUBSYS_DB,
> "%s disabled in vpopmail for this user",
> auth_request->service);
> password = NULL;
>...
2018 Oct 04
0
vpopmail
...if the
>>> clear password (pw_clear_passwd) is present Dovecot skips the
>>> hashed password (pw_passwd), and we want authentication against
>>> the hashed password.
>>>
>>> <snippet>
>>> ? ? ? ?if (vpopmail_is_disabled(auth_request, vpw)) {
>>> ? ? ? ? ? ? ? ?auth_request_log_info(auth_request, AUTH_SUBSYS_DB,
>>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?"%s disabled in vpopmail for
>>> this user",
>>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?auth_request->service);
>>> ? ? ? ? ?...
2008 Jun 13
0
"Disable non webmail IMAP access" in vpopmail and Dovecot
...a solution to this problem and i found one
working for me
in dovecot sources edit src/auth/passdb-vpopmail.c
than add
char *remotehost = net_ip2addr(&auth_request->remote_ip);
auth_request_log_info(auth_request, "vpopmail", "remote ip is: %s",
remotehost);
before if (((vpw->pw_gid & NO_IMAP) != 0 && line
than modify the condition line to look like:
if (((vpw->pw_gid & NO_IMAP) != 0 &&
? ? ? ? ? ? ?strcmp(auth_request->service, "IMAP") == 0 *&&
strcmp(remotehost, "127.0.0.1") != 0*) ||
? ? ? ? ? ? ((vpw-&g...
2006 Jan 18
2
%d interpolation problem fixed
...qp contains all the right values. eg (these are
debugging-for-dummies lines that I've scattered everywhere):
> dovecot: Jan 17 22:51:42 Info: auth(default): *
> vpopmail_verify_plain: now vpop_user = sysadmin, vpop_domain =
> spanner.org, request->user = sysadmin@spanner.org, vpw->pw_dir = /
> home/vpopmail/domains/spanner.org/sysadmin
in the callback method I got this tab-separated auth_reply_stream:
> dovecot: Jan 18 00:30:01 Info: auth(default): userdb_callback str:
> USER 2 sysadmin uid=7797 gid=2109 home=/home/
> vpopmail/domains...
2009 Aug 31
1
dovecot-auth segfault with vpopmail 5.5.0 on amd64
...?? ()
(gdb)
(gdb) bt full
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#1 0x000000000041eb2d in vpopmail_lookup_vqp (request=0x1ae6548,
vpop_user=0x7fff7a044830 "lawrence", vpop_domain=0x7fff7a0447d0
"shanghaiguide.com") at userdb-vpopmail.c:43
vpw = <value optimized out>
#2 0x000000000041c9c6 in vpopmail_password_lookup
(auth_request=0x7fff7a044830, cleartext=false,
result_r=0x7fff7a0448d4) at passdb-vpopmail.c:65
vpop_user = "lawrence", '\0' <repeats 72 times>
vpop_domain = "shanghaigu...
2008 Sep 25
1
patch for passdb-vpopmail in v1.1.3
...popmail (yes, yes, I know, don't
ask). Enabling the code to update the relays file brings a small bug
to light, fixable with the following patch:
--- passdb-vpopmail.c~ 2008-09-25 15:06:47.000000000 +0100
+++ passdb-vpopmail.c 2008-09-25 15:07:14.000000000 +0100
@@ -31,9 +31,9 @@
}
if (((vpw->pw_gid & NO_IMAP) != 0 &&
- strcmp(auth_request->service, "IMAP") == 0) ||
+ strcasecmp(auth_request->service, "IMAP") == 0) ||
((vpw->pw_gid & NO_POP) != 0 &&
- strcmp(auth_request->service, "POP3") == 0)) {...
2004 Jun 14
1
vpopmail and open smtp relay
...b-vpopmail.h"
+#include "env-util.h"
+
static void
vpopmail_verify_plain(struct auth_request *request, const char *password,
verify_plain_callback_t *callback)
@@ -21,6 +23,7 @@
char vpop_user[VPOPMAIL_LIMIT], vpop_domain[VPOPMAIL_LIMIT];
struct vqpasswd *vpw;
int result;
+ const char *ip_addr_fe;
vpw = vpopmail_lookup_vqp(request->user,
vpop_user, vpop_domain);
@@ -57,6 +60,15 @@
return;
}
+ /* it is needed for open smtp relay */
+
+ ip_addr_fe = net_ip2addr(&request->client_ip);
+...
2010 Feb 26
2
segfault with vpopmail 5.5.0
...al 11 (core dumped)
(gdb) bt full
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#1 0x0000000000423b0e in vpopmail_lookup_vqp (request=0x726f68, vpop_user=0x7fff6666ae20 "postmaster",
vpop_domain=0x7fff6666adc0 "test.bogus")
at userdb-vpopmail.c:43
vpw = <value optimized out>
#2 0x0000000000421376 in vpopmail_password_lookup (auth_request=0x7fff6666ae20, cleartext=false,
result_r=0x7fff6666aebc) at passdb-vpopmail.c:65
vpop_user = "postmaster", '\000' <repeats 70 times>
vpop_domain = "test.bogus...
2005 Sep 11
0
Minor patch for vpopmail support
...db-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 Boston Way
Lanham,...
2005 Nov 03
0
Vpopmail authentication problem
...h "verbose" option and keep getting this error :
Nov 3 11:10:58 ***** dovecot: auth(default): vpopmail(lb at mm.fr):
unknown user (lb at mm.fr)
whatever user/domain/password I am testing (including the correct one,
of course)
This is in src/auth/userdb-vpopmail.c line 35 :
vpw = vauth_getpw(vpop_user, vpop_domain);
According to the makefile, the binary was built with
-L/home/vpopmail/lib and -I/home/vpopmail/include options ("standard"
qmail/vmailmgr/vpopmail installation) so it should be ok ?
I checked the permissions by setting a shell for vpopmail user,...
2003 Jan 14
1
0.99.7 out
This one seems to be actually working. Also rewrote doc/index.txt in
case someone is interested.
2020 Feb 25
2
[PATCH 04/12] drm: Nuke mode->vrefresh
...> index 09deb99981a4..ecd76b5391d3 100644
> > --- a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
> > +++ b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
> > @@ -170,7 +170,6 @@ static int lcd_olinuxino_get_modes(struct drm_panel *panel,
> > lcd_mode->vpw;
> > mode->vtotal = lcd_mode->vactive + lcd_mode->vfp +
> > lcd_mode->vpw + lcd_mode->vbp;
> > - mode->vrefresh = lcd_mode->refresh;
> >
> > /* Always make the first mode preferred */
> > if (i == 0)
> > diff --gi...
2020 Feb 24
0
[PATCH 04/12] drm: Nuke mode->vrefresh
...imex-lcd-olinuxino.c
> index 09deb99981a4..ecd76b5391d3 100644
> --- a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
> +++ b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
> @@ -170,7 +170,6 @@ static int lcd_olinuxino_get_modes(struct drm_panel *panel,
> lcd_mode->vpw;
> mode->vtotal = lcd_mode->vactive + lcd_mode->vfp +
> lcd_mode->vpw + lcd_mode->vbp;
> - mode->vrefresh = lcd_mode->refresh;
>
> /* Always make the first mode preferred */
> if (i == 0)
> diff --git a/drivers/gpu/drm/panel/panel-ori...
2020 Feb 25
0
[PATCH 04/12] drm: Nuke mode->vrefresh
...09deb99981a4..ecd76b5391d3 100644
>>> --- a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
>>> +++ b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
>>> @@ -170,7 +170,6 @@ static int lcd_olinuxino_get_modes(struct drm_panel *panel,
>>> lcd_mode->vpw;
>>> mode->vtotal = lcd_mode->vactive + lcd_mode->vfp +
>>> lcd_mode->vpw + lcd_mode->vbp;
>>> - mode->vrefresh = lcd_mode->refresh;
>>>
>>> /* Always make the first mode preferred */
>>> if (i == 0)
&...