modifichiamo il file /etc/default/saslauthd:
DESC="SASL Authentication Daemon" NAME="saslauthd" MECH_OPTIONS="" THREADS=5 START=yes MECHANISMS="ldap" OPTIONS="-m /var/run/saslauthd"il file /usr/lib/sasl2/slapd.conf:
pwcheck_method: saslauthde il file /etc/saslauthd.conf:
ldap_servers: ldap://127.0.0.1 ldap_port: 389 ldap_version: 3 ldap_referrals: no ldap_search_base: dc=esempio,dc=lan
sistemiamo i permessi e riavviamo il servizio
# chown openldap.openldap /usr/lib/sasl2/slapd.conf # chmod 400 /usr/lib/sasl2/slapd.conf # /etc/init.d/saslauthd restart
Stefano Sasso 2009-04-16