search for: ldap_mail

Displaying 2 results from an estimated 2 matches for "ldap_mail".

Did you mean: imap_mail
2006 Oct 15
Authenticating dovecot against Active Directory using bsdauth and login_ldap
...w mypassword \ -v \ -x "(objectClass=user)" | while read key value ; do if [ "$key" == name: ]; then ldap_name="$value" fi # User Mail field as Unix name - remove if necessary if [ "$key" == mail: ]; then ldap_mail=$( echo "$value" | sed 's/@.*//g' ) if ( id 2>/dev/null >/dev/null $ldap_mail ); then usermod -c "$ldap_name" -s osbin/nologin -g staff -L staff $ldap_mail else useradd -d /home/$ldap_mail -c "$ldap_...
2006 Apr 26
ldap and user_filter
...omain part in user at domain, empty if user there's no domain #user_filter = (&(objectClass=posixAccount)(uid=%u)) In order to match my scheme I changed it to user_filter = (&(objectClass=shireNetEmailaccount) (shireNetEmailAddress=%u)) This should match my courier setup of ##NAME: LDAP_MAIL:0 # # Here's the field on which we query #LDAP_MAIL mail LDAP_MAIL shireNetEmailAddress --- Anyway, it appears from the logs that my user_filter is being ignored as I get the following in the log dovecot: Apr 26 11:24:35 Info: auth(default): ldap(chad at rkba....