Displaying 20 results from an estimated 20000 matches similar to: "ACL's from userdb"
2019 Feb 04
2
acl_groups from LDAP issue
Hi!
I have some trouble with userdb, ldap an extrafields for acl_groups.
There is a script in python, which fetches the groups and sets the
environment-variable ACL_GROUPS to this groups.
It works when i log in to imap (thunderbird for example shows my? public
folders which are protected by acl_groups).
But when it try
doveadm mailbox list -u user.name
the mailboxes are not listed and with
2011 Oct 06
3
Group ACL
Using Dovecot 2.0, LDAP userdb & passdb, with prefetch:
hosts = myhost.mydomain
dn = cn=x,cn=y
dnpass = xyz123
auth_bind = yes
auth_bind_userdn = uid=%n,ou=users,dc=x
ldap_version = 3
base = ou=Users, dc=x
user_attrs = =home=/var/mail/%d/%n, \
=mail=mdbox:/var/mail/%d/%n/mdbox, \
=uid=vmail, \
=gid=mail
user_filter = (&(objectClass=inetOrgPerson)(mail=%u))
pass_attrs =
2010 Aug 27
2
LDAP & static userdb
hi..
im just testing 2.0 before upgrading to v1.2 :)
in auth-ldap.conf.ext i found
# If you don't have any user-specific settings, you can avoid the userdb LDAP
# lookup by using userdb static instead of userdb ldap, for example:
# <doc/wiki/UserDatabase.Static.txt>
#userdb {
#driver = static
#args = uid=vmail gid=vmail home=/var/vmail/%u
#}
On 1.2 im using LDAP lookup and
2015 Aug 06
3
question on autch cache parameters
hi timo,
I checked out the commit causing this.
its this one:
http://hg.dovecot.org/dovecot-2.2/diff/5e445c659f89/src/auth/auth-request.c#l1.32
if I move this block back as it was. everything is fine
diff -r a46620d6e0ff -r 5e445c659f89 src/auth/auth-request.c
--- a/src/auth/auth-request.c Tue May 05 13:35:52 2015 +0300
+++ b/src/auth/auth-request.c Tue May 05 14:16:31 2015 +0300
@@ -618,30
2019 Aug 29
3
[SOLVED] Re: LMTP Post login script for acl_groups
On 29.8.2019 12.18, R.N.S. via dovecot wrote:
>
>> Am 28.08.2019 um 20:02 schrieb Aki Tuomi via dovecot <dovecot at dovecot.org>:
>>
>>
>>> On 28/08/2019 21:01 R.N.S. via dovecot <dovecot at dovecot.org> wrote:
>>>
>>>
>>>> Am 28.08.2019 um 19:46 schrieb Jakobus Sch?rz via dovecot <dovecot at dovecot.org>:
2019 Aug 28
5
LMTP Post login script for acl_groups
> On 28/08/2019 21:01 R.N.S. via dovecot <dovecot at dovecot.org> wrote:
>
>
> > Am 28.08.2019 um 19:46 schrieb Jakobus Sch?rz via dovecot <dovecot at dovecot.org>:
> >
> > I think, i had the same problem as you.
> >
> > When dovecot runs lmtp, no user is logged in, so there is no user from
> > which you can get groups. So i think, my
2019 Aug 29
1
[SOLVED] Re: LMTP Post login script for acl_groups
> Am 29.08.2019 um 11:30 schrieb R.N.S. via dovecot <dovecot at dovecot.org>:
>
>
>
>> Am 29.08.2019 um 11:23 schrieb Aki Tuomi via dovecot <dovecot at dovecot.org>:
>>
>>
>> On 29.8.2019 12.18, R.N.S. via dovecot wrote:
>>>
>>>> Am 28.08.2019 um 20:02 schrieb Aki Tuomi via dovecot <dovecot at dovecot.org>:
2009 Nov 25
3
Acl Groups
Hi all!
I have a corpus of virtual users ( user1 at domain.tld , user2 at domain.tld,
user3 at domain.tld,..., usern at domain.tld ... ) authenticated
against Active Directory.
Is it possible to group some users (virtual) and give appropriate ACLs
on a shared imap public folder using an ACL vfile?
thanks in advance
Dimitrios
2018 Feb 06
2
LDAP userdb and dovecot LDA/LMTP - different requirements
Hi,
I want to use Dovecot LDA (or rather LMTP) use as local deliver with
Postfix MTA. Users are in LDAP DB with structure as:
dn: cn=username, ou=rank, o=myorg
cn: username
objectClass: Person
gidNumber: uNNN
uidNumber: gNNN
userPassword: (somehow hashed, can only bind verification)
homeDirectory: /Home/$rank/$username
mailActive: 0/1
mail: usera at OneDomain
mail: userb at
2008 Aug 12
3
restricting shared folders access
Hi all,
I have a dovecot setup with virtual users and a passwd-file passdb. All
users have the same uid and gid. Recently I got my public folders
working using namespaces and they work great. However, now I'm trying
to share a folder between a limited number of users and so far I failed
to get it working. Symlinks aren't an option because users need to be
able to create
2019 Aug 30
1
[SOLVED] Re: LMTP Post login script for acl_groups
On 29.8.2019 12.30, R.N.S. via dovecot wrote:
>
>> Am 29.08.2019 um 11:23 schrieb Aki Tuomi via dovecot <dovecot at dovecot.org>:
>>
>>
>> On 29.8.2019 12.18, R.N.S. via dovecot wrote:
>>>> Am 28.08.2019 um 20:02 schrieb Aki Tuomi via dovecot <dovecot at dovecot.org>:
>>>>
>>>>
>>>>> On 28/08/2019 21:01
2011 Sep 09
1
userdb static & Quota from LDAP?
Hi all,
I just configured Dovecot 2.0.14 for "virtual" (i.e. non-system-) users:
passdb {
driver = ldap
args = /etc/dovecot/conf.d/ldap-passdb.ext
}
userdb {
driver = static
args = uid=vmail gid=vmail home=/var/maildir/%u
}
Works fine so far - thanks for this great piece of software, Timo!!!
Now I'd like to add per-user quotas that will also be stored in the
LDAP
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
2012 Mar 21
1
ldap userdb warning in v2.1.1
Hi,
I've upgraded from 2.0.13 to 2.1.1 and when I started the service, I got
the following warning:
Mar 21 10:07:23 imapserver dovecot: master: Dovecot v2.1.1 starting up
(core dumps disabled)
Mar 21 10:08:17 imapserverdovecot: auth: Warning: ldap: Ignoring changed
user_attrs in /etc/dovecot/dovecot-passdb-ldap.conf, because userdb ldap
not used. (If this is intentional, set
2009 Dec 15
4
Why dovecot does not want to read my acl file?
Hi,
Simple Scenario: Shared namespace and a specific UNIX group should have
access to it. System is Debian lenny (stable).
# cat /etc/dovecot/dovecot.conf
[...]
namespace public {
separator = .
prefix = Shared.
location = maildir:/var/mail/shared
}
mail_executable = /usr/local/sbin/dovecot-imap-fix.sh
mail_drop_priv_before_exec = no #just to make sure
[...]
# dpkg -l | grep dovecot
ii
2019 Dec 02
3
ACL hide folders
After updating from 2.2.22 to 2.2.33 rsp 2.3.8 my ACLs went bust.
Below line in the global acl file hides all folders except INBOX for all
users
> * group=ALL
Next reenable certain folders, eg:
> Sent group=ALL lrwsi
This made anyone see "Sent" in 2.2.22, but no longer so in 2.2.33
Any ideas how to have it like before?
--
peter
2009 Oct 23
1
Error: userdb lookup
Hi list,
I am trying to get rid of the "Error:
file_dotlock_create(~/.dovecot.lda-dupes) failed: No such file or
directory" by adding home directories to my virtual users (ldap).
I want this home dir' to be specified like this:
/var/vmail/$USER/home/
and the sieve scripts to go to:
/var/vmail/$USER/home/sieve/
So as suggested before in this list, I have replaced:
user_attrs =
2011 Jun 14
1
ACL Groups
From the wiki:
ACL groups support works by returning a comma-separated acl_groups extra
field <http://wiki2.dovecot.org/UserDatabase/ExtraFields> from userdb,
which contains all the groups the user belongs to. User's UNIX groups
have no effect on ACLs (you can "enable" them by using a special
post-login script <http://wiki2.dovecot.org/PostLoginScripting>).
2015 Aug 05
3
question on autch cache parameters
Hi list,
I have a question on auth caching in 2.2.18.
I am using acl_groups for a master user, appended in a static userdb file
# snip ###############################
master at uma:{SHA}XXXX=::::::userdb_acl_groups=umareadmaster
allow_nets=127.0.0.1
# snap ###############################
and use this group in a global ACL file.
I discovered this only works on first NOT-cached login
2009 Jan 27
3
Symlink shared mailboxes and system_user extra field
Hello,
I'm trying to set up, as explained in the wiki, shared mailboxes with symlink.
I'm running dovecot-1.1.8 with LDAP pass/userdb. The Maildir layout goes like this :
/courriel/boites/foobar : Maildir of user foobar (nfs)
/courriel/meta/foobar : control files of user foobar (nfs)
/var/dovecot/indexes : indexes (locally stored)
I created :
/courriel/boites/doveshared/.box/ :