Operating System - HP-UX
1834163 Members
2520 Online
110064 Solutions
New Discussion

cyrus-imapd and LDAP auth

 
Claus_15
New Member

cyrus-imapd and LDAP auth

Hello,

I'm looking for a solution to authenticate our cyrus-imapd against the ADS in our company. I guess that will work with LDAP.

We are using the internet package for HP-UX including cyrus, saslauthd and so on.

I've searched the web quite a lot and, but nothing gives me a hint how to do that. Some websites tell that only the configuration files for saslauthd and cyrus have to be edited. That example below is taken from linux related sites:

/etc/imapd.conf:
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN

/etc/saslauthd.conf as:
ldap_servers: ldap://ldap.your_domain.com/
ldap_version: 3
ldap_scope: one
ldap_search_base: ou=People,dc=your_domain,dc=com
ldap_auth_method: bind
ldap_filter: (uid=%u)
ldap_start_tls: yes
ldap_tls_check_peer: yes
ldap_tls_cacert_file: /etc/pki/tls/certs/ca.crt (or whatever your specific cert is)
ldap_tls_cacert_dir: /etc/pki/tls/certs

(tls is optional)

/etc/sysconfig/saslauthd:
# Directory in which to place saslauthd's listening socket, pid file, and so
# on. This directory must already exist.
SOCKETDIR=/var/run/saslauthd

# Mechanism to use when checking passwords. Run "saslauthd -v" to get a list
# of which mechanism your installation was compiled to use.
#MECH=shadow
MECH=ldap

# Additional flags to pass to saslauthd on the command line. See saslauthd(8)
# for the list of accepted flags.
FLAGS=

But i have the feeling, there is more to do. Hopefully anyone can help us.

Kind regards,

Claus Malter