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. 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
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
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@eds.com] Sent: 03 August 2004 16:15 To: 'samba@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