SASL-LDAP

De gacq wiki

aptitude install sasl2-bin libsasl2 libsasl2-modules
Para lenny
aptitude install sasl2-bin libsasl2-2 libsasl2-modules

/etc/default/saslauthd

START=yes
DESC="SASL Authentication Daemon"
NAME="saslauthd"
MECHANISMS="ldap"
MECH_OPTIONS=""
THREADS=5
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"

/etc/saslauthd.conf

ldap_servers: ldap://ldap.dominio.org.ar/
ldap_version: 3
ldap_timeout: 10
ldap_time_limit: 10
ldap_cache_ttl: 30
ldap_cache_mem: 32768
ldap_scope: sub
ldap_search_base: dc=dominio,dc=org,dc=ar
ldap_auth_method: bind
ldap_bind_dn: cn=admin,dc=dominio,dc=org,dc=ar
ldap_password: lapass
#ldap_filter: uid=%U
ldap_filter: (|(mail=%u@%d)(mail=%u)(uid=%u))
Herramientas personales