Install Pluggable authentication module

Hi all
I need to install the Pluggable Authentication Module (PAM) on a TrueNAS server.
I have a test server that is actually just an old Dell workstation with a currently degraded :frowning: raid array forming a single storage Pool which is taken entirely by the storage volume.

The Plugins tab asks for a storage pool to store plugins and jails but the one line is not selectable and I can only cancel that dialog at the moment.
Then a small number of available plugins is shown but the PAM is not among them.
What do I need to do to find and install the PAM?
Thanks for any assistance.

PAM is part of TrueNAS. There is nothing to install.

What exactly do you want to achieve by “installing PAM”?

Thanks for clearing that up.

I’m trying to get get Web GUI users authenticated against Active Directory.

I got a response from TrueNAS that says this is possible :
“Yes, TrueNAS supports Active Directory (AD) authentication for Web GUI users. By joining a TrueNAS system to an AD domain, you can use domain users and groups in local ACLs on files and directories, and also authenticate users against AD credentials for accessing the Web GUI. This is facilitated through the Pluggable Authentication Module (PAM), which allows systems to authenticate users against AD credentials.” but they refuse any further help.

We’ve joined the server to the AD domain, configured DNS and time as per the link they sent [Configuring Active Directory | TrueNAS Documentation Hub] but can’t find anything about how to control Web GUI login through AD.

This isn’t possible in CORE; the only user that can log into the web UI is root.

TrueNAS is a software product and doesn’t answer questions, so I presume you mean you got an answer from iXSystems–where, and what was the exact question you asked? And did you let them know you were running TrueNAS CORE?

Generally questions posted to our bug tracker are automatically closed and redirected to the forums.
Regarding PAM:
nothing to install you already have the modules
Regarding non-root webui auth in Core:
not possible
Regarding AD account UI auth in SCALE:
Enterprise-only

Community users can create local accounts in SCALE and use for UI authentication.

Hi Dan

Thanks for you reply.

Yes, I confirmed I was a Core user and they acknowledged that. Yes, the reply came from iXSystems Customer Support Team in response to my query on their customer support portal. Sorry, I reached there from truenas_dot_com so in my mind they are/were “TrueNAS”

The question I asked was “is active directory authentication of Web GUI users possible in TrueNAS” and their answer was a unqualified “Yes”, below is the text of their email. Were they lying?

iXSystems response:
Hi Chris,

Thank you for clarifying that you are a Core user.

Yes, TrueNAS supports Active Directory (AD) authentication for Web GUI users. By joining a TrueNAS system to an AD domain, you can use domain users and groups in local ACLs on files and directories, and also authenticate users against AD credentials for accessing the Web GUI. This is facilitated through the Pluggable Authentication Module (PAM), which allows systems to authenticate users against AD credentials."

I’d say at least mistaken. AFAIK, CORE (and FreeNAS before it) have never supported anything other than the local root user to log in to the web GUI. They’ve always supported AD integration for sharing, and user authentication/permissions in that context, but never for the web UI.

That answer is peculiar. Worded like it was written by an AI.

Why would a human support person write “This is facilitated through the Pluggable Authentication Module (PAM)”? There is no value in that piece of information. PAM is integrated in the OS and there are no user serviceable parts here.

@pmh is right, that sounds like AI-drivel

Do you have a valid support contract for ixsystems hardware?
Which web page did you get this response from? If it was an email response please send me a PM with details.

Just putting this here:

Thank you for posting that, I’ve passed it along to the team in charge of that tool.

I don’t know if it’s related to the OP:s inquiry, but it starts the same way at least.

Definitely related, thanks. I couldn’t find logs of the answer in OPs quote, but it’s very similar.

I don’t know if you noticed, but the link it gave you as a source was the latest (25.04) documentation so we’ll need to give the bot some remedial training on what are acceptable Core sources.

Or just not use so called AI?

Not my decision to make. We do still have traditional keyword search on the docs hub, so you’re welcome to use that instead.

I don’t use search, either, so personally I will be fine, thanks.

I expect any documentation to be structured in a reasonable way so I can navigate by a hierarchical table of contents.

Hi

Thanks for the discussions, very enlightening. “mistaken” is a nicer way to put it, sorry about that!

No I don’t have a support contract or iXSystems hardware. Their system allowed me to register and post a request so I though I’d try them as I couldn’t find a definitive answer searching.

The below is the answer I got (it was second email - first asked for serial number and other details and I replied it was Core but could upgraded to Enterprise if AD authentication of Web GUI is possible). I agree it sounds similar to the AI chat text but it does have a name so assumed it was someone that knew what they were talking about.

Thanks for you assistance.
Chris

Hi Chris,

Thank you for clarifying that you are a Core user.

Yes, TrueNAS supports Active Directory (AD) authentication for Web GUI users. By joining a TrueNAS system to an AD domain, you can use domain users and groups in local ACLs on files and directories, and also authenticate users against AD credentials for accessing the Web GUI. This is facilitated through the Pluggable Authentication Module (PAM), which allows systems to authenticate users against AD credentials.

For more detailed steps on configuring Active Directory in TrueNAS, you can refer to the Configuring Active Directory documentation.

Please note that at this time we do not provide software support for TrueNAS Core/Scale running on non-iXsystems hardware.
We recommend reading through our TrueNAS New Community Forums (Legacy Forums found here: Community Forums) and Docs Hub. This is the best place to contribute to the open source version of TrueNAS and collaborate with other users on the issues you are experiencing.
Our Community Forums and Docs Hub, especially, are full of great tips to resolve common issues in TrueNAS software.

Thank you,
************* (there was a name and position here I have
************* removed as this is a public forum)
Customer Support Team
Customer Support Portal
Additional Support Resources
Hardware Warranty Procedures

I can’t find any search option on the Docs hub…

It looks like the customer support team does not know the product and is sending out faulty info based on a bad AI

Docs Hub search Function:

image

Our support engineers do know the product, but as a community user you don’t have a support contract and so the person triaging the request (who is not a support engineer) tried to throw you a bone. Sometimes good intentions and unclear documentation can lead to bad results. The documentation is getting fixed / clarified.