I manage to install pam_mysql.so, now its located under
/lib/security/pam_mysql.so. But I still get "user not found: checkpass
failed" when I try to log in to the IMAP server. Even I restarted both SASLD
and Mysqld. I have read the RealGreenDragon stuff (which is good), but at
the time beeing I am starting and stoping sasld manually.

So again, I am stucked! Please help?

Regards

Thor Vik


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thor Vik
Sent: 8. august 2005 01:11
To: [email protected]
Subject: RE: [Web-cyradm] Cyradm - SASL problem

What I have done is as stated in Postfix-Cyrus-Web-cyradm-HOWTO
(http://www.tldp.org/HOWTO/Postfix-Cyrus-Web-cyradm-HOWTO/pam-config.html)
by our friend Luc. However I have pasted it in the imap file under
/etc/pam.d/, only changed the password. I have also started the sasld with
-a pam. But when I searched my server it could not find pam_mysql.so. So I
guess this is an error. So when I tries to complie that file from
http://sourceforge.net/projects/pam-mysql/ it gives me this error:


        configure: error: C preprocessor "/lib/cpp" fails sanity check

Which on my computer is a symlink to  /lib/cpp -> /usr/bin/cpp-4.0, so I
guess there is something with my C compiler. I see I have gcc installed. If
anyone has any comments please feel free to comment, but I think this
problem belongs to another mailinglist. 

Regards

Thor Vik




 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Howard Shere
Sent: 7. august 2005 22:16
To: [email protected]
Subject: Re: [Web-cyradm] Cyradm - SASL problem


On Aug 7, 2005, at 2:23 PM, Roland Hebertinger wrote:

> Web-Cyradm doesn't store the user-accounts in the sasldb but only in 
> mysql.
> You'd have to use pam_mysql to authenticate the users against the 
> mysql-db.
> Have a look at Lucs HowTo, everything is explained in detail there.
>

Also, read my blog (URL below).

The options for sasl need to go in two places for this to work right all the
time. My blog entry also has an optimization tip.

Howard Shere
http://www.livejournal.com/users/realgreendragon/
Altair 8800a to Mac OS X so far...

_______________________________________________
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

_______________________________________________
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

_______________________________________________
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

Reply via email to