thanks for the reply....

hosts allow is only for access restrictions so they can still see the list
of shares. we already used this but what they want is to hide some shares
from the other subnet to prevent some hacking. hosts allow plus the
permissions is the only last option.
My solution is to create smb.confs and just use include statements per IP
but considering the number of IP then its not practical, its hard to
maintain.

thanks,
warren

On 1/6/07, Ariz Jacinto <[EMAIL PROTECTED]> wrote:

try adding the following line under the share parameters,


[sharename]
hosts allow = 10.x.x.x


[sharename2]
hosts allow = 192.x.x.x


then restart your SMB service and test the setup.

if that doesn't work, you can setup some rules to
drop the packets accessing some of the shares
coming from unauthorized network.





On 1/3/07, Warren Beldad <[EMAIL PROTECTED]> wrote:
>
> Hi PLUG!
>
> I need help on samba, I want to make some shares invisible to a certain
> subnet.
> example,
> on 10.x.x.x only share1 and share2 are visible.
> on 192.x.x.x only share3 and share4 are visible.
>
> any idea how to do this...
>
> thanks,
> warren
>
>
>
>

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph


_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to