LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 06-18-2011, 10:15 PM   #1
rjs1943
LQ Newbie
 
Registered: Jan 2011
Posts: 29

Rep: Reputation: 0
Question Ubuntu won't let Windows XP machine connect to ubuntu shared folder.


Ubuntu10.10 won't let XP machine connect to ubuntu shared folder. It worked before but after I upgraded Ubuntu that's when it started not to share with XP machine, at least that's the way it seems. It does work the other way around though. Ubuntu machine can mount XP shared folder. I checked samba's config and it didn't seem to change any. Any thoughts on this?

Thanks:

Last edited by rjs1943; 06-18-2011 at 10:16 PM.
 
Old 06-18-2011, 11:57 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
What error message does Windows show when trying to connect? The Samba logs (log.smbd, log.nmbd) should show something useful when the remote mount attempt is made.
 
Old 06-19-2011, 07:02 AM   #3
rjs1943
LQ Newbie
 
Registered: Jan 2011
Posts: 29

Original Poster
Rep: Reputation: 0
Ubuntu wont let xp machine to connect to ubuntu shared folder

Windows error message is [The specified server cannot perform the requested operation] also something about checking for permissions by administrator. I couldn't find log.smbd or log.nmbd on the ubuntu machine. Neither is listed in System > administration > Log file viewer. Using Ububnu 10.10 here.
 
Old 06-19-2011, 07:17 AM   #4
rjs1943
LQ Newbie
 
Registered: Jan 2011
Posts: 29

Original Poster
Rep: Reputation: 0
OK I did a file find and it took me to log.smbd file which had the following in it:

[2011/06/19 06:49:40.880255, 0] smbd/server.c:281(remove_child_pid)
Could not find child 2195 -- ignoring
[2011/06/19 06:49:40.881617, 0] smbd/server.c:281(remove_child_pid)
Could not find child 2197 -- ignoring

The log.nmbd was empty
 
Old 06-19-2011, 08:00 AM   #5
rjs1943
LQ Newbie
 
Registered: Jan 2011
Posts: 29

Original Poster
Rep: Reputation: 0
Also found this added to log.smbd:

[2011/06/19 07:28:53.471060, 0] lib/util_sock.c:1441(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
[2011/06/19 07:28:53.479492, 0] lib/util_sock.c:1441(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
[2011/06/19 07:28:53.482041, 0] lib/util_sock.c:1441(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
[2011/06/19 07:28:53.513429, 0] lib/util_sock.c:1441(get_peer_addr_internal

But a lot longer down the page.

Last edited by rjs1943; 06-19-2011 at 08:02 AM.
 
Old 06-19-2011, 05:10 PM   #6
rjs1943
LQ Newbie
 
Registered: Jan 2011
Posts: 29

Original Poster
Rep: Reputation: 0
SOLVED
Found this in samba config file

[Public]
path = /home/rich/Public
writeable = yes
browseable = yes
guest ok = yes

The browseable = yes line had a ";" at the beginning making it a comment instead of a command. I just removed the ";" How it got there is anybodys guess.
 
Old 06-19-2011, 05:23 PM   #7
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Strange, but at least it is working properly now. Thanks for updating us with the solution.
 
  


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
windows 98 cannot connect to ubuntu samba shared file spikesync Linux - Newbie 6 03-08-2012 08:14 AM
Windows machine can not see my samba shared folder. mtlhd Linux - Server 13 05-09-2009 10:01 PM
How to Access windows server 2008 shared folder(samba is installed) from Ubuntu pincustomer Linux - Newbie 3 01-28-2009 05:14 AM
Can't write to a shared folder from Windows XP machine Virtuality Linux - Networking 3 05-31-2007 03:49 AM
how to access a shared folder on a windows machine learnfast Linux - Newbie 11 03-12-2005 02:50 AM


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

Main Menu
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