Displaying 20 results from an estimated 1000 matches similar to: "Passing information from passdb to userdb"
2017 Aug 23
1
Patch: acl list from ldap must be possible to have multiple values, that combined in one comma separated list
diff to dovecot-2.2.31
hardcoded userdb_acl_groups /as currently not seeing any other fields that
need similar way/
in ldap using dynlist - labeledURIObject - some attribute
labeledURI ::
ldap:///ou=DovecotGroups,dc=DOMAIN,dc=TLD,dc=root?specName?sub?(&(objectclass=posixgroup)(memberuid=XXXXX))
that returns groupnames for each user that he belongs, but as multiple
values of same field ... must
2014 May 03
1
%{orig_user} missing in checkpassword-Script
Dear dovecot maintainers:
I'm using SSL client certificates together with a checkpassword scripts
to authenticate our users.
My problem is: In the checkpassword script the AUTH_USER environment
variable will either contain the username that was configured in the
mailclient (if auth_ssl_username_from_cert=false) or the username
from the certificate (if auth_ssl_username_from_cert=true).
I
2017 Nov 22
0
Passing information from passdb to userdb
The best way to is to use auth_request_set_userdb_field(request, key,
value);
and it will be available in userdb.
Aki
On 22.11.2017 01:57, Qmail wrote:
> I'm trying to hack together a new authentication back-end and I wanted to know if it's possible to pass values from passdb to userdb in the auth_request structure at authentication time. I modified struct auth_request in
2014 Apr 25
1
Segfault in auth (when talked to by postfix lda)
Afternoon all.
I'm seeing a segfault in dovecot 2.2.12 (debian package 1:2.2.12-2). I
can log into dovecot fine with mutt, but the segfaults seem to occur
when postfix (2.11.0, debian package 2.11.0-1+b1) tries to deliver a
message.
This was working fine under 2.2.9 (I can downgrade to that and delivery works).
Can anyone help? Doveconf -n, and backtrace follow.
2006 Feb 03
1
passwd-userdb with args
I'm not sure why the 'passwd' userdb didn't allow args, but it meant (for
instance) that the quota plugins weren't usable. I spent quite a bit of time
trying to get my new quota-rquotad plugin to work, only to find out that it
was my 'quota=rquotad:<filesystem list>' argument that wasn't being passed
to the imap child :)
The attached patch implements
2008 Jun 12
1
strange looking code and userdb errors
hi,
i'm trying to use passdb ldap and userdb prefetch, using the userdb_
prefixes in pass_attrs, and i get:
passdb didn't return userdb entries
looking at the code at auth/userdb-prefetch.c i see:
if (auth_request->userdb_reply == NULL) {
if (auth_request->auth->userdbs->next == NULL) {
/* no other userdbs */
2004 Jul 01
3
[PATCH, RFC] add APOP authentication mechanism
Hello all,
this patch add APOP authentication mechanism to dovecot 1.0-test23.
Please take a look.
Best regards.
--
Andrey Panin | Linux and UNIX system administrator
pazke at donpac.ru | PGP key: wwwkeys.pgp.net
-------------- next part --------------
diff -udrpN -X /usr/share/dontdiff -x Makefile dovecot-1.0-test23.vanilla/src/auth/Makefile.am dovecot-1.0-test23/src/auth/Makefile.am
---
2008 Sep 25
1
patch for passdb-vpopmail in v1.1.3
I need pop-before-smtp to work with vpopmail (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 &&
-
2006 Nov 18
2
Auth checking also the service
Hello everyone. I'm switching to dovecot from courier-imap and after some
problems with Apple Mail client, now everything seems to be fine.
The only problem that I have not solved yet is to check also the service
(pop3, pop3s, imap, imaps) in the authentication phase.
In courier-authlib I do this:
MYSQL_SELECT_CLAUSE SELECT username, \
password, \
2007 Mar 14
1
userdb-vpopmail.c bug in rc27
Hi!
I discovered a bug in $subject. Next line caused a compilation error:
auth_request_log_debug(auth_request, "vpopmail",
"lookup user=%s domain=%s",
vpop_user, vpop_domain);
I think, te correct version is:
auth_request_log_debug(request, "vpopmail",
"lookup user=%s domain=%s",
2016 Jul 26
2
[BUG] Re: auth_bind with "()" in username not working
Hi guys,
I had a look in the sources about this problem.
the problem seems to be the ldap_escape function that is called from
ldap_verify_plain_auth_bind_userdn(..)
I dont really know if this escaping is needed at this point, but with
this change it works for me. No other problems discovered so far.
could somebody, who is deeper in the sources give me a hint if
this will make some troubles?
2016 Jul 09
4
passdb {driver = shadow args = override_username=%variable}
Hello list
I want to implement override_username = %variable for the "shadow"
driver, so that the following works:
passdb {
driver = shadow
args = override_username=%Ln
}
by "%variable", I mean "Variables" at http://wiki.dovecot.org/Variables.
I've hacked up a solution with strtok(3C), but that's a hack and a
possible security hole, and I'd rather
2008 Dec 08
3
"nopassword" extra field useless with LDAP passdb
Hi,
We are trying to implement a highly secure mail server with user authentication restricted to SSL certificates only (not using passwords at all). Still, user information is stored in a LDAP directory. In this configuration LDAP is used to check whether the user is registered (and probably supply quota and other info), and actual authentication is done by SSL layer.
According to wiki, a
2010 Nov 16
1
Help - custom vpopmail
Hi,
First, I'm not sure if dovecot should alter this, but it seems vpopmail
writes the IP into the 'remote_ip' field instead of the auth type. Dovecot
still writes the auth type.? I want both.
So I modified my vpopmail install to write an additional field into the
lastauth table.? My custom vpopmail writes the remote IP into remote_ip,
and the auth type into a 'type'
2012 Jun 24
3
Additional passdb result status
Dear Dovecot-Team,
I am implementing a plugin (for the pop3/imap process) that requires
some data to provided from the authentication phase (a derivative of the
password). For that, I have now implemented a passdb plugin that
generates this data and I would like to "pass" this data down to the
mail process (pop3/imap) via extra_fields in the reply of the
authentication. The general idea
2004 Jun 14
1
PAM_RHOST item
A little problem, which is bugging me: when using PAM authentication,
Dovecot (0.99.5) does not set the PAM_RHOST item, so the PAM modules
cannot know who the client is. We need this for some PAM module doing
access control.
Changing passdb-pam.c to pam_set_item it seems trivial, but I'm bugged
as to how to get the client name from there. It seems not to be
available in the auth_request
2004 Jun 14
1
vpopmail and open smtp relay
I'm using vpopmail's POP-before-SMTP auth, but dovecot don't support it,
so I'm wrote this patch
==============================================================
diff -Naur dovecot-0.99.10.5/src/auth/auth-login-interface.h
dovecot-0.99.10.5-patched/src/auth/auth-login-interface.h
--- dovecot-0.99.10.5/src/auth/auth-login-interface.h Sun May 18
16:26:28 2003
+++
2006 May 15
1
dovecot ldap auth bind and different directories
I have recently begun playing with Dovecot (1.0.beta8) and have run into
an interesting scenario.
The way my email system is set up is that users of different domains
have completely different base dn's. For instance, if a user is part of
test.com the bind dn would be uid=user,ou=People,dc=test,dc=com. The
bind dn for user at domain.com would be uid=user,ou=People,dc=domain,dc=com.
I
2007 Aug 01
3
dovecot: child 1690 (auth-worker) killed with signal 11
Hi there,
I've been seeing this for quite a while now, but only today finally got
off my lazy you-know-what and did a backtrace. Here's the requested info
as per http://dovecot.org/bugreport.html:
* Dovecot version
[root at airframe]:~# dovecot --version
1.0.3
* Operating system or Linux distribution name
Slackware 10.2, both kernel 2.6.21.3 and dovecot self-compiled
* CPU
2018 Oct 04
3
vpopmail
Quoting Eric Broch <ebroch at whitehorsetc.com>:
> On 10/4/2018 6:34 AM, Rick Romero wrote:
>
>> ?
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