IMAPd / SASL / LDAP [auf Viren überprüft]

Hans Moser hans.moser at ofd-sth.niedersachsen.de
Tue Mar 21 10:57:12 EST 2006


Hi!

I have a (dirty) testinstall on SuSE 9.2. I changed SASL with v. 2.1.21
for ldapdb. Works so far.

I installed a AIX server with OpenLDAP, SASL und IMAPd und copied the
conf. and LDAP data from SuSE server.
OpenLDAP works as on SuSE.
I took imapd.conf and cyrus.conf and changed the paths to fit the AIX
server. IMAPd starts.
Now I cannot connect as with cyradm. IMAPd / SASL does not connect to
the ldap server at all.

----IMAPd 2.2.12----
./configure \
--prefix=/opt/mail/imap \
--exec-prefix=/opt/freeware \
--libdir=/opt/freeware/lib \
--includedir=/opt/freeware/include \
--with-cyrus-prefix=/opt/mail/cyrus \
--with-service-path=/opt/mail/cyrus \
--mandir=/opt/freeware/man \
--with-bdb-libdir=/opt/freeware/lib \
--with-bdb-incdir=/opt/freeware/include \
--with-sasl=/opt/freeware/lib \
--with-openssl=/opt/freeware

----SASL 2.1.21 (2nd after installing LDAP)----
./configure \
--prefix=/opt/mail/sasl \
--exec-prefix=/opt/mail \
--libdir=/opt/freeware/lib \
--with-plugindir=/opt/mail/sasl/lib/sasl2 \
--mandir=/opt/freeware/man \
--enable-sample \
--enable-anon \
--enable-plain \
--disable-krb4 \
--disable-otp \
--enable-cram \
--enable-digest \
--with-bdb-libdir=/opt/freeware/lib \
--with-bdb-incdir=/opt/freeware/include \
--enable-ldapdb \
--with-ldap=/opt/freeware/ldap \
--with-openssl=/opt/freeware/include/openssl

----imapd.conf----
configdirectory: /opt/mail/imap/var/lib/imap
partition-default: /opt/mail/var/spool
sievedir: /opt/mail/var/sieve
admins: cyrus root
allowanonymouslogin: no
autocreatequota: 10000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_log_level: 2
sasl_pwcheck_method: auxprob
sasl_auxprob_plugin: ldapdb
sasl_ldapdb_uri: ldap://rzhs050.ofd-h.de
sasl_ldapdb_id: human
sasl_ldapdb_pw: nothing
sasl_ldapdb_mech:  PLAIN
# sasl_mech_list: PLAIN DIGEST-MD5 CRAM-MD5
sasl_mech_list: CRAM-MD5
allowplaintext: yes
sasl_minimum_layer: 0
# sasl_ldapdb_mech: DIGEST-MD5
# sasl_ldapdb_starttls: Demand
sasl_ldap_search_base: ou=humans,ou=steuer,o=foo,c=de
sasl_ldap_search_filter: uid=%U
lmtp_overquota_perm_failure: no

----IMAPd log----
Mar 21 16:53:12 rzhs050 local6:debug imap[12902]: accepted connection
Mar 21 16:53:16 rzhs050 local6:notice imap[12902]: badlogin: 
rzhs050.ofd-h.de [10.49.6.20] plaintext cyrus SASL(-4): no mechanism 
available: checkpass failed

----cyradm----
# cyradm -u cyrus rzhs050.ofd-h.de
IMAP Password:
 
         Login failed: no mechanism available at 
/opt/mail/imap/lib/site_perl/5.8.2/aix-thread-multi//Cyrus/IMAP/Admin.pm 
line 118
cyradm: cannot authenticate to server with  as cyrus





More information about the Info-cyrus mailing list