I have been using Linux on and off for many years. I am not an expert but I manage. For my recent project I am research ways to setup authentication on a RedHat enterprise server. The complicating factor is that authentication is for two group of users (internal and external). By internal I mean people who are employee of the company where as external users are not employee and not in Active Directory. I have setup a Linux server where two group of users collaborate with each other by sharing files. Currently both users are authenticating to local machine. They are using SSH to connect to the server. Is it possible to configure LDAP on the server to use PAM to authenticate internal users to AD while external users to MySQL? I don't mind if external users have to use usernaame as email@example.com
, however internal users should use username assigned to them by the AD.
I hope someone can guide me in the right direction or if I failed to explain clearly please let me know.