How do you restrict samba so that it will only look at requests comming from internal sources (192.168.0.0/24) via the nic that is directly connected to them?
Look at the variables available, you can put them into the configuration file, they are designated by a percent (%) sign and either uppercase or lowercase letters (%I, %a, etc..) you can use %I to designate the IP address for the share it's configuring, for example:
[pub]
path = /home/user/%a
The %a designates system architecture (Win95, MAC, WinNT, etc..)
The Samba manual Using Sambacan be downloaded from
Thanks Jon I appreciate it. On a side note I had just downloaded a copy of the book yesterday and hopefully I will be able to get around to reading it on the weekend.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.