Hello,
I'm having trouble to authenticate with sivtest... Imap/pop are OK, they use sasl (mech: ldap).
I use cyrus-sasl 2.1.18 and cyrus-imap 2.2.3 on a debian woody.


Can anybody help ? I'm really confused, everything works fine, except sieve...

Here is the output :


pc-schmitz-vm:~# /appli/cyrus-imapd/bin/sivtest -a schmitz localhost
S: "IMPLEMENTATION" "Cyrus timsieved v2.2.3"
S: "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational regex"
S: "STARTTLS"
S: OK
Authentication failed. generic failure
Security strength factor: 0



And the log entry :
May 10 16:41:33 pc-schmitz-vm master[26778]: about to exec /usr/cyrus/bin/timsieved
May 10 16:41:33 pc-schmitz-vm sievelocal[26778]: executed
May 10 16:41:33 pc-schmitz-vm sievelocal[26778]: accepted connection
May 10 16:41:53 pc-schmitz-vm master[26646]: process 26778 exited, status 0



Nothing in slapd.log : sivtest doesn't query ldap...



Whereas imtest works great :


pc-schmitz-vm:/appli/distrib# /appli/cyrus-imapd/bin/imtest -a schmitz localhost
S: * OK pc-schmitz-vm.ec-nantes.fr Cyrus IMAP4 v2.2.3 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN schmitz {12}
S: + go ahead
C: <omitted>
S: L01 OK User logged in
Authenticated.
Security strength factor: 0



Here are my compile option :



CYRUS-SASL


export CPPFLAGS=-I/appli/BerkeleyDB/include
export LDFLAGS=-L/appli/BerkeleyDB/lib/

<>./configure \
--prefix=/appli/cyrus-sasl \
--with-ldap=/appli/openldap/ \
--enable-anon \
--enable-plain \
--enable-login \
--disable-krb4 \
--disable-otp \
--disable-cram \
--disable-digest \
--with-saslauthd=/var/run/saslauthd \
--with-dblib=berkeley \
--with-bdb-libdir=/appli/BerkeleyDB/lib/ \
--with-bdb-incdir=/appli/BerkeleyDB/include \
--with-openssl=/usr/include/openssl/


CYRUS-IMAPD :


export CPPFLAGS="-I/usr/include/et"

<>./configure \
--prefix=/appli/cyrus-imapd \
--exec-prefix=/appli/cyrus-imapd \
--with-sasl=/appli/cyrus-sasl/ \
--with-perl=/usr/bin/perl \
--with-auth=unix \
--with-bdb-libdir=/appli/BerkeleyDB/lib/ \
--with-bdb-incdir=/appli/BerkeleyDB/include/ \
--with-openssl=/usr/include/openssl/


--
Nicolas Schmitz

Centre de Ressources Informatiques        |  tel  : 02 40 37 68 06
Ecole Centrale de Nantes                  |  fax  : 02 40 37 25 78
1 rue de la Noe - BP 92101
44321 NANTES CEDEX 03

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to