LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Thread Tools
Old 10-13-2008, 10:08 PM   #1
JeffC1
Member
 
Registered: May 2008
Posts: 51
Thanked: 0
drive mappings via group?


[Log in to get rid of this advertisement]
Is there a way in samba to map a user to a certain share based off his group membership? other than manipulating the u parameter i dont know any other way to do it. thanks
JeffC1 is offline     Reply With Quote
Old 10-13-2008, 11:44 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware 12.1, Slackware 13.0
Posts: 3,788
Thanked: 20
I don't know about forcing share mappings, but you can give access to shares based on group membership. If a share has the following in its smb.conf entry, then the members of the group "users" can access it:
Code:
valid users = @users
Was that what you wanted to do?
gilead is offline     Reply With Quote
Old 10-14-2008, 12:20 PM   #3
JeffC1
Member
 
Registered: May 2008
Posts: 51
Thanked: 0

Original Poster
That is not what we're trying to accomplish.

Something simple like

if user group = finance
map f:\\server\finance
else if user group = users
map h:\\server\main-share
else if user group = principals
map p:\\server\principals

can this be achieved somehow?
JeffC1 is offline     Reply With Quote
Old 10-15-2008, 10:12 AM   #4
JeffC1
Member
 
Registered: May 2008
Posts: 51
Thanked: 0

Original Poster
even a windows VB would work correct?
JeffC1 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
key mappings michaeljh2000 Slackware 11 12-25-2006 12:57 PM
Keyboard Mappings doralsoral Linux - Hardware 2 03-20-2005 11:29 AM
Does Anyone Know About The Hard Drive Volume Group harley51 Fedora 1 11-21-2004 08:13 PM
Hard Drive Volume Group harley51 Fedora 0 11-20-2004 08:26 PM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 05:01 PM


All times are GMT -5. The time now is 08:57 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration