LinuxQuestions.org
Visit Jeremy's Blog.
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, 09: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, 04: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, 06:36 AM   #3
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
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, 09: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 09:19 AM.
 
Old 10-11-2006, 05: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 11:35 AM
SMB shares via Konqueror nrunge Linux - Software 1 01-28-2004 11:45 AM
SMB shares and fstab sfagundes Fedora 1 12-30-2003 11:47 AM
SMB shares to OS X MadTurki Linux - Networking 6 12-02-2003 06:59 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:27 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
Open Source Consulting | Domain Registration