MySQL Forums
Forum List  »  Security

Re: MySQL PAM Authentication with AD
Posted by: Suhail Peerzade
Date: July 18, 2016 09:57PM

Well, I figured it out.

First, I enabled the debug logs on PAM following this post - http://serverfault.com/questions/249671/switch-on-pam-debugging-to-syslog.

When I did that, I found that every time I tried to authenticate I was getting the following error: PAM audit_open() failed: Permission denied

The root cause of this was SELinux was enforcing. So I disabled SELinux and restarted the system, which fixed this issue. I'm now able to login to Linux using my AD credentials and then use the mysql command and authenticate to mysql as well!

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL PAM Authentication with AD
1473
July 18, 2016 09:57PM
1011
September 14, 2016 01:49AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.