LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Nested shares with SMB possible? (https://www.linuxquestions.org/questions/linux-networking-3/nested-shares-with-smb-possible-491113/)

tyveleyn 10-10-2006 09:32 AM

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

Sertys 10-11-2006 04:48 AM

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).

fotoguy 10-11-2006 06:36 AM

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.

tyveleyn 10-11-2006 09:15 AM

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

Sertys 10-11-2006 05:36 PM

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.


All times are GMT -5. The time now is 12:55 PM.