Problems running CyrAdm

Nikola Milutinovic Nikola.Milutinovic at ev.co.yu
Thu Apr 17 01:46:17 EDT 2003


Hi all.

Cyrus SASL 2.1.12
Cyrus IMAP 2.1.12
OpenSSL 0.9.7A
Perl 5.8.0 multi-threading
Perl 5.6.1
Tru64 UNIX 4.0D

The compile of PERL packages goes fine, so does install. When running them, I 
have two sets of problems.

Perl 5.8.0 MultiThreading
-------------------------

# ./cyradm
Can't load 
'/usr/opt/Perl-5.8.0/modules/lib/perl5/site_perl/5.8.0/alpha-dec_osf-thread-multi/auto/Cyrus/IMAP/IMAP.so' 
for module Cyrus::IMAP: Unresolved symbol in 
/usr/opt/Perl-5.8.0/modules/lib/perl5/site_perl/5.8.0/alpha-dec_osf-thread-multi/auto/Cyrus/IMAP/IMAP.so: 
Perl_sv_setsv at 
/usr/opt/Perl-5.8.0/lib/perl5/5.8.0/alpha-dec_osf-thread-multi/DynaLoader.pm 
line 229.
  at 
/usr/opt/Perl-5.8.0/modules/lib/perl5/site_perl/5.8.0/alpha-dec_osf-thread-multi/Cyrus/IMAP/Admin.pm 
line 44
Compilation failed in require at 
/usr/opt/Perl-5.8.0/modules/lib/perl5/site_perl/5.8.0/alpha-dec_osf-thread-multi/Cyrus/IMAP/Admin.pm 
line 44.
BEGIN failed--compilation aborted at 
/usr/opt/Perl-5.8.0/modules/lib/perl5/site_perl/5.8.0/alpha-dec_osf-thread-multi/Cyrus/IMAP/Admin.pm 
line 44.
Compilation failed in require at 
/usr/opt/Perl-5.8.0/modules/lib/perl5/site_perl/5.8.0/alpha-dec_osf-thread-multi/Cyrus/IMAP/Shell.pm 
line 60.
BEGIN failed--compilation aborted at 
/usr/opt/Perl-5.8.0/modules/lib/perl5/site_perl/5.8.0/alpha-dec_osf-thread-multi/Cyrus/IMAP/Shell.pm 
line 60.
Compilation failed in require.
BEGIN failed--compilation aborted.

Perl 5.6.1 (connecting to Cyrus IMAP 2.1.5)
-------------------------------------------

# ./cyradm
cyradm> connect mercury.ev.co.yu
Password:
server: mercury.ev.co.yu: cannot authenticate

Now, when I check in the logs, I get this:

Apr 17 07:45:14 Mercury master[13736]: about to exec /usr/local/cyrus/bin/imapd
Apr 17 07:45:14 Mercury imap[13736]: executed
Apr 17 07:45:14 Mercury imapd[13736]: accepted connection
Apr 17 07:45:18 Mercury imapd[13736]: badlogin: Uprava.ev.co.yu[192.168.61.11] 
OTP [SASL(-13): authentication failure: External SSF not good enough]

Perl 5.6.1 (connecting to Cyrus IMAP 2.1.12)
-------------------------------------------
# ./cyradm
cyradm> connect legba.ev.co.yu
Password:
Unaligned access pid=15047 <perl> va=0x140341745 pc=0x30009003d84 
ra=0x30009003d70 inst=0xa02c0014
Unaligned access pid=15047 <perl> va=0x14034173d pc=0x300090023c4 
ra=0x30009003de0 inst=0xa2310000
Unaligned access pid=15047 <perl> va=0x140341741 pc=0x3000900243c 
ra=0x300090023f0 inst=0xa1290004

And log reads:

Apr 17 07:42:43 Legba master[24669]: about to exec /usr/sbin/imapd
Apr 17 07:42:43 Legba imap[24669]: executed
Apr 17 07:42:44 Legba imapd[24669]: accepted connection
Apr 17 07:42:48 Legba imapd[24669]: login: Uprava.ev.co.yu[192.168.61.11] root 
NTLM User logged in

QUESTIONS
---------

While I can accept that maybe Perl 5.8.0-MT is buggy (I've ran all the tests, 
but I cannot guarantee), I stay puzzled with the mechanisms used. Why does it 
use OTP and NTLM, instead of PLAIN (or one of the MD5s, if it wants to be really 
secure). IMAP is using SASLDB. Method PLAIN works from telnet.

Nix.





More information about the Info-cyrus mailing list