LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-10-2002, 12:07 AM   #1
scheidjm
LQ Newbie
 
Registered: May 2002
Posts: 1

Rep: Reputation: 0
Question Samba on a local network


So I have just moved back home from college, and my network currently consists of two machines and a switch. The "client" is a Windows XP box, and the "server" is running RedHat 7.2 and Samba (not sure of the version, whichever comes bundled with RH 7.2). These two machines are talking to each other just fine, except for Samba.

The Windows box won't map to the server, claiming to be unable to find it:
C:\>net use t: \\192.168.0.2\users
System error 53 has occurred.

The network path was not found.

The server won't map to itself either, if you try to do it by its IP address:
[root@scheidjm-sec samba]# smbclient //192.168.0.2/users
added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.0.0.255 nmask=255.255.255.0
session request to 192.168.0.2 failed (Not listening for calling name)
session request to 192 failed (Not listening for calling name)
session request to *SMBSERVER failed (Not listening for calling name)

If you replace the IP address with "localhost" in the command line, it works fine.

The following lines appear in the log:
[2002/05/09 13:00:07, 0] lib/access.c:check_access(320)
Denied connection from (192.168.0.2)
[2002/05/09 13:00:07, 0] smbd/connection.c:yield_connection(62)
yield_connection: tdb_delete failed with error Record does not exist.
These lines are repeated three times for each connection attempt, and they look the same, whichever box is trying to connect.

My configuration was exactly the same when I was on a "real" network as it is now, and I had no problems. I don't want to use NetBIOS names, I just want to map by IP address, but I can't even do that. So, to make a long story short, does ANYBODY have any idea what the problem here is?
 
Old 07-26-2003, 03:08 PM   #2
3-2
LQ Newbie
 
Registered: Jul 2003
Distribution: debi@n
Posts: 2

Rep: Reputation: 0
yes i just solved this write smb.conf by hand :p

heres what i did to get samba working on an ip trust type relationship
on debian
this is my whole config minus shares of course

# Global parameters
[global]
workgroup = MSHOME
netbios name = SILLYLINUX
encrypt passwords = true
update encrypted = Yes
local master = No
hosts allow = 10.16.8. 127.0.0.1
guest only = Yes
security = share
guest account = eric --(any Linux user account)

and of course make the 10.16.8. youre lan ip


this should work so anyone on youre lan is automaticlly logged in as the guest account specified
 
  


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
Trying to get SAMBA working "Unable to find any workgroups in your local network." shodekiagari Linux - Networking 1 07-08-2005 01:32 PM
two network cards - one for local network, one for http/vsftpd server scottster Linux - Networking 1 01-20-2005 08:52 PM
Samba and local passwords Qauzzix Linux - Networking 1 08-17-2004 01:21 PM
Can't Samba with my Local Network DaddyLongLegs Linux - Networking 8 01-28-2004 02:16 PM
Cannot resolve local addresses on local network danielgrenyer Linux - Networking 6 01-14-2004 11:03 AM

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

All times are GMT -5. The time now is 12:36 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