Re: cyradm problem?... cyrus-imapd-2.1.4
jeff bert wrote: Do you get the same or similar results? I don't usually use the cram-md5 plugin, but since you have it I installed it just for this test. Did you assign a password to user cyrus? [luca@pippo luca]$ imtest -m login -u cyrus -a cyrus -r localhost localhost C: C01 CAPABILITY S: * OK pippo.olivetti.local Cyrus IMAP4 v2.1.4 server ready S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS AUTH=CRAM-MD5 X-NETSCAPE S: C01 OK Completed Password: C: L01 LOGIN cyrus {7} + go ahead C: omitted L01 OK User logged in Authenticated. Security strength factor: 0 1 logout * BYE LOGOUT received 1 OK Completed Connection closed. What does your /etc/pam.d/imap file look like? #%PAM-1.0 auth required /lib/security/pam_stack.so service=system-auth accountrequired /lib/security/pam_stack.so service=system-auth (straight from the rpm) Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007
RE: cyradm problem?... cyrus-imapd-2.1.4
jeff bert wrote: So, is this a bug in my system or a feature of 2.1.4? Any ideas? Or have they actually implemented the man page's warning that Tcl short style options may be done away with? I fell for that too (first tried with -u and didn't work), but the current manpage doesn't mention short style options at all, so I think they're gone. BTW, I'm preparing new rpms for cyrus-sasl, since the current one doesn't install the manpages (or rather cyrus-sasl's make install doesn't, is that normal?) and doesn't include the sasldb conversion utility. Bye -- Luca Olivetti Luca, I've compiled your cyrus-sasl-2.1.2-2.src.rpm and installed it. I didn't test imtest before I upgraded it but did afterwards and can't authenticate. if I type: # cyradm --user cyrus -s my.host.com it works but if I type: # imtest -m login -u cyrus -a cyrus -r my.host.com my.host.com It telnets into the imap server ok but won't authenticate (screen results): # imtest -m login -u cyrus -a cyrus -r my.host.com my.host.com C: C01 CAPABILITY S: * OK my.host.com Cyrus IMAP4 v2.1.4 server ready S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=CRAM-MD5 X-NETSCAPE S: C01 OK Completed Password: C: L01 LOGIN cyrus {6} + go ahead C: omitted L01 NO Login failed: authentication failure Authentication failed. generic failure Security strength factor: 0 # more /etc/pam.d/imap #%PAM-1.0 auth required /lib/security/pam_stack.so service=system-auth accountrequired /lib/security/pam_stack.so service=system-auth # # # tail /var/log/saslauthd.log May 13 10:22:56 jabba saslauthd[2787]: START: saslauthd 2.1.2 May 13 10:22:56 jabba saslauthd[2792]: master PID is: 2792 May 13 10:22:56 jabba saslauthd[2792]: daemon started, listening on /var/lib/sasl2/mux May 13 10:23:01 jabba saslauthd[2793]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure May 13 10:23:01 jabba saslauthd[2793]: AUTHFAIL: user=cyrus service=imap realm= [PAM auth error] # Do you get the same or similar results? What does your /etc/pam.d/imap file look like? Thanks, Jeff
cyradm problem?... cyrus-imapd-2.1.4
I installed cyrus-imap-2.1.4 and have found a quirk that I don't know if it's a bug, change in feature or what. When I try to connect to the cyrus server via the command (same I successfully used in 2.0.15): # cyradm -u cyrus -s my.host.com it hangs up and won't connect... but if I run it with: # cyradm --user cyrus -s my.host.com Password: enter-pass my.host.com success. This install is on a totally fresh system on which I just re-installed Linux (heh, because I accidently typed rm -fr in the wrong terminal window a couple of days ago! luckily it's just the box i use for testing and evaluation so no biggie). Here's my details: Linux-Mandrake 8.1 (kernel 2.4.8) BerkeleyDB3.3 cyrus-imapd-2.1.4 (installed from Luca Olivetti's src.rpm) cyrus-sasl-2.1.2 (installed from Luca Olivetti's src.rpm) gcc-2.96 perl-5.601 So, is this a bug in my system or a feature of 2.1.4? Any ideas? Or have they actually implemented the man page's warning that Tcl short style options may be done away with? If they have done away with them, how does that affect the perl programming side? thanks, Jeff
Re: cyradm problem?... cyrus-imapd-2.1.4
jeff bert wrote: So, is this a bug in my system or a feature of 2.1.4? Any ideas? Or have they actually implemented the man page's warning that Tcl short style options may be done away with? I fell for that too (first tried with -u and didn't work), but the current manpage doesn't mention short style options at all, so I think they're gone. BTW, I'm preparing new rpms for cyrus-sasl, since the current one doesn't install the manpages (or rather cyrus-sasl's make install doesn't, is that normal?) and doesn't include the sasldb conversion utility. Bye -- Luca Olivetti
Re: cyradm problem?... cyrus-imapd-2.1.4
Luca Olivetti wrote: BTW, I'm preparing new rpms for cyrus-sasl, since the current one doesn't install the manpages (or rather cyrus-sasl's make install doesn't, is that normal?) and doesn't include the sasldb conversion utility. I've just uploaded updated packages. Now they include the manpages and dbconverter-2 -- Luca Olivetti