Displaying 20 results from an estimated 50000 matches similar to: "using passwd userdb with sql passdb"
2013 Oct 02
1
LDAP for passdb and SQL for userdb
Hello
Is it possible to setup double backend ? ldap for auth only and SQL for
userdb information(quota,maildir etc) ?
Now I'm using SQL backend and configuration looks like this:
passdb {
driver = sql
args = /etc/dovecot/dovecot-sql.conf
}
userdb {
driver = prefetch
}
userdb {
driver = sql
args = /etc/dovecot/dovecot-sql.conf
}
Can I do something like:
passdb {
driver = sql
args
2014 Jun 05
0
SQL passdb, LDAP userdb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 27 May 2014, Kristof Bajnok wrote:
> in my current setup, LDAP authentication + userdb works fine.
>
> I'd like to integrate Dovecot with Shibboleth. I have a custom module at
> the IdP (*) that inserts short-time tokens to an SQL table at user
> authentication, and I want Dovecot to use the token table for passdb but
>
2014 May 27
3
SQL passdb, LDAP userdb
Hi,
in my current setup, LDAP authentication + userdb works fine.
I'd like to integrate Dovecot with Shibboleth. I have a custom module at
the IdP (*) that inserts short-time tokens to an SQL table at user
authentication, and I want Dovecot to use the token table for passdb but
keep LDAP for storing the userdb (uid, quota, etc)
I thought it was simple as omitting the sql user_query, but I
2006 May 24
1
imap proxy and passwd-like passdb/userdb
Hi,
I'm testing/using dovecot as imap proxy, passdb/userdb as
passwd-like-file. It seems to function as expected (1). This setup is
described in the wiki in AuthSpecials. But I also noticed in the
documentation (ImapProxy / FeatLoginProxy pages) that the proxy feature
only works with a sql passdb. Maybe I did something strange, but
passwd-like-passdb does work.....
So I have some
2006 Mar 26
2
userdb prefetch not working for passdb sql
Hi all,
I'm using 1.0.beta3 and having problems using userdb prefetch in conjuction with passdb sql. Here are my mail logs when I log to virtual account "testuser at mydomain.com" by doing "telnet localhost 143":
Mar 26 15:15:47 imapserver dovecot: Dovecot v1.0.beta3 starting up
Mar 26 15:15:49 imapserver dovecot: auth-worker(default): mysql: Connected to (null) (mail)
2010 Dec 04
3
passdb pam and userdb passwd "Authentication failure" errors
While using Ubuntu 10.10 + Dovecot 1.2.12 + Postfix 2.7.1-1:
To enable virtual accounts, I am using the
following /etc/dovecot/auth.d/virtualsomename.auth file:
passdb passwd-file {
args = /etc/dovecot/passwd
}
userdb static {
args = uid=vmail gid=vmail home=/home/vmail/%u
}
EOT
cat /etc/dovecot/passwd looks like this:
test:{PLAIN}pass
bill:{PLAIN}secret
timo at
2015 Oct 13
2
iterate users with passwd-file passdb?
On 14 Oct 2015, at 00:01, Eric Abrahamsen <eric at ericabrahamsen.net> wrote:
>
> Joseph Tam <jtam.home at gmail.com> writes:
>
>> Eric Abrahamsen writes:
>>
>>> Simply: Is it possible to iterate over users if I'm using the
>>> passwd-file passdb driver? Do I need a SQL-based driver if I want to
>>> iterate?
>>
>> What
2010 Nov 25
1
Static userdb with LDAP passdb but without "allow_all_users=yes"?
Hi,
Is it possible to have a static user database along with an LDAP
password database and *not* be forced to set "allow_all_users=yes" for
the userdb?
The wiki page on static user database says "Normally static userdb
handles this by doing a passdb lookup instead." How should the passdb
behave in order for this to work?
In my tests (on a test server) I am using
2015 Apr 20
4
userdb username change ignored when using (My)SQL was: Re: userdb username changed
Hi!
It works when using LDAP.
I've duplicated the "username change" debug line, just to see that the
variables are really updated:
Apr 20 14:30:27 imap21 dovecot: auth-worker(27127): Debug:
sql(ppp at example.net): username changed ppp at example.net -> uppp
Apr 20 14:30:27 imap21 dovecot: auth-worker(27127): Debug: sql(uppp):
username changed uppp -> uppp
Apr 20 14:30:27
2009 Nov 20
2
quota in SQL and static userdb
Hello,
which solution will be working or will be working better
(performance). Using dovecot 1.2.6 (plugin section contains quota_rule
= *:storage=500M:messages=10000 and i need override this default quota
for some users)
A) passdb sql(SELECT userid AS user, pw AS password, quota AS
userdb_quota_rule FROM users WHERE userid = '%u') + userdb static
(uid=500 gid=500 home=/home/mail/%d/%n
2015 Apr 21
0
userdb username change ignored when using (My)SQL was: Re: userdb username changed
On 20-04-15 15:09, P?ter M?rton wrote:
> Hi!
>
> It works when using LDAP.
> I've duplicated the "username change" debug line, just to see that the
> variables are really updated:
>
> Apr 20 14:30:27 imap21 dovecot: auth-worker(27127): Debug:
> sql(ppp at example.net): username changed ppp at example.net -> uppp
> Apr 20 14:30:27 imap21 dovecot:
2020 Jan 25
0
Lookup master userdb used with GSSAPI causes auth-worker to report "Error: BUG: PASSL had invalid passdb ID"
Hello to everybody,
I'm in the process of setting up test mail server (Ubuntu 19.10 amd64
running as VM under Hyper-V) and got stuck on configuring master user
authentication. I use GSSAPI authentication in parallel with PLAIN/LOGIN
(pam backend that authenticates against my Active Directory domain) and
this works as intended. I then tried adding simple static master passdb
that simply
2019 Apr 12
0
Using userdb/passdb data in director_username_hash
> On 12 April 2019 21:09 Mark Moseley via dovecot <dovecot at dovecot.org> wrote:
>
>
> TL;DR:
>
> Can director_username_hash use %{userdb:...} or %{passdb:...} ?
>
> ====================================
>
> This is on Ubuntu Precise, running dovecot 2.2.36. It's a fully production, director-ized env, so assume everything is working correctly. Happy to
2005 Oct 20
1
"passdb" userdb
Hello Timo,
How exactly would translate the "passdb" userdb example which is in
the Wiki for SQL auth with LDAP auth, both in dovecot.conf and
dovecot-ldap.conf ?
--
Thomas Hummel | Institut Pasteur
<hummel@pasteur.fr> | P?le informatique - syst?mes et r?seau
2019 Apr 12
2
Using userdb/passdb data in director_username_hash
TL;DR:
Can director_username_hash use %{userdb:...} or %{passdb:...} ?
====================================
This is on Ubuntu Precise, running dovecot 2.2.36. It's a fully production,
director-ized env, so assume everything is working correctly. Happy to post
doveconf if it's relevant but wanted to ask a general question first.
I was curious if there's a way to get userdb/passdb
2007 Jun 22
2
Quota from passdb sql
Hello folks!
Is it possible to retrieve quota information from a passdb sql lookup and
using static userdb?
I've tried here without success, and I can't find in the wiki or forum.
Some ways I configured dovecot-sql.conf:
1)
password_query = SELECT email AS user, CONCAT('maildir:storage=',quota) AS
quota, password FROM users WHERE email = '%u'
2)
password_query = SELECT
2010 May 24
2
Problem with deliver and quota userdb sql
I have quota with userdb sql override. When i overpass 100M deliver
reject the message. I have 200M in sql. Deliver don't query the database.
What happen in it?
# 1.2.11: /etc/dovecot.conf
# OS: Linux 2.6.9-89.0.25.ELsmp i686 Red Hat Enterprise Linux AS release
4 (Nahant Update 8) ext3
log_path: /var/log/dovecot/dovecot.log
info_log_path: /var/log/dovecot/dovecot.info
protocols: imaps
2015 Oct 13
2
iterate users with passwd-file passdb?
Eric Abrahamsen writes:
> Simply: Is it possible to iterate over users if I'm using the
> passwd-file passdb driver? Do I need a SQL-based driver if I want to
> iterate?
What do you mean by "iterate"? If you mean whether you can look up a
password entry in a multi-entry file, then yes, definitely. If you
mean to sequentially go through it and do a first/last/best match,
2009 Jan 13
2
Can not Create Maildir using userdb
Thank you for your reply.
So, you mean that both user_query and password_query should have the same amount of parameter and the mail parameter from user_query should have the exact parameter as userdb_mail from password_query?
And also I've to turn on userdb prefetch {}
Kind Regards,
Henry
From: Timo Sirainen [mailto:tss at iki.fi]
To: Dovecot Mailing List [mailto:dovecot at dovecot.org]
2017 Jul 20
0
Return extra fields from passwd userdb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 20 Jul 2017, Michele Petrella wrote:
> To be more accurate, all users in ldap db need to use mail, but some users in
> /etc/passwd file use mail too.
Does users exist in both passwd and ldap?
> For this reason I set up "driver=passwd" in userdb section and in
> /etc/nsswitch.conf I set up "passwd: files