LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-31-2006, 02:17 PM   #1
attockonian
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


Hi,

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

hosts allow = 192.168.1.3 192.168.1.4
*Ip of my server was 192.168.1.2

I had to reboot my system and somehow my ip was changed to 192.168.1.3 ( 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 192.168.1.3 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
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:48 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
Open Source Consulting | Domain Registration