LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-06-2013, 09:24 PM   #1
rootyourbrain
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 //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.

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?
---
=============UPDATE=============
Thank you for your support! I will most certainly be using LDAP as the replacement.

Last edited by rootyourbrain; 02-11-2013 at 07:56 PM.
 
Old 02-06-2013, 09:33 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,258

Rep: Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570
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: http://tldp.org/HOWTO/LDAP-HOWTO/
 
Old 02-06-2013, 11:18 PM   #3
freelinuxtutorials
Member
 
Registered: Oct 2009
Posts: 68

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.
  


Reply


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 LinuxQuestions.org Member Intro 1 12-13-2011 09:34 PM
hi linux experts rumz70 Linux - Newbie 4 02-04-2008 10:01 PM
Linux: By Experts - For Experts Cinematography General 10 05-12-2005 03:14 AM
For Linux Experts.....only avols143 Linux - Software 7 02-28-2004 12:17 PM
looking 4 linux experts collegelinux Linux From Scratch 1 02-15-2003 03:41 PM


All times are GMT -5. The time now is 07:41 PM.

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