Re: pam not working on centos?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Check the mysql server to ensure it will allow that host/username
combination.

rupert wrote:
> ok, I missed the part about the /lib64 folder where i should put the .so file.
> 
> Right now my salsauthentification ist working on one host, but when I
> try to connect to
> mysql server on the first from a second host, pam wont connect.
> But I can login with mysql --host=server1.
> 
> Feb  3 11:20:39 backend-A1 saslauthd[9312]: pam_mysql - MySQL error
> (Can't connect to MySQL server on 'server1' (13))
> Feb  3 11:20:39 backend-A1 unix_chkpwd[9896]: password check failed
> for user (cyrus)
> Feb  3 11:20:39 backend-A1 saslauthd[9312]: pam_unix_auth(imap:auth):
> authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
> user=cyrus
> 
> thx
> 
> rupert
> 
> On Sat, Feb 2, 2008 at 5:48 PM, Rupert <rupertt@xxxxxxxxx> wrote:
>> Jason Gerfen schrieb:
>>
>>> Ensure your openssl libraries are being linked against with the
>>  > pam_mysql module or configure it to not use SSL. A good way to test is
>>  > to run the 'ldd' command on the pam_mysql module and even the 'nm'
>>  > command to ensure the proper functions are used and were built during
>>  > compile.
>>  >
>>  >
>>  how can i make sure everything is in there?
>>  the make runs fine, and in the config.h I is written that it uses SSL.
>>  Can you provide me the right include pathes for centOS like
>>  --with-mysql=/usr/whereever ?
>>  Im new to the RPM base.
>>
>>
>>  thx
>>
>>
>>
>>  > rupert wrote:
>>  >
>>  >> Hello,
>>  >> i installed a complete cyrus murder setup in a VMware machine and now
>>  >> im transferring my configuration to a real 64Bit machine, i donwloaded
>>  >> pam_mysql and compiled it,
>>  >> when I try to login with cyradmin or imtest i always get some errors
>>  >> and there isnt even a query executed in mysql.
>>  >> How can i fix this?
>>  >>
>>  >>
>>  >> badlogin: localhost.localdomain [127.0.0.1] PLAIN [SASL(-16):
>>  >> encryption needed to use mechanism: security flags do not match
>>  >> required]
>>  >>
>>  >> badlogin:host1 [127.0.0.1] plaintext cyrus@fbla1host1 SASL(-13):
>>  >> authentication failure: checkpass failed
>>  >>
>>  >> Feb  1 17:29:11 frontend-A1 mupdate[2048]: No worthy mechs found
>>  >>
>>  >>
>>  >> thx a lot
>>  >>
>>  >> _______________________________________________
>>  >> Pam-list mailing list
>>  >> Pam-list@xxxxxxxxxx
>>  >> https://www.redhat.com/mailman/listinfo/pam-list
>>  >>
>>  >
>>  >
>>  >
>>
>>
>>
> 
> _______________________________________________
> Pam-list mailing list
> Pam-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/pam-list


-- 
Jason Gerfen

"I practice my religion
 while stepping on your
 toes..."
~The Ditty Bops

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux