Displaying 20 results from an estimated 700 matches similar to: "patch for src/auth/db-ldap.c"
2007 Jan 15
1
patch for serdb-ldap which allows set user_global_mail variable
--- dovecot-1.0.rc17/src/auth/db-ldap.~h 2007-01-15
03:23:09.000000000 +0200
+++ dovecot-1.0.rc17/src/auth/db-ldap.h 2006-11-07 18:47:00.000000000
+0200
@@ -38,6 +38,7 @@
const char *default_pass_scheme;
const char *user_global_uid;
const char *user_global_gid;
+ const char *user_global_mail;
/* ... */
int ldap_deref, ldap_scope;
---
2005 Jul 14
1
configuration of user_global_uid and user_global_gid
Hi.
I'm configuring LDAP auth with dovecot (cvs trunk at 14, July) as follows:
/etc/dovecot/dovecot.conf:
passdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
}
userdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
}
/etc/dovecot/dovecot-ldap.conf:
user_attrs = mail,homeDirectory,mailbox,,,
user_global_uid = 10000
user_global_gid = 1000
But
2007 Sep 25
2
user_global_uid and user_global_gid
Hi to all,
I am using the new beta release 1.1.
I see that parameters user_global_uid and user_global_gid are no more used
in dovecot-ldap.conf. That means that, as I use LDAP as backend I am obliged
to se t these two fileds in LDAP for each user even if they are always
the same, as I use virtual domains.
I see that I can set the in dovecot.conf the parameters mail_uid and
mail_gid, but
2004 Aug 31
4
dovecot+postifx+ldap
hi,
i'm trying to set a dovecot/pop + postfix couple with ldap authentification.
and i'v got a lots of troubles.
hers's my dovecot.conf
protocols = pop3
login = imap
login = pop3
first_valid_gid = 1000
last_valid_gid = 0
mail_extra_groups = mail
default_mail_env = maildir:/var/mail/%1u/%u/Maildir
mbox_locks = dotlock flock
auth = default
auth_mechanisms = plain
auth_userdb = ldap
2007 Mar 01
2
user_global_uid - tricky to set
Hola!
Dovecot should serve virtual mail users. So I've set user_global_uid
and user_global_gid in dovecot_ldap.conf to vmail/vmail. Also I've
commented auth the user_attrs field. Still Dovecot tries to switch to
the uid that is defined in the LDAP entry.
It took me some time to figure out, that the only way to prevent this
is to set
user_attrs = foo=uid,bar=gid
or something like this,
2007 Jan 11
1
Configuring Dovecot for use with Active Directory
Hello,
My server is configured as follows:
FreeBSD 6.1
OpenLDAP 2.3.27
Cyrus SASL 2.1.21
Dovecot 1.0.rc15
I have PostFix configured to use SASL for SMTP AUTH, which in turn leverages OpenLDAP to verify users in Active Directory. I do not have, nor want to in the future, local users in FreeBSD, so I've configured PostFix for Virtual Mailboxes.
Everything is working and I'm getting
2008 Mar 22
1
Quotas from Active Directory LDAP
Hi Guys,
I've been trying to get this to work for 3 days now, but no luck. I
have Dovecot set with an Active Directory back-end. Everything is
working properly but I can't get user specific quotas.I tried with
both 1.0.13 and 1.0-rc7. All users have the same quota which is set in
dovecot.conf
dovecot -n
# 1.0.13: /usr/local/etc/dovecot.conf
Warning: mail_extra_groups setting was often
2007 Oct 25
1
Static home while using LDAP
Hello all,
I've been googling for a workaround for this for nearly a week to no
avail and I hope someone in the list can shed some light on it.
I have downloaded and compiled dovecot 1.0.5 and applied the
quota-warning to it. I have configured everything and it's working
wonderfully, even the lda with the sieve plugin. This is my current
relevant configuration:
userdb static{
args =
2007 Sep 05
2
passdb/userdb args
I'm a bit unclear on these - give me a moment to ramble on. I should
mention I'm using version 1.0.3, my primary backend is LDAP, and I do
NOT want to store user mail folders in my LDAP directory.
I currently have the following:
default_mail_env = maildir:/var/mail/%d/%n
passdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
}
# Instructions for deliver state a userdb is still
2005 Jul 13
1
Dovecot and ActiveDirectory
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Is there a solution to auth dovecot against an windows active directory?
i've tried this config:
- ---
# Space separated list of LDAP hosts to use. host:port is allowed too.
hosts = dc.foo.bar
# Distinguished Name - the username used to login to the LDAP server
dn = cn=oh,cn=Users,dc=foo,dc=bar
# Password for LDAP server
dnpass = password
2006 May 17
1
Dovecot/LDAP problem
Dear Dovecot mailing list people -
What I'm trying to do is use Postfix (with virtual users) and a POP3 server
(we don't want IMAP - don't ask) to work against our new Active Directory
servers that will be coming soon. Before we roll anything out we're testing
it in the lab. Here's what we've got:
x86 server running Red Hat Enterprise Linux 3
Postfix 2.0.16
Dovecot-1.0
2007 May 04
1
Help with LDAP authentication - user / user+domain
Hello Folks,
I've my dovecot working well and authenticating in my ldap servers.
But I'd like configure my users to authenticate in two ways. One is just
submitting the username and the other one is providing user at domain.com .
I'm moving from a cyrus-imap solution to dovecot and I've implemented it
with VD domains. But nowadays I still have one domain at my servers.
2008 Jan 03
1
Homedir permissions problems with LDAP
Sorry, my previous message entered like a reply, so I'm sending again to
keep the list in order.
Hi,
I'm using dovecot 1.0.5-1 (debian stable) and I'm trying to build a
virtual host machine with ldap.
In my dovecot-ldap.conf thats what I have:
uris = ldap://<ldapserver>/
dn = cn=Manager, dc=domain, dc=com, dc=br
dnpass = <ultra secret passwd>
sasl_bind = no
tls = no
2004 Dec 12
2
Problem with LDAP and Dovecot
I am trying to set up Dovecot so that it uses LDAP, but I keep getting
this error message in /var/log/syslog:
Dec 12 03:38:17 mydomain dovecot-auth: LDAP: ldap_search() failed (filter
user_filter = (mail=user at mydomain.tld)): Bad search filter
Relevant configuration files:
/etc/dovecot-ldap.conf:
hosts = localhost
dn = cn=dovecot,ou=sysAccounts,dc=mydomain,dc=tld
dnpass = password
2012 Sep 14
0
Couldn't drop privileges: User is missing UID (see mail_uid setting)
Hi all
I hope anyone could help me out with my problem regarding the user_id
settings.
I am running my mail servers just for fun and I am not a professional mail
admin. After I am using postfix and dovecot for my mail servers with a mysql
backend for the last 2 years I have tried to set up an installation with a
ldap backend.
I followed the how-to from the ?Postfix Book? and now I have
2008 Nov 18
1
Disconnecting without unbinding?
Timo
Please have a look at this short thread[1]. That message stops appearing
whenever I shutdown dovecot.
I'm using dovecot 1.0.15.
dovecot-ldap.conf
-----------------
dn = ...
dnpass = ...
ldap_version = 3
auth_bind = no
base = ...
pass_filter = ...
pass_attrs = ...
user_filter = ...
user_attrs = ...
default_pass_scheme = MD5-CRYPT
user_global_uid = vmail
user_global_gid = vmail
Regards,
2007 Apr 02
1
dovecot/LDAP: Multiple password replies
Hello list,
I'm trying to connect to pop3 using dovecot which authenticates through
ldap,
but i get the following Multiple password replies when i try to connect to
server
Apr 2 11:47:50 srv-ath dovecot: auth(default): ldap(a.faragitakis,127.0.0.1):
base=ou=email,ou=services,dc=company,dc=com scope=subtree
2003 Mar 11
0
0.99.8.1 out
Nothing but bugfixes from CVS:
* src/lib-storage/index/mbox/mbox-list.c: mbox: LIST ""
invalid-directory/% doesn't anymore give internal error
* src/lib-storage/index/index-fetch.c: FETCH: \Seen flag updating
didn't work (eg. FETCH BODY[]).
* src/lib-imap/imap-parser.c: Literal parser broke if \r\n wasn't
in buffer at the time '}' was parsed.
*
2005 Dec 31
0
Bug with userdb prefetch
Hi,
when I'm (trying) to use userdb prefetch with ldap, it works fine for
system users, but for virtual users without their own uid and gid, it
won't work. I get in the log:
Dec 31 01:34:47 buick dovecot: auth(default): prefetch(oddrun,127.0.0.1): userdb_uid not returned
Dec 31 01:34:47 buick dovecot: auth(default): prefetch(oddrun,127.0.0.1): userdb_gid not returned
Which means that
2007 Aug 15
0
Dovecot on OpenBSD stalls
Hello list,
I'm using dovecot 1.0.2 on OpenBSD 4.1. About every month, dovecot will just stall, without any error messages. The processes
are still running, the network ports are open, but the login just hangs.
The following error message does occur on a very regular basis:
Aug 15 00:52:37 mail dovecot: auth(default): LDAP: ldap_result() failed: Can't contact LDAP server
Aug 15