LinuxQuestions.org
Register a domain and help support LQ
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 10-10-2006, 10:32 AM   #1
tyveleyn
LQ Newbie
 
Registered: Jun 2006
Location: The Netherlands
Distribution: Debian Sarge
Posts: 2

Rep: Reputation: 0
Nested shares with SMB possible?


Hi all, does anyone know if it's possible to configure a share in smb.conf such that it will appear as a sub-folder under another folder in a Win client instead of in the root of the samba host? I need to set up a couple of directories in a fileserver on a RedHat machine restricted to a couple of domainusers. Actually I need the functionality to set directory permissions on a per-user basis instead of on a per-group basis and try to accomplish that through SMB shares.

Thanks in advance,
Hans
 
Old 10-11-2006, 05:48 AM   #2
Sertys
Member
 
Registered: Oct 2006
Posts: 42

Rep: Reputation: 15
Well, you can accomplish that via posix acl's and symlinking. E.g. if you have shared folder /crap, you can create symlinks in it to /poo /shit and /pile which have permissions(ACL's) properly set. I can't think of a better answer, because samba does not support nesting(it's a NETBIOS/CIFS limitation indeed).
 
Old 10-11-2006, 07:36 AM   #3
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,281

Rep: Reputation: 61
Quote:
Originally Posted by Sertys
Well, you can accomplish that via posix acl's and symlinking. E.g. if you have shared folder /crap, you can create symlinks in it to /poo /shit and /pile which have permissions(ACL's) properly set. I can't think of a better answer, because samba does not support nesting(it's a NETBIOS/CIFS limitation indeed).
I think you need to reread the terms and condidtions of using this forum, this sort of answer is not warranted, if you don't like the question offer advice in a constructive and civilised way.
 
Old 10-11-2006, 10:15 AM   #4
tyveleyn
LQ Newbie
 
Registered: Jun 2006
Location: The Netherlands
Distribution: Debian Sarge
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the answer,

I wanted to avoid to create a new group with these people as members for this is the only use for the new group. I was just interested if anyone was acquainted with a 'Windows-like' solution in samba. And I'm not offenced by whatever fotoguy is talking about.

Hans

Last edited by tyveleyn; 10-11-2006 at 10:19 AM.
 
Old 10-11-2006, 06:36 PM   #5
Sertys
Member
 
Registered: Oct 2006
Posts: 42

Rep: Reputation: 15
Fotoguy's just not used to g33k humour. If he was reading a bit more math/programming books, he would have taken the saying/sentence/analogy/joke as funny.
And still, i'm not aware of any similiar functionality windows's file sharing offers.
 
  


Reply

Tags
samba


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
cant connect to smb shares murray_linux Slackware 3 02-02-2004 12:35 PM
SMB shares via Konqueror nrunge Linux - Software 1 01-28-2004 12:45 PM
SMB shares and fstab sfagundes Fedora 1 12-30-2003 12:47 PM
SMB shares to OS X MadTurki Linux - Networking 6 12-02-2003 07:59 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 05:25 PM


All times are GMT -5. The time now is 04:09 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