How to Automatically Mount NFS Home Directory on Linux with FreeIPA?

0
0
Asked By TechieTurtle37 On

Hey everyone! I'm looking for some guidance on configuring several Linux machines running AlmaLinux 10 to authenticate through FreeIPA while also mounting user home directories from an NFS share on TrueNAS. We have a mixed environment where Windows machines authenticate via Active Directory (using samba-tool on Debian), and the Linux machines use FreeIPA. Both systems enjoy a two-way trust relationship with AD. While the Windows machines handle user authentication and directory creation on the Samba share without any issues, I've run into a snag with the Linux setup. The one Linux machine I've joined to the domain can authenticate with FreeIPA, but I'm facing issues with GNOME not starting after login. I want to ensure that I can configure the NFS share (which shares storage with the Samba server) to serve as the home directory for the Linux users. What steps do I need to take on both the FreeIPA server and the Linux machines to make this happen? I'm aiming for a seamless experience where the same directory is accessible on both Windows and Linux. Any insights would be greatly appreciated!

3 Answers

Answered By NerdyNomad88 On

I think using autofs could really simplify your setup. It's designed for automating the mounting of filesystems, which is perfect for your use case here.

Answered By AdminAdventurer24 On

You definitely want to go with autofs, and you can configure it through the FreeIPA web interface. Just make sure that your TrueNAS box is properly joined to the domain; otherwise, mapping users will be tricky. If you have any specific questions about the autofs settings, feel free to ask!

Answered By CuriousCanary95 On

It's interesting that you're running Samba as an AD domain for Windows and FreeIPA for Linux. Have you considered just using Samba for both? It could simplify things, especially since you're moving toward a full Linux setup.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.