[Samba] FW: smb.conf
Rowland Penny
rowlandpenny241155 at gmail.com
Thu Aug 27 13:14:06 UTC 2015
On 27/08/15 14:03, L.P.H. van Belle wrote:
> ok, try it like this.
>
> hosts allow = 127.0.0.1 192.168.1. EXCEPT 192.168.1.251
> Greetz,
>
> Louis
>
>
> Van: Bernadette.McCluskey at gmb.org.uk [mailto:Bernadette.McCluskey at gmb.org.uk]
> Verzonden: donderdag 27 augustus 2015 14:36
> Aan: L.P.H. van Belle
> Onderwerp: Re: [Samba] smb.conf
>
>
>
> I added a host ip to hosts deny in smb.conf and saved & restarted services.
> I then added that ip's subnet to hosts allow. but I then had to add the individual ip to get this to work.
>
> I do not want to post my smb.conf publicly.
You could always 'sanitize' it i.e. alter everything that identifies
your domain etc
Rowland
>
> Bernadette McCluskey
> Ops/Comms Administrator
> GMB National Admin Unit
> St James Business Park
> 81 Linwood Rd
> Paisley
> PA3 3BB
>
> DD1:- 0141 849 6642
> email:-bernadette.mccluskey at gmb.org.uk
>
>
>
>
>
>
> From: "L.P.H. van Belle" <belle at bazuin.nl>
> To: "samba at lists.samba.org" <samba at lists.samba.org>
> Date: 27/08/2015 13:18
> Subject: Re: [Samba] smb.conf
> Sent by: "samba" <samba-bounces at lists.samba.org>
>
>
>
> What you wrote is not complete clear to me..
>
> I guest you mean something like this.
>
> hosts allow = 127.0.0.1 192.168.2.0/24
> hosts deny = 192.168.2.100/32
>
> And i cant guest what you "exact" did in smb.conf, so without it, im not sure ..
> so please post your smb.conf so we can see what you mean.
>
>
> Greetz,
>
> Louis
>
>
>
>
>> -----Oorspronkelijk bericht-----
>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>> Bernadette.McCluskey at gmb.org.uk
>> Verzonden: donderdag 27 augustus 2015 13:23
>> Aan: samba at lists.samba.org
>> Onderwerp: [Samba] smb.conf
>>
>> I added a hosts deny line to above and denied one specific ip address.
>> I then deleted that line but added hosts allow and made this
>> equal to any
>> ip address within previous "denied ip address's subnet. However, the
>> afore-mentioned ip was still denied and I had to allow it individually.
>> Can anyone tell me why.
>>
>> Thanks
>>
>> Bernadette McCluskey
>> Ops/Comms Administrator
>> GMB National Admin Unit
>> St James Business Park
>> 81 Linwood Rd
>> Paisley
>> PA3 3BB
>>
>> DD1:- 0141 849 6642
>> email:-bernadette.mccluskey at gmb.org.uk
>>
>>
>>
>>
>>
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
>>
>>
>
More information about the samba
mailing list