Hello. I have an interesting job that needs to be done. I've Googled but perhaps my choice of search terms are incorrect. I'm curious if there is anyone that can provide an example of how this should be done...
Multiple computers and multiple users. Everyone uses Linux. Let's classify groups now: Agents and Leads.
Agents and Leads have different permissions for different directories.
The directories are a Windows Share from a remote server.. we'll say its location is //192.168.1.200/shared/stuff/here
They are able to smb the directory and access the files by entering their credentials, and we can even bookmark as a 'Place'.
Is it possible to have this mounted at boot, (after networking has begun by implementing autofs and fstab?
There are a few terms I've used in my search for this: autofs, permanent and persistent mounts. All of these turn up really useful information, but I don't understand the examples because they don't directly apply to a multiple user basis.
I want for the groups (agent/lead) to use their LOGIN credentials at startup to automatically mount the directory/share.
1. Some say it may be done through a script (bash/python).
2. I wonder if we can specify folder access based on UID..
a) Our agents' and leads' UIDs are in the 60,000 range.
b) Admin is 1000 and root is 0.
3. An additional note: We use Active Directory which provisions the initial folder access.
NOTE: I just found out about LDAP as an alternative to Active Directory. Is this a viable solution?
Thank you for your support! I will most certainly be using LDAP as the replacement.