Re: consultant help for cyrus pam_mysql (and exim)

2007-08-13 Thread Leon Kolchinsky
, but had lots of issues. This time he > decided > > to use pam_mysql and now can't finish. > > I've never used cyrus pam_mysql and exim (I'm using cyrus pam_mysql and postfix), but you could look at web-cyradm tutorial where you can find an excellent howto (particularly

Re: consultant help for cyrus pam_mysql (and exim)

2007-08-10 Thread Roland Baum
onsultant to help with the final > configuration for a new server? A consulting system admin has had to give up > getting this running and I need it in within the day. This consultant > successfully did my last move, but had lots of issues. This time he decided > to use pam_mysql and

Re: consultant help for cyrus pam_mysql (and exim)

2007-08-09 Thread Jarod Watkins
Jerry, I can't help you with pam_mysql, however I was able to setup Cyrus to auth against mysql with the auxprop plugin from SASL, which should be easier to configure than pam_mysql. Here is what you should have in your imap.conf: sasl_mech_list: PLAIN LOGIN sasl_pwcheck_method: au

consultant help for cyrus pam_mysql (and exim)

2007-08-09 Thread jerry
to use pam_mysql and now can't finish. I can manage the migration, mysql, and cyrus management, but I have now stuggle through google and the archives, but it is not working yet. It is likely a configuration issue. As a desperate attempt, here is what we currently have in /etc/pam.d/imap

Re: saslauthd pam_mysql problem for virtualdomains

2007-04-17 Thread ram
On Tue, 2007-04-17 at 12:50 +0530, ram wrote: > I have a pam_mysql setup with a simple mysql table > and saslauthd is running with the "-r" option on > If I test with a user on the primary domain it works fine , but for a > user on any other domain th

saslauthd pam_mysql problem for virtualdomains

2007-04-17 Thread ram
I have a pam_mysql setup with a simple mysql table and saslauthd is running with the "-r" option on If I test with a user on the primary domain it works fine , but for a user on any other domain there is an auth failure --- cat /etc/pam.d/imap #%PAM-1.0 auth sufficient pa

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-29 Thread Alexandru E. Ungur
>>> sender: "Simon Matter" date: "Thu, Jun 29, 2006 at 03:13:13PM +0200" << > sql_select: SELECT password FROM popusers WHERE alias='%u' and > > domain='%r'; > ^^^ > I'm not sure you need this one. > > And then, from examples I found on the net I think you need the sasl_ > prefix like

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-29 Thread Simon Matter
sys >>sql_user: someuser >>sql_passwd: fubar >>sql_select: SELECT password FROM users WHERE name='%u' and >> domain='%r'; > > Ok. I've dropped PAM+pam_mysql out of the equation. > Now I've got a plain Cyrus+

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-29 Thread Alexandru E. Ungur
wd: fubar >sql_select: SELECT password FROM users WHERE name='%u' and domain='%r'; Ok. I've dropped PAM+pam_mysql out of the equation. Now I've got a plain Cyrus+SASL, unsing auxprop & mysql. Read all the

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Phil Pennock
On 2006-06-27 at 19:25 +0300, Alexandru E. Ungur wrote: > I'm having a bit of a hard time doing a migration of cyrus from this: > anyway, on the old server it is a cyrus+saslauthd+pam+pam_mysql+mysql > On the new server I got saslauthd working pretty much ok (I think). Using PAM,

Re: Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Alexandru E. Ungur
>>> sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 08:38:02PM +0200" << Hm, I may have been wrong... While it's okay to remove the auxprop lines > from the config, it has likely not been the cause for the logs. Your > config really uses pam_mysq

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Simon Matter
>>>> sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:59:12PM +0200" >>>> <<> Sorry, I can not help you at all with the mysql stuff because I have >> never >> used it with cyrus. However, you want to use pam_mysql but your &g

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Alexandru E. Ungur
>>> sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:59:12PM +0200" << Sorry, I can not help you at all with the mysql stuff because I have never > used it with cyrus. However, you want to use pam_mysql but your > cyrus-imapd tries to use the mysq

Re: Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Simon Matter
>>>> sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:13:40PM +0200" >>>> <<> Make that 'cyradm -user cyrus -auth login localhost' > > Thank you! :) > I did that, here's what happened: > > FIRST,

Re: Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Alexandru E. Ungur
>>> sender: "Simon Matter" date: "Wed, Jun 28, 2006 at 07:13:40PM +0200" << Make that 'cyradm -user cyrus -auth login localhost' Thank you! :) I did that, here's what happened: FIRST, I used the old pam_mysql 0.4.5 that was on the old se

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Simon Matter
ns. However, user and domain are two separate > fields in the table and I don't really understand how pam_mysql is > supposed to work with them like that... > Furthermore, I checked the logs on the old server: > ===

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-28 Thread Alexandru E. Ungur
with Cyrus-IMAPd? If not, then appending > the realm isn't necessary. Else you too have to run saslauthd with > parameter "-r". Your database and SQL statements do not indicate > [EMAIL PROTECTED] usage. Yes, we use virtual domains. However, user and domain are two sepa

Re: Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-27 Thread Alexander Dalloz
Am Di, den 27.06.2006 schrieb Alexandru E. Ungur um 18:25: > 3. [EMAIL PROTECTED] lib]# testsaslauthd -u cyrus -p PASSWORD -s imap >0: OK "Success." > > So I think I got the sasl+pam+mysql part working (but I could be wrong, > I'm pretty new to the whole cyrus world :D) > > Now, my problem i

Cyrus+SASL+PAM+pam_mysql Migration problem

2006-06-27 Thread Alexandru E. Ungur
oll anyway, on the old server it is a cyrus+saslauthd+pam+pam_mysql+mysql On the new server I got saslauthd working pretty much ok (I think). 1. it is run like this: # ps ax|grep sasl 32293 ?Ss 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 0 so it uses pam, 2. pam

Re: Trouble with cyrus-imap + saslauthd + pam_mysql

2005-07-27 Thread Jim Bartus
Simon Matter wrote: Could you try "cyradm [EMAIL PROTECTED] --auth=login localhost" Same error :( saslauthd/pam authenticate (and log success) but then imap complains about a cross-realm login. -jim --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.

Re: Trouble with cyrus-imap + saslauthd + pam_mysql

2005-07-26 Thread Simon Matter
- > saslauthd[19088]: SELECT pass FROM accounts WHERE user='[EMAIL PROTECTED]' > saslauthd[19088]: sqlLog called. > saslauthd[19088]: insert into log (msg, user, host, pid, time) > values('AUTH SUCCESSFUL', '[EMAIL PROTECTED]'

Re: Trouble with cyrus-imap + saslauthd + pam_mysql

2005-07-26 Thread Jim Bartus
TH SUCCESSFUL', '[EMAIL PROTECTED]', '', '19088', NOW()) saslauthd[19088]: Returning 0 saslauthd[19088]: returning 0 . saslauthd[19088]: returning 0. saslauthd[19088]: pam_mysql: acct_mgmt called but not implemented. Dont panic though :) imap[19170]: cross-realm log

Trouble with cyrus-imap + saslauthd + pam_mysql

2005-07-26 Thread Jim Bartus
I'm trying to implement a virtual-domain/virtual-user setup where '[EMAIL PROTECTED]' and '[EMAIL PROTECTED]' are separate users/accounts/mailboxes. I'm using RHEL4 and all its official RPMs except for pam_mysql which comes from a third party that rebuilds FC3

Problem loggin with pam_mysql

2005-01-17 Thread Fernando Arconada Oróstegui
why pam_mysql dont log the host ip? my /var/log/auth says:   --- Jan 17 17:06:43 linares saslauthd[22506]: returning 0. Jan 17 17:06:43 linares

resolving SASL vs. crypt'd pwds in MySQL, auxprop vs pam_mysql, & support for secret-based auth mechs [x-posted]

2004-11-09 Thread OpenMacNews
STION(s): (a) web-cyradm's HOWTO instructs that pam_mysql be used with SASL2 for authentication. however, i've found <http://groups.google.com/groups?hl=en&lr=&threadm=bvvqjf%2425rh%241%40FreeBSD.csie.NCTU.edu.tw&rnum=2&prev=/groups%3Fq%3Dpam_mysql%253A%2520MySQ

Re: cyrus-imap and pam_mysql (very strange, and doesn't want to work!)

2004-05-25 Thread Tony
:25:34 cougar saslauthd[67928]: logpidcolumn changed. > May 25 02:25:34 cougar saslauthd[67928]: logtimecolumn changed. > May 25 02:25:34 cougar saslauthd[67928]: db_connect called. > May 25 02:25:34 cougar saslauthd[67928]: returning 0 . > May 25 02:25:34 cougar saslauthd[67928]: db_checkpas

cyrus-imap and pam_mysql (very strange, and doesn't want to work!)

2004-05-24 Thread Mark Nernberg
saslauthd[67928]: db_checkpasswd called. May 25 02:25:34 cougar saslauthd[67928]: pam_mysql: where clause = May 25 02:25:34 cougar saslauthd[67928]: SELECT password FROM accountuser WHERE username='rls0001' May 25 02:25:34 cougar saslauthd[67928]: sqlLog called. May 25 02:25:34 cougar saslauth

cyrus-imapd-2.2.x and web-cyradm+pam_mysql+saslauthd?

2004-02-11 Thread Khalid Mehmood
Does web-cyradm + mysql + pam_mysql + cyrus-imapd-2.2.3-4 combination work anymore, or should I change the authentication mechanism? Any help would be greatly appreciated. Thanks Khan __ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http

Re: what is that meaning in pam_mysql ??

2003-03-14 Thread lst_hoe
Zitat von Temp <[EMAIL PROTECTED]>: > when after I login imap account, there is so much logs, > and how to get rid of them ?? > I seach google, but no exact answer for it. > > Mar 14 08:55:19 mx saslauthd[13604]: pam_mysql: error: sqllog set but > logmsgcolumn not

what is that meaning in pam_mysql ??

2003-03-13 Thread Temp
when after I login imap account, there is so much logs, and how to get rid of them ?? I seach google, but no exact answer for it. Mar 14 08:55:19 mx saslauthd[13604]: pam_mysql: error: sqllog set but logmsgcolumn not set Mar 14 08:55:19 mx saslauthd[13604]: pam_mysql: error: sqllog set but

Re: pam_mysql and cyrus_sasl

2003-03-12 Thread Andreas Meyer
Hello! Am Wed, 12 Mar 2003 15:01:36 -0500 schrieb John Alton Tamplin: > >eta saslauthd[982]: pam_mysql: where clause = > >eta saslauthd[982]: SELECT password FROM accountuser WHERE username='karl' > >eta saslauthd[982]: pam_mysql: select returned more than one

Re: pam_mysql and cyrus_sasl

2003-03-12 Thread John Alton Tamplin
Andreas Meyer wrote: eta saslauthd[982]: pam_mysql: where clause = eta saslauthd[982]: SELECT password FROM accountuser WHERE username='karl' eta saslauthd[982]: pam_mysql: select returned more than one result eta saslauthd[982]: returning 7 after db_checkpasswd. eta saslauthd[982]

pam_mysql and cyrus_sasl

2003-03-12 Thread Andreas Meyer
thd[983]: db_connect called. eta saslauthd[983]: returning 0 . eta saslauthd[983]: db_checkpasswd called. eta saslauthd[983]: pam_mysql: where clause = eta saslauthd[983]: SELECT password FROM accountuser WHERE username='cyrus' eta saslauthd[983]: sqlLog called. eta saslauthd[983]: pa

Re: cyrus/pam_mysql : still no joy

2001-10-02 Thread Vincent Stoessel
OK, there was an extra line in /etc/impad.conf removed it in vi. killall master ; /usr/cyrus/bin/master still no mysql connection recorded in mysql log (tail -f ). sudo pam is still making a mysql connection and querying the mysql database though. Ramiro Morales wrote: > Vincent: > > I do no

Re: cyrus/pam_mysql : still no joy

2001-10-02 Thread Ramiro Morales
Vincent: I do not remember if you said you use Cyrus 2.0.16 in your original post. But if it is the case perhaps you may want to be sure you do not have extra trailing spaces in the lines of /etc/impad.conf 2.0.16 has this bug. It is now fixed in CVS (file is imap/config.c just if you want to p

cyrus/pam_mysql : still no joy

2001-10-02 Thread Vincent Stoessel
OK, tried that and added the extra mysql parameters even though according to the pam docs, they are only necessary if you need to change the defaults. Still no joy. :-( Nick Ustinov wrote: > I'd change it to > > auth optional /lib/security/pam_mysql.so ... > > is user cyr without password?

Re: pam_mysql

2001-05-10 Thread Nuno Silva
I'm sorry if i wasn't 100% clean on the subject. The point is that - in un*x - usernames starting with anything else than a letter [a-z] will not work properly. The first time i read this i was thinking about pam_smb... right now i see that we are talking about pam_mysql. Anyway,

Re: pam_mysql

2001-05-10 Thread The Hermit Hacker
On Thu, 10 May 2001, Nuno Silva wrote: > > I'm sorry if i wasn't 100% clean on the subject. > The point is that - in un*x - usernames starting with anything else than > a letter [a-z] will not work properly. not true here either ... the University that I work at, since before I ever got there, h

Re: pam_mysql

2001-05-10 Thread The Hermit Hacker
st my $0.02, > Nuno Silva > > Nick Ustinov wrote: > > > is there anyone using pam_mysql for auth? it seems to not accept usernames > > consisting only of numerals. Let's say there is a user 00100 and then when I > > try to do auth it just dies and that's it

Re: pam_mysql

2001-05-10 Thread Nuno Silva
ted :) Try to login as 0 (zero) and give as password the root password (user root must exist in the PDC/windows box). Just my $0.02, Nuno Silva Nick Ustinov wrote: > is there anyone using pam_mysql for auth? it seems to not accept usernames > consisting only of numerals. Let's say t

pam_mysql

2001-05-10 Thread Nick Ustinov
is there anyone using pam_mysql for auth? it seems to not accept usernames consisting only of numerals. Let's say there is a user 00100 and then when I try to do auth it just dies and that's it. Can it possibly be because of sprinf it is using has %s ? I am not into C much. Could anyone

Re: problems with pam_mysql; imap works, pop3 doesn't!

2000-10-29 Thread Simon Loader
Paul Dekkers wrote: > > Hi > > I tried pam_mysql instead of sasldb, and I am now able to log in to imap > (and even a simple login shell) with the data specified from the database, > but pop3 isn't working - what can be wrong? When I change from > sasl_pwcheck_method:

problems with pam_mysql; imap works, pop3 doesn't!

2000-10-28 Thread Paul Dekkers
Hi I tried pam_mysql instead of sasldb, and I am now able to log in to imap (and even a simple login shell) with the data specified from the database, but pop3 isn't working - what can be wrong? When I change from sasl_pwcheck_method: PAM to sasl_pwcheck_method: sasldb both systems (as well