> Have you done saslpasswd cyrus CYRUSPASSWD ?
>

Yes, I tried saslpasswd cyrus

$ saslpasswd cyrus
Password:
Again (for verification):
$

I have tried setting imapd.conf to all of the following:

sasl_pwcheck_method: passwd
sasl_pwcheck_method: shadow
sasl_pwcheck_method: sasldb

But nothing. Just NOT WORKING.

I compiled sasl without GSSAPI and KERBEROS. I also allow plain pass in
config. Could it be it's just checking CRAMM5 passwd and therefore failing?

Here is my imapd.conf (modified since last post)

configdirectory: /var/imap
partition-default: /var/spool/imap
srvtab: /var/imap/srvtab
tls_cert_file: /usr/cyrus/conf/cyrus.pem
tls_key_file: /usr/cyrus/conf/cyrus.pem
admins: cyrus admin victord
allowanonymouslogin: no
allowplaintext: yes
sasl_pwcheck_method: sasldb
sasl_auto_transition: yes
postmaster: postmaster
sendmail: /usr/lib/sendmail
unixhierarchysep: yes
altnamespace: yes
umask: 027
timeout: 30

Here is the error log

Dec  3 10:16:14 dot2 saslpasswd[18686]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: saslpasswd: fatal: relocation error:
file /usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE:
referenced symbol not found
Dec  3 10:24:28 dot2 perl[18700]: unable to dlopen
/usr/lib/sasl/libcrammd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libcrammd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:24:28 dot2 perl[18700]: unable to dlopen
/usr/lib/sasl/libdigestmd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libdigestmd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:24:28 dot2 perl[18700]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:24:28 dot2 imapd[18701]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: imapd: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:24:40 dot2 perl[18706]: unable to dlopen
/usr/lib/sasl/libcrammd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libcrammd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:24:40 dot2 perl[18706]: unable to dlopen
/usr/lib/sasl/libdigestmd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libdigestmd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:24:40 dot2 perl[18706]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:24:40 dot2 imapd[18707]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: imapd: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:25:28 dot2 perl[18720]: unable to dlopen
/usr/lib/sasl/libcrammd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libcrammd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:25:28 dot2 perl[18720]: unable to dlopen
/usr/lib/sasl/libdigestmd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libdigestmd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:25:28 dot2 perl[18720]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:25:28 dot2 imapd[18721]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: imapd: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:25:39 dot2 imapd[18727]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: imapd: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:25:39 dot2 perl[18726]: unable to dlopen
/usr/lib/sasl/libcrammd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libcrammd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:25:39 dot2 perl[18726]: unable to dlopen
/usr/lib/sasl/libdigestmd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libdigestmd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:25:39 dot2 perl[18726]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:25:49 dot2 perl[18732]: unable to dlopen
/usr/lib/sasl/libcrammd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libcrammd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:25:49 dot2 perl[18732]: unable to dlopen
/usr/lib/sasl/libdigestmd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libdigestmd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:25:49 dot2 perl[18732]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:25:49 dot2 imapd[18733]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: imapd: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:27:38 dot2 perl[18746]: unable to dlopen
/usr/lib/sasl/libcrammd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libcrammd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:27:38 dot2 perl[18746]: unable to dlopen
/usr/lib/sasl/libdigestmd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libdigestmd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:27:38 dot2 perl[18746]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:27:38 dot2 imapd[18747]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: imapd: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:28:26 dot2 perl[18762]: unable to dlopen
/usr/lib/sasl/libcrammd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libcrammd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:28:26 dot2 perl[18762]: unable to dlopen
/usr/lib/sasl/libdigestmd5.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libdigestmd5.so: symbol __eprintf: referenced symbol not found
Dec  3 10:28:26 dot2 perl[18762]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: perl: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:28:26 dot2 imapd[18763]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: imapd: fatal: relocation error: file
/usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE: referenced
symbol not found
Dec  3 10:45:36 dot2 saslpasswd[18802]: unable to dlopen
/usr/lib/sasl/libgssapiv2.so: ld.so.1: saslpasswd: fatal: relocation error:
file /usr/lib/sasl/libgssapiv2.so: symbol GSS_C_NT_HOSTBASED_SERVICE:
referenced symbol not found


> > I finally got all the error messages to go away and now I just can't
> > seem to log into cyradm. I added users to sasl and I have listed the
> > users in there and all seems well.
> >
> > However, when I try to do
> >
> > cyradm -u cyrus localhost
> > or
> > cyradm -u cyrus palka
> >
> > (I have cyrus listed as an admin in imapd.conf)
> > ----------------------------------------------------
> > IMAP Password:
> >
> > Login failed: generic failure at
> > /usr/cyrus/lib/perl5/site_perl/5.005/sun4-solaris/Cyrus/IMAP/Admin.pm
> > line 78
> > cyradm: cannot authenticate to server with  as cyrus
> > ----------------------------------------------------
> >
> > Running IMTEST:
> > ----------------------------------------------------
> > imtest -m login -p imap localhost
> > C: C01 CAPABILITY
> > S: * OK palka Cyrus IMAP4 v2.0.16 server ready
> > S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
> > NO_ATOMIC_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUB
> > JECT THREAD=REFERENCES IDLE STARTTLS
> > S: C01 OK Completed
> > Password:
> > C: L01 LOGIN cyrus {4}
> > + go ahead
> > C: <omitted>
> > L01 NO Login failed: generic failure
> > Authentication failed. generic failure
> > Security strength factor: 0
> > ----------------------------------------------------
> >
> >
> > What am I doing wrong? I did ldd on master and imapd and both find sasl
> > library. Am I missing something? In IMAPD, sasl is set up with sasldb,
> > so that seems right. Is this another Solaris issue? Getting rid of the
> > perl module errors has been a handful (which is weird because cyrus is
> > deployed on a SOLARIS box at CMU, as their webpage states).
> >
> > Here is my imapd.conf
> >
> > configdirectory: /var/imap
> > partition-default: /var/spool/imap
> >srvtab: /var/imap/srvtab
> > tls_cert_file: /usr/cyrus/conf/cyrus.pem
> > tls_key_file: /usr/cyrus/conf/cyrus.pem
> > admins: cyrus
> >sasl_pwcheck_method: sasldb
> >sendmail: /usr/lib/sendmail
> > allowanonymouslogin: no
> > unixhierarchysep: yes
> > altnamespace: yes
>
>
> ____________________
> Tarjei Huse
> 920 63 413
>

Reply via email to