Displaying 3 results from an estimated 3 matches for "aclgroup".
Did you mean:
acl_group
2012 Feb 02
1
LDAP auth improvements
...uid = %{ldap:uidNumber}
gid = %{ldap:gidNumber}
mail = %{ldap:mailboxFormat}:%{ldap:homeDirectory}
}
Any ideas for further improvements before I do this change?
One thing I'm still wondering about is what I should do when LDAP
returns multiple values. Like perhaps:
acl_groups = %{ldap:aclGroups:,}
Which would mean that all the aclGroups values would be joined together
separated by "," characters. And a bit more complex with multiple
gidNumbers:
gid = %{ldap:gidNumber[0]}
mail_access_groups = %{ldap:gidNumber[1:]:,}
2019 Aug 28
2
LMTP Post login script for acl_groups
Hi,
I use a post login script for imap, to fetch acl groups from LDAP. Because Dovecot can only deal with a single value, which must be a comma seperated list of groups, I decided to use a post login script do deal with multi values in LDAP:
This looks like this in LDAP:
rnsMSACLGroup: admin
rnsMSACLGroup: automx
rnsMSACLGroup: amavis
rnsMSACLGroup: postfix
rnsMSACLGroup: dovecot
rnsMSACLGroup: rspamd
rnsMSACLGroup: powerdns
rnsMSACLGroup: sogo
rnsMSACLGroup: zabbix
rnsMSACLGroup: dane-users
rnsMSACLGroup: gentoo
rnsMSACLGroup: openbsd
My post login script looks like this:
---...
2019 Aug 28
0
LMTP Post login script for acl_groups
...> I use a post login script for imap, to fetch acl groups from LDAP. Because Dovecot can only deal with a single value, which must be a comma seperated list of groups, I decided to use a post login script do deal with multi values in LDAP:
>
> This looks like this in LDAP:
>
> rnsMSACLGroup: admin
> rnsMSACLGroup: automx
> rnsMSACLGroup: amavis
> rnsMSACLGroup: postfix
> rnsMSACLGroup: dovecot
> rnsMSACLGroup: rspamd
> rnsMSACLGroup: powerdns
> rnsMSACLGroup: sogo
> rnsMSACLGroup: zabbix
> rnsMSACLGroup: dane-users
> rnsMSACLGroup: gentoo
> rnsMSACLGro...