Displaying 9 results from an estimated 9 matches for "deleteacl".
2009 Jun 25
3
Dovecot v1.2 ACL shared-boxes users in SQL, how to remove entries?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I noticed that entries added to the ACL dict are not removed, when an user
no longer has explicit ACLs to another user, e.g.:
[at the beginning no ACLs for "user"]
1 login testuser pwd
2 setacl INBOX user lp
3 deleteacl INBOX user
Although "user" has no ACLs of mailfolders of "testuser", the
user-testuser relation is still in the DB and upon login of user the ACLs
in user's Maildir is consulted.
Bye,
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)...
2009 Jan 15
2
get username of logged in user
Hello,
can I anywhere get the name of the currently logged in user?
I'm still implementing a custom ACL plugin (IMAP commands MYRIGHTS, GETACL, SETACL, DELETEACL), and for some functions (for example storing the current folder's ACL in combination with this username) I need to obtain the currently logged in IMAP user.
Is this possible? If yes - how?
Thanks in advance.
Best regards
Stefan
--
SIEGNETZ.IT GmbH
{ w3o-services }
Schneppenkauten 1a
D-...
2013 Feb 26
1
2.2.rc2: problem with acl_shared_dict
...nts of this file is used for e.g. LISTing shared mailboxes.
But even with file and directory beeing world writable, it's not written
into on SETACL commands.
Instead, at least sometimes (it seems to make a difference if GETACL is
used before in the session) the imap process crashes on SETACL or DELETEACL.
Feb 26 00:31:52 host dovecot: imap(13373, user) K64y8ZTWOgB/AAAB: Fatal: master: service(imap): child 13373 killed with signal 11 (core dumps disabled)
Anything to do for further debugging? Working correctly with 2.1.15.
Greetings,
Lutz
2009 Feb 18
1
v1.2 can't set ACL to empty string
Hi *,
according to RfC4314 the rights argument to the setacl command might be
an empty string ("zero right characters"):
The third argument is a string containing an optional plus ("+") or
minus ("-") prefix, followed by zero or more rights characters.
existing clients (horde in particular) actually use this to remove all
rights from an user.
Currently
2013 Feb 20
1
Connection leak in sqlpool for ACL Dict Postgres in v2.1.15 (14907:b96df105ec55) and v2.2.beta1 (15857:07dfd4391d22)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm using a postgres dict for ACL, when when use deleteacl or setacl I get
a "not connected" error and (v2.2)
Panic: file driver-pgsql.c: line 84 (driver_pgsql_set_state): assertion failed: (state == SQL_DB_STATE_BUSY || db->cur_result == NULL)
and a rawdump eventually.
You can trigger the error with the "dict" socket easily:...
2011 Jun 09
1
Question about Dovecot-ACLs
Hi there,
i try to create an php-script to control acl's for public folders
without file-manipulation.
For this i use imap_setacl() like this example:
imap_setacl($mbox,"INBOX/test", "email at domain.tld", "lrwstipekxa");
The acl-file looks so:
~:> cat dovecot-acl
user=email at domain.tld akxeilprwts
But i have a problem with the follow function:
2010 Jun 10
1
Shared Mailbox Questions
...:23 imap2 dovecot: IMAP(IOchoa): acl: dict commit failed
Jun 9 22:10:23 imap2 dovecot: dovecot: child 8268 (dict) killed with signal 11 (core dumps disabled)
Running that same "INSERT INTO..." as the IOchoa user from the sqlite command line works just fine.
At this point any further deleteacl or setacl commands simply hang, presumably because there's no longer a running dict process.
Here is the entire output of dovecot -n:
# 1.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-22-server x86_64 Ubuntu 10.04 LTS
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps pop3 pop3s...
2012 Nov 28
2
backtrace from postgres dict
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
since I enabled ACLs I get following backtrace. It looks like that it
happens if the ACLs had been changed only. Also, it looks like that it
always happens 1 minute after last "dict: Info: pgsql(localhost):
Connected to database dovecot", no matter if the user is logged in (and
idle) or logged off. Postgres logs: "could not
2013 Jan 24
0
Again ACL Postgres dict trouble, no update and raw backtrace
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have ACL-dict-postgres trouble again. Eventually a session does not
update the ACL dictionary no longer.
I execute (for testing) this script:
for a in $(seq 1 ${1-4}); do
echo 3-$a deleteAcl Junk dvtest1
sleep 30
echo 3-$a SetAcl Junk dvtest1 kxilrsc
sleep 30
done
It works two loops
2013-01-24 11:07:59 dict: Info: pgsql(localhost): Connected to database dovecot
2013-01-24 11:07:59 dict: Info: pgsql(localhost): Connected to d...