[Samba] Can I limit my browsing of share between clients?
abaitis at gmail.com
Thu Dec 27 04:26:31 GMT 2007
You could also do a per Domain/Workgroup include of shares that only
Machines in that Domain/Workgroup see, includes can cascade as deep as
you like, so you could include a group file in only some of the Domain
include = /etc/samba/include/smb.conf.per-domain.%D
then define the shares in
/etc/samba/include/smb.conf.per-domain.domainname you would have one for
This can also be done per user or per group
include = /etc/samba/include/smb.conf.per-user.%U
include = /etc/samba/include/smb.conf.per-group.%G
Necos Secon wrote:
> Well, as part of SMB, I believe the broadcasting of shares is limited to the local workgroup. However, what you could do is, make the share not browseable, use hosts allow, and add the share as a network drive in the logon scripts. This is what I do at my job (without the hosts allow).
>> From: pelle2004 at hotmail.com
>> To: samba at lists.samba.org
>> Date: Thu, 27 Dec 2007 00:33:39 +0100
>> Subject: [Samba] Can I limit my browsing of share between clients?
>> I have a share like this:
>> comments = Accounting Dep common files
>> browseable = yes
>> writable = yes
>> locking = no
>> path = /mnt/accounts
>> guest ok = no
>> hide ureadable = yes
>> create mask = 0777
>> directory mask = 0777
>> host allowed = 192.168.0.20 192.168.0.25 192.168.0.27 192.168.0.28
>> I wan't 'Accounts' to only be visable on the client's WORKGROUP listed in 'host allowed'.
>> As it is now all clients can see Accounts but only the listed IP's can use it.
>> If I set 'browseable=no' then nobody can see it.
>> Is it possible or is it of the nature of M$.
>> Spara, redigera och organisera dina foton enkelt med Photo Gallery!
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/listinfo/samba
> Share life as it happens with the new Windows Live.
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba