I have created my self signed certificate and now it works !!
synctest -u cyrus -a cyrus -m PLAIN -t "" mailsrv
S: * STARTTLS
S: * OK mailsrv Cyrus sync server v2.3.0
C: STARTTLS
S: OK Begin TLS negotiation now
verify error:num=18:self signed certificate
TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits)
S: * SASL PLAIN
S: * OK mailsrv Cyrus sync server v2.3.0
Please enter your password:
C: AUTHENTICATE PLAIN Y3lydYMAY3LydXMBZ3Q0M2RpMTM=
S: OK Success (tls protection)
Authenticated.
Security strength factor: 256
now I will try to validate the replication with cyrus.
Thank you very much for your great help !!
Patrice
Patrick H Radtke wrote:
Looking a bit more at this:
Our sync server does advertise the correct mechanism
synctest -m PLAIN -t "" alpenwurst2
S: * SASL GSSAPI
S: * STARTTLS
S: * OK alpenwurst2.cc.columbia.edu Cyrus sync server v2.3-alpha
C: STARTTLS
S: OK Begin TLS negotiation now
verify error:num=19:self signed certificate in certificate chain
TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits)
S: * SASL PLAIN GSSAPI
S: * OK alpenwurst2.cc.columbia.edu Cyrus sync server v2.3-alpha
Please enter your password:
My quick guess is your only mechanism is PLAIN and since you didn't
specify -t "" to do a TLS connection, PLAIN is not being advertised.
That leaves you with no mechanisms left and just the error.
Try the '-t ""' and maybe a '-m PLAIN' and let me know how it goes.
-Patrick
On Wed, 14 Dec 2005, Patrice wrote:
Hi,
I try to install the the new version of cyrus-imap to use the
replication.
but I can't authenticate on my replica server:
here is the error in the log:
sync_client[26757]: couldn't authenticate to backend server: no
mechanism available
here is the result of the synctest:
S: * OK mailsrv Cyrus sync server v2.3.0
Authentication failed. no mechanism available
Security strength factor: 0
it seems the auth mechs are not advertised
I use saslauthd for my imap+pop auth and it works fine.
there should be a special option for the advertising of mechs but I
haven't found the option
Help would be appreciated
thanks in advance
Patrice
----
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
----
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