Hi, > Subject: [Web-cyradm] SASL - generic failure > > Hi all again. > > I had a system up which worked just fine. When I restarted > the server I receive this error message on the server when > try to log in through the email client. > > The system.log: > > Aug 17 13:33:59 venus cyrus/imapd[5813]: badlogin: > 175.80-202-134.nextgentel.com[80.202.134.175] plaintext > test0001 SASL(-1): > generic failure: checkpass failed > > The auth log: > > Aug 17 13:33:49 venus cyrus/imapd[5813]: can't access > srvtab file > /etc/srvtab: No such file or directory > Aug 17 13:33:49 venus cyrus/imapd[5813]: server > add_plugin entry_point error generic failure > Aug 17 13:33:49 venus cyrus/imapd[5813]: > _sasl_plugin_load failed on sasl_server_plug_init for plugin: > kerberos4 > Aug 17 13:33:49 venus cyrus/imapd[5813]: cannot connect > to saslauthd > server: Permission denied > > What is the /etc/srvtab? It is not there. > > When running testsaslauthd I get a success. > > I have worked a coupple of days whith this and I have no more > ideas of what can cause this error. > > The /etc/pam.d/imap look like this: > > auth sufficient pam_mysql.so user=mail passwd=secret > host=localhost db=mail table=accountuser usercolumn=username > passwdcolumn=password crypt=0 logtable=log logmsgcolumn=msg > logusercolumn=user loghostcolumn=host logpidcolumn=pid > logtimecolumn=time > > 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=0 logtable=log logmsgcolumn=msg > logusercolumn=user loghostcolumn=host logpidcolumn=pid > logtimecolumn=time > > account sufficient pam_unix_acct.so > > Except for passwords of cource, which I have changed in this post. > > Thanks in advance. > > Thor Vik
Do you have in smtpd.conf and in imapd.conf the Authparameters set correctly? If you get a SUCSSESS with testsaslauthd. in imapd.conf: sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN LOGIN in smtpd.conf: pwcheck_method: saslauthd mech_list: login plain and if you have a RedHat System look in /etc/sysconfig/saslauthd: MECH=pam Regards Marcel _______________________________________________ This mailing list is hosted and supported by bit-heads GmbH | http://www.bit-heads.ch _______________________________________________ Web-cyradm mailing list [email protected] http://www.web-cyradm.org/mailman/listinfo/web-cyradm
