Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-31-2006, 02:17 PM   #1
LQ Newbie
Registered: Jun 2006
Posts: 10

Rep: Reputation: 0
A samba sharing server should have the ip that is in the hosts allow of smb.conf


I had my smb.conf file with the following allowed hosts

hosts allow =
*Ip of my server was

I had to reboot my system and somehow my ip was changed to ( it could be beacuse my laptop accquired *.3 when i reboot, but this is not the case). In then case when my server's ip was *.3 samba was sharing files with other pcs on the network.

So i did a netconfig and put as the ip of my server, yet it was not working.

Then i thoght may be its conflicting with the 'hosts allow' in smb file. So I disabled hosts allow.

Now the question I have is this. A samba sharing server should have the ip that is in the hosts allow of smb.conf?
Old 08-31-2006, 02:49 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
The hosts allow line is for configuring which other boxes can connect to your samba server so the IP address of the samba server itself doesn't have to be there. A server shouldn't have a dynamic address - can you reconfigure it with a static IP address? That way you won't get this sort of problem.


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
"hosts allow" in smb.conf expects only FQDN, not alias or netbios name!? Not now, John! Linux - Networking 1 10-13-2006 05:17 AM
Reinstalling Samba doesn't recover the original /etc/samba/smb.conf Akhran Debian 2 11-11-2005 12:54 AM
samba conf smb.conf regnier Mandriva 5 02-17-2005 04:27 AM
smb.conf hosts allow shanenin Linux - Networking 2 01-01-2005 04:38 PM
samba server and smb.conf gogo Linux - Software 1 05-04-2001 07:00 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:09 PM.

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