Hello, I am configuring PCs on Windows W2K to access to a LINUX Server where Samba is mounted Is-it possible to do this ? Directory_1 : Browseable (then visible with the Network Favorits) -Sub_Directory_1a : NOT Browseable (unvisible) BUT Writable -Sub_Directory_2a : " " " If not, then just this ? Directory_1 : NOT Browseable (unvisible) BUT Writable Thanks Albert
If you want a "share" to be hidden from browsing, one option is to add $ to the end of the share name. Example, rather than : [myshare] Change it to [myshare$] And the windows browser will ignore it unless you type in the share name in the address bar. That works for both Windows and Linux hosting servers. -----Original Message----- From: samba-bounces+darren=shelbrook.com@lists.samba.org [mailto:samba-bounces+darren=shelbrook.com@lists.samba.org] On Behalf Of Albert HERVO Sent: Tuesday, September 14, 2004 9:58 AM To: samba@lists.samba.org Subject: [Samba] Access from Windows to Samba/LINUX Hello, I am configuring PCs on Windows W2K to access to a LINUX Server where Samba is mounted Is-it possible to do this ? Directory_1 : Browseable (then visible with the Network Favorits) -Sub_Directory_1a : NOT Browseable (unvisible) BUT Writable -Sub_Directory_2a : " " " If not, then just this ? Directory_1 : NOT Browseable (unvisible) BUT Writable Thanks Albert -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
On Tuesday 14 September 2004 12:09, Darren Martz wrote:> If you want a "share" to be hidden from browsing, one option is to add $ to > the end of the share name. Example, rather than :And the preferred method in Samba is to set in the share definition: browseable = No - John T.> > [myshare] > > Change it to > > [myshare$] > > And the windows browser will ignore it unless you type in the share name in > the address bar. > > That works for both Windows and Linux hosting servers. > > > -----Original Message----- > From: samba-bounces+darren=shelbrook.com@lists.samba.org > [mailto:samba-bounces+darren=shelbrook.com@lists.samba.org] On Behalf Of > Albert HERVO > Sent: Tuesday, September 14, 2004 9:58 AM > To: samba@lists.samba.org > Subject: [Samba] Access from Windows to Samba/LINUX > > > Hello, > > I am configuring PCs on Windows W2K to access to a LINUX Server > where Samba is mounted > > Is-it possible to do this ? > > Directory_1 : Browseable (then > visible with the Network Favorits) > -Sub_Directory_1a : NOT Browseable > (unvisible) BUT Writable > -Sub_Directory_2a : " > " " > > > If not, then just this ? > > Directory_1 : NOT Browseable > (unvisible) BUT Writable > > Thanks > > Albert > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba-- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 OpenLDAP by Example, ISBN: 0131488732 Other books in production.
Nothing works !
- First the parameters is "browseable" or "browsable" ?
- I have created with the Windows Explorer a directory "test" under
the directory "myshare"
and modified the /etc/samba/smb.conf as :
[myshare]
path = /myshare
guest only = Yes
guest ok = Yes
public = Yes
writable = Yes
create mask = 0775
browseable = Yes
[test]
path = /myshare/test
guest only = Yes
guest ok = Yes
public = Yes
writable = Yes
create mask = 0775
browsable = No
[test2]
path = /myshare/test2
guest only = Yes
guest ok = Yes
public = Yes
writable = Yes
create mask = 0775
browseable = No
- Then I Stop and Restart the SMB service
Now the "test" AND "test2" directy are visible by the
Windows Explorer
!
Albert
On Tuesday 14 September 2004 12:09, Darren Martz wrote:> If you want a "share" to be hidden from browsing, one option is
to
add $ to> the end of the share name. Example, rather than :
And the preferred method in Samba is to set in the share definition:
browseable = No
- John T.
>
> [myshare]
>
> Change it to
>
> [myshare$]
>
> And the windows browser will ignore it unless you type in the share
name in> the address bar.
>
> That works for both Windows and Linux hosting servers.
>
>
> -----Original Message-----
> From: samba-bounces+darren=shelbrook.com@lists.samba.org
> [mailto:samba-bounces+darren=shelbrook.com@lists.samba.org] On
Behalf Of> Albert HERVO
> Sent: Tuesday, September 14, 2004 9:58 AM
> To: samba@lists.samba.org
> Subject: [Samba] Access from Windows to Samba/LINUX
>
>
> Hello,
>
> I am configuring PCs on Windows W2K to access to a LINUX Server
> where Samba is mounted
>
> Is-it possible to do this ?
>
> Directory_1 : Browseable (then
> visible with the Network Favorits)
> -Sub_Directory_1a : NOT Browseable
> (unvisible) BUT Writable
> -Sub_Directory_2a : "
> " "
>
>
> If not, then just this ?
>
> Directory_1 : NOT Browseable
> (unvisible) BUT Writable
>
> Thanks
>
> Albert
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
--
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668
Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
- It's "nearly" this !
I want to have a share called directory_1 (or [myshare] here). In
this share, subdirectories ([test1], [test1] ...) which are invisible
to the users, but writeable for these users.
But the "hidden"-flag you say, is for Files, not for folders.
I have tried this (in my example) : The sub-folder "test2" is always
visible under Windows
[myshare]
path = /myshare
guest only = Yes
guest ok = Yes
public = Yes
writable = Yes
create mask = 0775
browseable = Yes
[test2]
path = /myshare/test2
guest only = Yes
guest ok = Yes
public = Yes
writable = Yes
create mask = 0775
browseable = No
map hidden = Yes
- If It's not possible like this, I would have something like this :
[myshare] : NOT Browseable (unvisible) BUT Writable
At the moment it doesn't work better.
- About "browseable" or "browsable" : It seems to be both
correct ?
Albert
-----Message d'origine-----
De : Christoph Scheeder [mailto:christoph.scheeder@scheeder.de]
Envoye : mercredi 15 septembre 2004 11:53
A : Albert HERVO
Cc : samba@lists.samba.org
Objet : Re: [Samba] Access from Windows to Samba/LINUX
Hi,
just to clarify this a bit, you want to have a share called
directory_1.
In this share you want to have subdirectorys which are invisible to
the
users, but writeable, like the so called "hidden-folders" in windows.
is this correct?
Then you need to set up the mapping for the "hidden"-flag of windows.
Have a look at the manpage for smbd.conf and search for "map hidden".
This flag allows the mapping of one of the unix-executable-bit's to
the
windows hidden-flag.
Christoph
Albert HERVO schrieb:> Nothing works !
>
> - First the parameters is "browseable" or "browsable"
?
>
> - I have created with the Windows Explorer a directory "test"
under
> the directory "myshare"
> and modified the /etc/samba/smb.conf as :
> [myshare]
> path = /myshare
> guest only = Yes
> guest ok = Yes
> public = Yes
> writable = Yes
> create mask = 0775
> browseable = Yes
>
> [test]
> path = /myshare/test
> guest only = Yes
> guest ok = Yes
> public = Yes
> writable = Yes
> create mask = 0775
> browsable = No
>
> [test2]
> path = /myshare/test2
> guest only = Yes
> guest ok = Yes
> public = Yes
> writable = Yes
> create mask = 0775
> browseable = No
>
> - Then I Stop and Restart the SMB service
>
> Now the "test" AND "test2" directy are visible by the
Windows
Explorer> !
>
> Albert
>
>
>
>
>
>
> On Tuesday 14 September 2004 12:09, Darren Martz wrote:
>
>>If you want a "share" to be hidden from browsing, one option
is to
>
> add $ to
>
>>the end of the share name. Example, rather than :
>
>
> And the preferred method in Samba is to set in the share definition:
>
> browseable = No
>
> - John T.
>
>
>> [myshare]
>>
>>Change it to
>>
>> [myshare$]
>>
>>And the windows browser will ignore it unless you type in the share
>
> name in
>
>>the address bar.
>>
>>That works for both Windows and Linux hosting servers.
>>
>>
>>-----Original Message-----
>>From: samba-bounces+darren=shelbrook.com@lists.samba.org
>>[mailto:samba-bounces+darren=shelbrook.com@lists.samba.org] On
>
> Behalf Of
>
>>Albert HERVO
>>Sent: Tuesday, September 14, 2004 9:58 AM
>>To: samba@lists.samba.org
>>Subject: [Samba] Access from Windows to Samba/LINUX
>>
>>
>>Hello,
>>
>> I am configuring PCs on Windows W2K to access to a LINUX Server
>>where Samba is mounted
>>
>> Is-it possible to do this ?
>>
>> Directory_1 : Browseable (then
>>visible with the Network Favorits)
>> -Sub_Directory_1a : NOT Browseable
>>(unvisible) BUT Writable
>> -Sub_Directory_2a : "
>>" "
>>
>>
>> If not, then just this ?
>>
>> Directory_1 : NOT Browseable
>>(unvisible) BUT Writable
>>
>>Thanks
>>
>>Albert
>>
>>--
>>To unsubscribe from this list go to the following URL and read the
>>instructions: http://lists.samba.org/mailman/listinfo/samba
>
>
> --
> John H Terpstra
> Samba-Team Member
> Phone: +1 (650) 580-8668
>
> Author:
> The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
> Samba-3 by Example, ISBN: 0131472216
> Hardening Linux, ISBN: 0072254971
> OpenLDAP by Example, ISBN: 0131488732
> Other books in production.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>