I've got myself confused about what I'm sure is quite basic, please help.
Aim: I want to put my /home directories on a network drive and then share them.
Relevant factors:
* Non-critical home environment
* Mixed linux/windows. All my server stuff is Linux, but users tend to use Windows
* I've already got a samba server sharing some other directories so perhaps prefer to use Samba rather than spinning up another machine for NFS (although would do so if it's the 'right' way).
* User authentication is handled by an ipa server.
* All server machines are containers in a Proxmox host.
My current vague plan:
1) create a directory called /home on my storage
2) mount the /home directory using proxmox bind mounts on the samba machine
3) share the /home directories using samba
4) somehow use automount so that clients only mount their home directories when they log on (i.e. authenticate with the ipa)
Is this the right way? Any pointers or things to avoid? How do I do 4?
Aim: I want to put my /home directories on a network drive and then share them.
Relevant factors:
* Non-critical home environment
* Mixed linux/windows. All my server stuff is Linux, but users tend to use Windows
* I've already got a samba server sharing some other directories so perhaps prefer to use Samba rather than spinning up another machine for NFS (although would do so if it's the 'right' way).
* User authentication is handled by an ipa server.
* All server machines are containers in a Proxmox host.
My current vague plan:
1) create a directory called /home on my storage
2) mount the /home directory using proxmox bind mounts on the samba machine
3) share the /home directories using samba
4) somehow use automount so that clients only mount their home directories when they log on (i.e. authenticate with the ipa)
Is this the right way? Any pointers or things to avoid? How do I do 4?