LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-10-2012, 03:32 PM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,561

Rep: Reputation: 37
samba host allows for a /24


I want to add a hosts allow into my smb.conf, but not sure if 1.2.3. is the same thing as 1.2.3.0/255.255.255.0 but just a shorthand way to put it in there?
 
Old 07-10-2012, 04:34 PM   #2
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,561

Original Poster
Rep: Reputation: 37
Or I guess maybe the better question is, how many different ways can you specify 1.2.3.0/255.255.255.0 for the hosts allow parameter?
 
Old 07-10-2012, 05:03 PM   #3
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
AFAIK, both 1.2.3.0/24 and 1.2.3. are acceptable.
 
Old 07-10-2012, 05:07 PM   #4
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,561

Original Poster
Rep: Reputation: 37
ok, thanks. i assumed they meant the same, but would be the first time i embarrassed myself assuming haha.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Host name access without Samba? damateem Linux - Server 4 12-04-2010 12:18 PM
Samba AD groups GIDs off by ~ 3 from FED12 host A to host B okeeton Linux - Server 0 04-07-2010 12:00 AM
Can't access Samba by host name tebucky Linux - Newbie 4 02-26-2009 08:33 AM
Samba host names - how? levand Linux - Networking 3 11-18-2004 05:01 AM
Samba / Host name issue lsgko Linux - Newbie 6 08-18-2003 10:00 PM


All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration