Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-06-2013, 08:24 PM   #1
LQ Newbie
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
Linux Experts: Please Help

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 //

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.

GOAL: 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.

Last edited by rootyourbrain; 02-11-2013 at 06:56 PM.
Old 02-06-2013, 08:33 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 13,573
Blog Entries: 20

Rep: Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570
LDAP would indeed worth researching. I haven't used it, but I have read quite a bit about it.

This article at The Linux Documentation Project might be a good place to start, though it's a bit dated:
Old 02-06-2013, 10:18 PM   #3
Registered: Oct 2009
Posts: 70

Rep: Reputation: 21
this can be done via winbind mapping of Windows' SID to Unix UID, this is assuming you have all windows clients. So it's worth to search for keywords samba active directory ldap kerberos winbind pam NSS
There's a lot of options, but it still depends on what you want. The most straight forward is use LDAP to serve as your AD compatible DC for your windows clients, esp. with the recent release of Samba 4.0. Then it comes to the question, who will decide you or your boss
2 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
hello Linux experts! andrewstupendo Member Intro 1 12-13-2011 08:34 PM
hi linux experts rumz70 Linux - Newbie 4 02-04-2008 09:01 PM
Linux: By Experts - For Experts Cinematography General 10 05-12-2005 02:14 AM
For Linux Experts.....only avols143 Linux - Software 7 02-28-2004 11:17 AM
looking 4 linux experts collegelinux Linux From Scratch 1 02-15-2003 02:41 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration