Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba - Gentoo / Windows XP Share [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nilecirb
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jan 2004
Posts: 127

PostPosted: Thu Mar 04, 2004 4:25 am    Post subject: Samba - Gentoo / Windows XP Share [Solved] Reply with quote

When I try to access my Gentoo share from a Windows XP share, I get:
Code:

\\Localhost is not accessible.You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again.

I know that there are no duplicate names. What could be causing this and how can I solve this problem?


Last edited by nilecirb on Fri Mar 05, 2004 2:43 am; edited 1 time in total
Back to top
View user's profile Send private message
John the Kiwi
n00b
n00b


Joined: 03 Dec 2003
Posts: 39

PostPosted: Thu Mar 04, 2004 5:14 am    Post subject: Reply with quote

It looks like you have named both computers on the network localhost? Localhost should only be bound to the 127.0.0.1 adapter. Check your hosts file, if the XP machine is called localhost then change it's name to soemthing else.

Have you looked at the samba logs? Turned the logging level up?

/var/log/log.smbd
/var/log/log.nmbd

Enjoy
Back to top
View user's profile Send private message
nilecirb
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jan 2004
Posts: 127

PostPosted: Thu Mar 04, 2004 6:05 am    Post subject: Reply with quote

The XP machine is not called localhost.

/var/log/log.smbd:
Code:

[2004/01/18 20:24:43, 0] smbd/server.c:main(791)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/03/03 18:54:16, 0] smbd/server.c:main(791)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/03/03 19:01:25, 0] smbd/server.c:main(791)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/03/03 19:45:47, 0] smbd/server.c:main(791)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/03/03 20:02:09, 0] smbd/server.c:main(791)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/03/03 20:02:09, 0] printing/pcap.c:pcap_printer_fn(372)
  Unable to open printcap file /etc/printcap for read!
[2004/03/03 20:15:42, 0] smbd/server.c:main(791)
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/03/03 20:15:42, 0] printing/pcap.c:pcap_printer_fn(372)
  Unable to open printcap file /etc/printcap for read!


/var/log/log.nmbd:
Code:

[2004/01/18 20:24:43, 0] nmbd/nmbd.c:main(795)
  Netbios nameserver version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2004/01/18 20:24:43, 0] nmbd/nmbd.c:main(827)
  standard input is not a socket, assuming -D option
[2004/01/18 20:24:47, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 23666 received with no matching record.
[2004/01/18 20:24:47, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 23667 received with no matching record.
[2004/01/18 20:56:58, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2004/03/03 18:54:16, 0] nmbd/nmbd.c:main(795)
  Netbios nameserver version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2004/03/03 18:54:16, 0] nmbd/nmbd.c:main(827)
  standard input is not a socket, assuming -D option
[2004/03/03 18:54:20, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 6955 received with no matching record.
[2004/03/03 18:54:20, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 6956 received with no matching record.
[2004/03/03 18:59:24, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2004/03/03 19:01:25, 0] nmbd/nmbd.c:main(795)
  Netbios nameserver version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2004/03/03 19:01:25, 0] nmbd/nmbd.c:main(827)
  standard input is not a socket, assuming -D option
[2004/03/03 19:01:29, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 7412 received with no matching record.
[2004/03/03 19:01:29, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 7413 received with no matching record.
[2004/03/03 19:34:36, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2004/03/03 19:45:47, 0] nmbd/nmbd.c:main(795)
  Netbios nameserver version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2004/03/03 19:45:47, 0] nmbd/nmbd.c:main(827)
  standard input is not a socket, assuming -D option
[2004/03/03 19:45:51, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 10037 received with no matching record.
[2004/03/03 19:45:51, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 10038 received with no matching record.
[2004/03/03 20:02:07, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2004/03/03 20:02:09, 0] nmbd/nmbd.c:main(795)
  Netbios nameserver version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2004/03/03 20:02:09, 0] nmbd/nmbd.c:main(827)
  standard input is not a socket, assuming -D option
[2004/03/03 20:02:13, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 11012 received with no matching record.
[2004/03/03 20:02:13, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 11013 received with no matching record.
[2004/03/03 20:15:40, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2004/03/03 20:15:42, 0] nmbd/nmbd.c:main(795)
  Netbios nameserver version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2004/03/03 20:15:42, 0] nmbd/nmbd.c:main(827)
  standard input is not a socket, assuming -D option
[2004/03/03 20:15:46, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 11783 received with no matching record.
[2004/03/03 20:15:46, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 11784 received with no matching record.
[2004/03/03 20:15:46, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 11785 received with no matching record.
[2004/03/03 20:24:30, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...

If I need to, how would I turn the logging level up?
Back to top
View user's profile Send private message
nilecirb
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jan 2004
Posts: 127

PostPosted: Fri Mar 05, 2004 2:43 am    Post subject: Reply with quote

Somehow, I got it to work. Thanks for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum