Re: Abusing the sync protocol for fun and profit.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 21 Feb 2008 09:20:34 -0600, "Dan White" <dwhite@xxxxxxx> said:
> Bron Gondwana wrote:
> > Attached are three perl modules,
> > 
> > Cyrus/SyncClient.pm
> > Cyrus/ImapReplica.pm
> > Mail/IMAPTalk.pm
> > 
> > I'm including this copy of Mail::IMAPTalk because without it, the clever
> > 'literal' stuff doesn't work properly.  I'll prod Rob to clean it up and
> > re-package it and push it to CPAN so I can depend on that version and
> > have things all be happier.
> 
> Thanks Bron,
> 
> This works great for me. I'm able to synchronize between my old 
> 2.1.17 server, with a perdition proxy frontend end, to my newer 
> 2.3.10 server.

Excellent, that's what I like to hear :)

> I had a hiccup in the SyncClient.pm module during DIGEST-MD5 
> authentication.
> 
> I changed to PLAIN, using the following changes, to get it working:

Wow, that wouldn't work for us at all.  I did have to put -p 1 on the
syncserver command line in cyrus.conf before it would let me authenticate
at all, and nothing but DIGEST-MD5 worked for me.  Also, 
Authen::SASL::Cyrus worked fine, but then the connnection was encrypted and
I had to try and pipe all the IO through it as well, which I couldn't be
bothered with making pipe nicely.

> [diff]

Thanks for that.  I probably should make it try both in order or something
funky like that.  Maybe an "auth_digestmd5" and an "auth_plain" function
which are tried in that order.

Bron.
-- 
  Bron Gondwana
  brong@xxxxxxxxxxx

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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux