> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Phil Dibowitz
> Sent: Tuesday, May 21, 2002 5:10 PM
> To: [EMAIL PROTECTED]
> Subject: HORRIBLE SASL Auth Probs!!
>
>
> Gah!
>
> I'm pulling my hair out trying to get this sasl stuff to work!!
> I've removed
> /etc/sasldb and recreated it using saslpasswd...
>
>   I've tried explicitly giving all information (i.e.
> saslpasswd -u 'localhost' -c test
> saslpasswd -u 'bonanza' -c test)
>
> (I'd remove the localhost one before trying bonanza).
>
> I've tried providing as littls as possible:
> saslpasswd test
>
> Coresponding with the attempts above I've tried:
> imtest -a test -u test -r localhost localhost
> imtest -a test -u test -r bonanza bonanza
> imtest -a test -u test -r bonanza localhost
> imtest -a test -u test -r localhost bonanza
>
> <and each of those above with '-p imap' then each one of those
> above with '-m
> login' then each one of those above with '-m login -p imap'>
>
> then
> # su test
> $ imtest localhost
> imtest -m login locahost
> imtest -p login localhost
> imtest -m login -p imap localhost
>
> The saslauthd that Jeff suggested seems to be a part of the 2.1.2
> branch of
> sasl... which I'm not using.

Not fully, the way I used to startup saslauthd in cyrus-sasl-1.5.24

was:

# saslauthd -a pam

also, I never forced the hostname (realm) i just used:

# saslpasswd -c cyrususer
<enter pass>

then checked what the hostname (realm) was by:

# sasldblistusers

and i only ever used my FQDN so I don't know if the aliases for the host
work or not.

Did you compile cyrus-imapd-2.0.16 with the '--with-auth=unix' option... if
not that will explain it all.

Jeff

>
> Any help would be MUCH appreciated. Here is some last bit of info for you:
>
> Cyrus 2.0.16 compiled from Source
> # rpm -qa | grep -i sasl
> cyrus-sasl-1.5.24-17
> cyrus-sasl-devel-1.5.24-17
> # rpm -qa | grep -i cyrus
> cyrus-sasl-1.5.24-17
> cyrus-sasl-devel-1.5.24-17
> perl-Cyrus-2.0.16-3rm
>
>
> My only thought now is that that "perl-Cyrus" rpm may be messing
> with things
> (it's from before when I had installed Cyrus imap from RPM) - but
> I'm worried
> to uninstall it for fear if needing it...
>
> Phil
> --
> "They that can give up essential liberty to obtain a little
> temporary safety
> deserve neither liberty nor safety."
> -Benjamin Franklin, 1759
>
>

Reply via email to