November 22, 2024, 03:18:27 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: cyrus imap server authentication problem  (Read 4978 times)

Offline joydeep

  • Linux Noob !
  • *
  • Posts: 21
cyrus imap server authentication problem
« on: February 21, 2007, 06:58:58 AM »
Dear list,

this is a general cyrus-imap problem which I am facing in my suse 10.1.

the cyrus-imap admin user is cyrus and password --->  secret

-------------------------------------------------------------------
# cat /etc/passwd | grep cyrus
 
cyrus:x:96:12:User for cyrus-imapd:/usr/lib/cyrus:/bin/bash
-------------------------------------------------------------------

I hv no problem to log into cyradm like   * cyradm -u cyrus localhost*

now I hv created an user joydeep with  *saslpasswd2 -c joydeep*

also through cyradm I hv created mailbox for the same user like

localhost > cm user.joydeep

and *lm* shows the existace of the user.joydeep

but this time   * cyradm -u joydeep  localhost* is not working and it
throws an error like

Login failed: authentication failure at
/usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi/Cyrus/IMAP/Admin.pm
line 118
cyradm: cannot authenticate to server with  as joydeep

though the existance of the user joydeep is been confirmed by

# sasldblistusers2

joydeep@linux: userPassword

the hostname of this machine is linux.

I got an authentication error like
-------------------------------------------------------------
# testsaslauthd -u joydeep -p jb
0: NO "authentication failed"
-------------------------------------------------------------------

 I hv checked the /etc/sysconfig/saslauthd   and found

## Path:           System/Security/SASL
## Type:           list(getpwent,kerberos5,pam,rimap,shadow,ldap)
## Default:        pam
## ServiceRestart: saslauthd
#
# Authentication mechanism to use by saslauthd.
# See man 8 saslauthd for available mechanisms.
#
SASLAUTHD_AUTHMECH=pam


so it is not sasldb but it is pam. now how can I just enter a userid and pasword in PAM ?

thanks

_______________________________________________
Kolab-users mailing list
Kolab-users@kolab.org
https://kolab.org/mailman/listinfo/kolab-users

Offline joydeep

  • Linux Noob !
  • *
  • Posts: 21
cyrus imap server authentication problem
« Reply #1 on: February 21, 2007, 11:09:45 AM »
Is there any way authenticate cyrus uaers against the mysql ?

thanks