search for: bindpwfile

Displaying 8 results from an estimated 8 matches for "bindpwfile".

2019 Aug 29
3
[SOLVED] Re: LMTP Post login script for acl_groups
...----------------------------------------- > > I added it in 10-auth.conf behind the LDAP auth include statement. > > The Lua script looks like this: > -------------------------------------------------- > require('io') > > function auth_userdb_lookup(req) > local bindpwfile = "/etc/dovecot/ldap-auth-userdb.secret" > local base = "ou=people,ou=it,dc=roessner-net,dc=de" > local binddn = "cn=dovecot," .. base > > local cmd = [=[ > /bin/sh -c "ldapsearch -LLL -ZZ -y $bindpwfile -xD $binddn -b $base '(rnsMSDov...
2019 Aug 29
1
[SOLVED] Re: LMTP Post login script for acl_groups
...ded it in 10-auth.conf behind the LDAP auth include statement. >>> >>> The Lua script looks like this: >>> -------------------------------------------------- >>> require('io') >>> >>> function auth_userdb_lookup(req) >>> local bindpwfile = "/etc/dovecot/ldap-auth-userdb.secret" >>> local base = "ou=people,ou=it,dc=roessner-net,dc=de" >>> local binddn = "cn=dovecot," .. base >>> >>> local cmd = [=[ >>> /bin/sh -c "ldapsearch -LLL -ZZ -y $bindpwfile -x...
2019 Aug 30
1
[SOLVED] Re: LMTP Post login script for acl_groups
...dded it in 10-auth.conf behind the LDAP auth include statement. >>> >>> The Lua script looks like this: >>> -------------------------------------------------- >>> require('io') >>> >>> function auth_userdb_lookup(req) >>> local bindpwfile = "/etc/dovecot/ldap-auth-userdb.secret" >>> local base = "ou=people,ou=it,dc=roessner-net,dc=de" >>> local binddn = "cn=dovecot," .. base >>> >>> local cmd = [=[ >>> /bin/sh -c "ldapsearch -LLL -ZZ -y $bindpwfile...
2019 Aug 29
0
[SOLVED] Re: LMTP Post login script for acl_groups
...-auth-userdb.lua blocking=yes } -------------------------------------------------- I added it in 10-auth.conf behind the LDAP auth include statement. The Lua script looks like this: -------------------------------------------------- require('io') function auth_userdb_lookup(req) local bindpwfile = "/etc/dovecot/ldap-auth-userdb.secret" local base = "ou=people,ou=it,dc=roessner-net,dc=de" local binddn = "cn=dovecot," .. base local cmd = [=[ /bin/sh -c "ldapsearch -LLL -ZZ -y $bindpwfile -xD $binddn -b $base '(rnsMSDovecotUser=$user)' rns...
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
0
[SOLVED] Re: LMTP Post login script for acl_groups
...--- >> >> I added it in 10-auth.conf behind the LDAP auth include statement. >> >> The Lua script looks like this: >> -------------------------------------------------- >> require('io') >> >> function auth_userdb_lookup(req) >> local bindpwfile = "/etc/dovecot/ldap-auth-userdb.secret" >> local base = "ou=people,ou=it,dc=roessner-net,dc=de" >> local binddn = "cn=dovecot," .. base >> >> local cmd = [=[ >> /bin/sh -c "ldapsearch -LLL -ZZ -y $bindpwfile -xD $binddn -b $ba...
2019 Aug 28
2
LMTP Post login script for acl_groups
...s rnsMSACLGroup: sogo rnsMSACLGroup: zabbix rnsMSACLGroup: dane-users rnsMSACLGroup: gentoo rnsMSACLGroup: openbsd My post login script looks like this: --------------------------------------------------------- #!/bin/sh BINDDN='cn=dovecot-postlogin,ou=people,ou=it,dc=roessner-net,dc=de' BINDPWFILE='/etc/dovecot/ldap-postlogin.secret' BASE='ou=people,ou=it,dc=roessner-net,dc=de' LDAPSEARCH="/usr/bin/ldapsearch" AWK="/usr/bin/awk" test -x ${LDAPSEARCH} || exec "$@" test -x ${AWK} || exec "$@" ACL_GROUPS=$( ${LDAPSEARCH} -LLL -ZZ...
2019 Aug 28
0
LMTP Post login script for acl_groups
...CLGroup: dane-users > rnsMSACLGroup: gentoo > rnsMSACLGroup: openbsd > > My post login script looks like this: > > --------------------------------------------------------- > #!/bin/sh > > BINDDN='cn=dovecot-postlogin,ou=people,ou=it,dc=roessner-net,dc=de' > BINDPWFILE='/etc/dovecot/ldap-postlogin.secret' > BASE='ou=people,ou=it,dc=roessner-net,dc=de' > > LDAPSEARCH="/usr/bin/ldapsearch" > AWK="/usr/bin/awk" > > test -x ${LDAPSEARCH} || exec "$@" > test -x ${AWK} || exec "$@" > &gt...