Displaying 4 results from an estimated 4 matches for "afasystems".
2017 Jul 21
2
Return extra fields from passwd userdb
...tocol imap {
mail_max_userip_connections = 20
mail_plugins = acl quota imap_acl imap_quota
}
File /var/etc/dovecot/dovecot-ldap.conf.ext is:
hosts = localhost
base = ou=mnusers,dc=majornet,dc=local
user_attrs = quota_rule=*:bytes=%{ldap:quotaBytes}
But when I run:
doveadm -D quota get -u afasystems
No extra field is returned:
doveadm(root): Debug: Loading modules from directory: /usr/lib/dovecot
doveadm(root): Debug: Module loaded: /usr/lib/dovecot/lib01_acl_plugin.so
doveadm(root): Debug: Module loaded: /usr/lib/dovecot/lib10_quota_plugin.so
doveadm(root): Debug: Loading modules from direct...
2017 Jul 07
2
Return extra fields from passwd userdb
...a imap_acl imap_quota
}
I have problems in return extra fields from passwd userdb. My users are
partially in passwd files and partially in LDAP. Users who use mail are
in LDAP db.
If I use "default_fields = quota_rule=*:bytes=100M" in userdb,
Output of "doveadm -D quota get -u afasystems" is:
Debug: Loading modules from directory: /usr/lib/dovecot
Debug: Module loaded: /usr/lib/dovecot/lib01_acl_plugin.so
Debug: Module loaded: /usr/lib/dovecot/lib10_quota_plugin.so
Debug: Loading modules from directory: /usr/lib/dovecot/doveadm
Debug: Module loaded: /usr/lib/dovecot/doveadm/l...
2017 Jul 21
0
Return extra fields from passwd userdb
...0 mail_plugins =
> acl quota imap_acl imap_quota }
>
>
> File /var/etc/dovecot/dovecot-ldap.conf.ext is:
>
> hosts = localhost base = ou=mnusers,dc=majornet,dc=local
> user_attrs = quota_rule=*:bytes=%{ldap:quotaBytes}
>
>
> But when I run: doveadm -D quota get -u afasystems
Well, first try this:
doveadm user afasystems
All extra fields should be displayed (quotaByte only in your example).
Then verify that this user has quotaBytes at all
ldapsearch -B ou=mnusers,dc=majornet,dc=local user=afasystems quotaBytes
Then look here: https://wiki2.dovecot.org/AuthDatabase...
2017 Jul 20
3
Return extra fields from passwd userdb
...2) the userdb section cannot merge two databases together. You said
> "Users who use mail are in LDAP db", so you would one userdb with
> driver ldap.
--
AFA Systems Srl
Via G.Pastore
Zona Industriale B
86039 Termoli (CB) - Italia
tel.: +39 0875 724104
fax.: +39 0875 726084
www.afasystems.it