[Samba] Hosts Allow

JEFFERY, Stuart Stuart.JEFFERY at eur.crowncork.com
Tue Aug 3 15:30:39 GMT 2004


Hi Rob,

I think you can put something like 

hosts allow = 155.72.192.0/255.255.224.0

This would give you the range 155.72.192.0 -> 155.72.223.255.

That's if my calculations are correct.

Stuart Jeffery
Regional IT Support, UK
Crown Cork and Seal

-----Original Message-----
From: Kennedy, Robert K [mailto:robert.kennedy at eds.com] 
Sent: 03 August 2004 16:15
To: 'samba at lists.samba.org'
Subject: [Samba] Hosts Allow


Samba Team,
		I would first like to thank you all for volunteering your
time.

	I am currently running Samba version 2.2.8a on a SUN server using
Solaris 2.9. I have read all the man pages, checked all the old archived
postings, and check three books on Samba but still can't find the answer. My
question is with the "hosts allow" line on the smb.conf file. I have several
ranges that I would like to allow. For example I would like to a allow the
IP range of 155.72.192.1 to 155.72.223.252. and block or deny everything
else outside this range. Is there a IP format, wild card or file that I can
use so the hosts allow line looks manageable. I would hate to type several
different ranges into it because it would get messy. Any suggestions would
be greatly appreciated. 

Thank You
Rob Kennedy 
(586) 986-8176


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list