[Samba-it] hosts allow/deny

Marco De Vitis starless at spin.it
Wed Sep 8 16:01:02 MDT 2004


Ho un dubbio sui parametri in oggetto, il man di smb.conf mi sembra 
incoerente. Infatti, cito dalle relative descrizioni (dal man sul web):

----------
hosts allow (S)
[...]
     Example 4: allow only hosts in NIS netgroup "foonet", but deny
     access from one particular host

     hosts allow = @foonet

     hosts deny = pirate

----------

hosts deny (S)

     The opposite of hosts allow - hosts listed here are NOT permitted 
access to services unless the specific services have their own lists to 
override this one. Where the lists conflict, the allow list takes 
precedence.
----------

Ma, se la lista allow ha la precedenza, allora nell'esempio 4 sopra 
all'host "pirate" sarà consentito l'accesso!
Questo supponendo che l'host faccia parte del gruppo "foonet"... perché 
se non ne fa parte allora dovrebbe essere inutile aggiungere quella riga 
hosts deny.

O no?

-- 
Ciao,
   Marco.



More information about the samba-it mailing list