[Samba] How do I hide [Homes] share?

Herb Lewis hlewis at panasas.com
Thu Sep 21 16:56:26 GMT 2006


Add the following to your homes definition

	browseable = no

Jon Theil Nielsen wrote:
> I don't know if I can actually make an attachement, but I'll try. 
> Otherwise,
> I'll put it into the text message next time.
> 
> Best regards, Jon
> 
> 
> 
> On 09/20/2006 01:16 PM, Jon Theil Nielsen escreveu:
> 
>> > I have setup a samba pdc for my domain and it's working fine. The users
>> > also get a network share as I would like. But when I go to the network
>> > neighborhood, I see both the users home directory but also a "Homes"
>> > share. As far as I can see, the content is the same, but I don't like
>> > that way to do it. Is there a way to only show the home directory?
>>
>>         Jon, something sounds wrong here. Could you please attach
>> your smb.conf and the version of your Samba and your clients so we
>> can have more info to try to help you?
>>
>>         [homes] share is usually hidden.
>>
>>
>> > Best regards, Jon
>>
>>         Kind regards,
>>
>> - --
>> Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
>>
> 
> ------------------------------------------------------------------------
> 
>  [global]
>         workgroup = MFL
>         server string = MFLSERVER2
>         log level = 10
>         logon script = netlogon.bat
>         logon path =
>         logon drive = H:
>         domain logons = Yes
>         os level = 80
>         preferred master = Yes
>         domain master = Yes
>         wins support = Yes
>         ldap ssl = no
>         idmap uid = 10000-20000
>         idmap gid = 10000-20000
> 
> [NETLOGON]
>         browseable = no
>         path = /usr/local/lib/samba/netlogon
>         available = no
> 
> [homes]
>         comment = Home directory on server
>         writeable = yes
>         delete readonly = yes
>         user = %
> 



More information about the samba mailing list