On 18/03/11Â07:59Â+0700, Nguyen, Quoc Khanh wrote:
Hi all, I'm a beginner. Plesea help meâ I want to config Cyrus SASL support PAM, authentication mechanisms. Then I configure the cyrus sasl: ./configure --prefix=/usr/local/sasl2 --disable-checkapop --disable-cram --disable-digest --disable-otp --disable-srp --disable-srp-setpass --disable-krb4 --disable-gssapi --disable-gss_mutexes --disable-anon --disable-ntlm --disable-passdss --disable-sql --enable-ldapdb --with-bdb-libdir=/usr/local/db-4.8.30/lib --with-bdb-incdir=/usr/local/db-4.8.30/include --with-saslauthd=/var/run --with-openssl=/usr/local/openssl --with-ldap=/usr/local/openldap --with-dblib=none --with-pam=yes and it seems successed, at least no error message prompted. but ...... I tested the saslauthed, It tell me that: #./saslauthd -v saslauthd 2.1.20 authentication mechanisms: getpwent rimap shadow ldap.
Check your config.log. It should provide details about why pam support was not included. Your '--with-pam' should point to the 'root' of your pam installation (see ./configure --help). Typically though, if the pam headers are installed in a standard location, you won't need the --with-pam option to get pam support.
can't find ldap support at here, can anyone help me, thanks very much.
saslauthd ldap support is documented in saslauthd/LDAP_SASLAUTHD within the source. -- Dan White