Ant: RE: RE: RE: Cyrus Imap Authentication Problems
evildad
evildad2k at yahoo.de
Tue Sep 27 06:11:05 EDT 2005
HI,
i've created this folder and the smtpd.conf but i
still get these errors.
For testing purposes i created a new User and tested
it.
This is what syslog tells me
Sep 27 12:03:54 evildad imap[21012]: sql plugin Parse
the username evildad
Sep 27 12:03:54 evildad imap[21012]: sql plugin try
and connect to a host
Sep 27 12:03:54 evildad imap[21012]: sql plugin trying
to open db 'mail' on host 'localhost'
Sep 27 12:03:54 evildad imap[21012]: sql plugin Parse
the username evildad
Sep 27 12:03:54 evildad imap[21012]: sql plugin try
and connect to a host
Sep 27 12:03:54 evildad imap[21012]: sql plugin trying
to open db 'mail' on host 'localhost'
Sep 27 12:03:54 evildad saslauthd[20837]: DEBUG:
auth_pam: pam_acct_mgmt failed: User account has
expired
Sep 27 12:03:54 evildad saslauthd[20837]: do_auth
: auth failure: [user=evildad] [service=imap]
[realm=] [mech=pam] [reason=PAM acct error]
Sep 27 12:03:54 evildad imap[21012]: badlogin:
localhost [127.0.0.1] plaintext evildad SASL(-13):
authentication failure: checkpass failed
Sep 27 12:04:57 evildad master[20915]: process 21012
exited, status 0
The strange thing is the "evildad saslauthd[20837]:
DEBUG: auth_pam: pam_acct_mgmt failed: User account
has expired" line. I created this account so why
should it be expired...
So many questions, Sorry.
Greetings,
Evil
--- lkolchin at univ.haifa.ac.il schrieb:
> Hi,
>
> Try to create /etc/postfix/sasl directory.
> Create there file smtpd.conf with these lines:
> pwcheck_method: saslauthd
> mech_list: plain login
>
> Make shure /usr/lib/sasl2/smtpd.conf looks the same
> (this is the SuSE location).
>
> Restart saslauthd and cyrus and try again.
>
> Regards,
> Leon Kolchinsky
>
> -----Original Message-----
> From: evildad [mailto:evildad2k at yahoo.de]
> Sent: Tuesday, September 27, 2005 12:17 PM
> To: ×××× ×§××צ'×× ×¡×§×
> Cc: info-cyrus at lists.andrew.cmu.edu
> Subject: Ant: RE: RE: Cyrus Imap Authentication
> Problems
>
> HI,
> yes it is the real Password for the User mail.
>
> --- lkolchin at univ.haifa.ac.il schrieb:
>
> > Hi,
> >
> > Stupid question but "passwd=secret" in your file
> is really
> > password=real_pass__for_user_mail on MySQL DB?
> >
> > Regards,
> > Leon Kolchinsky
> >
> > -----Original Message-----
> > From: evildad [mailto:evildad2k at yahoo.de]
> > Sent: Monday, September 26, 2005 10:31 PM
> > To: ÃÅÃÂÃâ¢ÃŸ çÃâ¢ÃÅæ'Ãâ¢Ã
> áçÃâ¢
> > Cc: info-cyrus at lists.andrew.cmu.edu
> > Subject: Ant: RE: Cyrus Imap Authentication
> Problems
> >
> > Hi,
> > i had created the file /etc/pam.d/imap with the
> following entries:
> >
> > auth sufficient pam_mysql.so user=mail
> passwd=secret host=localhost
> > db=mail table=accountuser usercolumn=username
> passwdcolumn=password
> > crypt=1 logtable=log logmsgcolumn=msg
> logusercolumn=user
> > loghostcolumn=host logpidcolumn=pid
> logtimecolumn=time
> >
> > account required pam_mysql.so user=mail
> passwd=secret host=localhost
> > db=mail table=accountuser usercolumn=username
> passwdcolumn=password
> > crypt=1 logtable=log logmsgcolumn=msg
> logusercolumn=user
> > loghostcolumn=host logpidcolumn=pid
> logtimecolumn=time
> >
> > And i have also posted this Problem in the
> web-cyradm list with the
> > hope to get the answers i need.
> >
> > Thanks,
> > Evil
> > --- lkolchin at univ.haifa.ac.il schrieb:
> >
> > > Hi,
> > >
> > > First of all try to post this question to
> > web-cyradm list, I'm too on
> > > their list and if you have further questions
> we'll
> > try to help you.
> > >
> > > It may be related to creation of the file
> > /etc/pam.d/imap with the
> > > following entries:
> > > ----------------------------------------------
> > > #%PAM-1.0
> > > auth sufficient pam_mysql.so user=mail
> > passwd=secret host=localhost
> > > db=mail table=accountuser usercolumn=username
> > passwdcolumn=password
> > > crypt=1 logtable=log logmsgcolumn=msg
> > logusercolumn=user
> > > loghostcolumn=host logpidcolumn=pid
> > logtimecolumn=time sqllog=yes
> > >
> > > # auth sufficient pam_unix_auth.so
> > >
> > > account required pam_mysql.so user=mail
> > passwd=secret host=localhost
> > > db=mail table=accountuser usercolumn=username
> > passwdcolumn=password
> > > crypt=1 logtable=log logmsgcolumn=msg
> > logusercolumn=user
> > > loghostcolumn=host logpidcolumn=pid
> > logtimecolumn=time
> > >
> > > # account sufficient pam_unix_acct.so
> > > ---------------------------------------------
> > >
> > > Regards,
> > > Leon Kolchinsky
> > >
> > >
> > > -----Original Message-----
> > > From: info-cyrus-bounces at lists.andrew.cmu.edu
> > > [mailto:info-cyrus-bounces at lists.andrew.cmu.edu]
> > On Behalf Of evildad
> > > Sent: Sunday, September 25, 2005 10:31 PM
> > > To: info-cyrus at lists.andrew.cmu.edu
> > > Subject: Cyrus Imap Authentication Problems
> > >
> > > HI there,
> > > i'd like to set-up an working IMAP Server on my
> > Gentoo System. I used
> > > the Postfix-Cyrus-Web-cyradm-HOWTO from
> > >
> >
>
http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/index.html
> > >
> > > Because I use Gentoo, I compiled all the
> packages
> > with the
> > > âââ¬Ã
¾emergeâââ¬Ã
â command.
> Here are the
> > versions for my installed packages:
> > >
> > > cyrus-sasl-2.1.21-r1
> > > cyrus-imapd-2.2.12
> > > postfix-2.1.5-r2
> > > pam_mysql-0.6.0
> > > mysql-4.0.25-r2
> > > web-cyradm-0.5.4.1
> > >
> > >
> > > They all compiled without errors but after i
> > wanted to create the user
> > > cyrus with the command
> > >
> > > # saslpasswd2 -c cyrus
> > > Password:
> > > Again (for verification):
> > >
> > >
> > > ... the following errors appear in
> > > /var/log/messages:
> > >
> > > Sep 25 17:21:01 evildad saslpasswd2: sql_select
> > option missing Sep 25
> > > 17:21:01 evildad saslpasswd2:
> > > auxpropfunc error no mechanism available Sep 25
> > > 17:21:01 evildad saslpasswd2: _sasl_plugin_load
> > failed on
> > > sasl_auxprop_plug_init for plugin: sql Sep
> > > 25 17:21:05 evildad saslpasswd2: setpass
> succeeded
> > for cyrus Sep 25
> > > 17:21:05 evildad saslpasswd2: error deleting
> entry
> > from sasldb:
> > > DB_NOTFOUND: No matching key/data pair found Sep
> > 25 17:21:05 evildad
> > > saslpasswd2: error deleting entry from sasldb:
> > > DB_NOTFOUND: No matching key/data pair found Sep
> > 25
> > > 17:21:05 evildad saslpasswd2: error deleting
> entry
> > from sasldb:
> > > DB_NOTFOUND: No matching key/data pair found
> > >
> > >
> > > I don't understand why sasl won't find the DB.
> > >
> > > Another Problem is the command to connect to the
> > Server.
> > >
> > > When i type in the following command to the
> Server
> > I get the following
> > > output:
> > >
> > > # cyradm --user cyrus --server localhost --auth
> > plain
> > > Password:
> > > IMAP Password:
> > > Login failed: authentication
> failure
> > at
> > >
>
=== message truncated ===
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
More information about the Info-cyrus
mailing list