LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Ubuntu won't let Windows XP machine connect to ubuntu shared folder. (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ubuntu-won%27t-let-windows-xp-machine-connect-to-ubuntu-shared-folder-887119/)

rjs1943 06-18-2011 09:15 PM

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:

MS3FGX 06-18-2011 10:57 PM

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.

rjs1943 06-19-2011 06:02 AM

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.

rjs1943 06-19-2011 06:17 AM

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

rjs1943 06-19-2011 07:00 AM

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.

rjs1943 06-19-2011 04:10 PM

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.

MS3FGX 06-19-2011 04:23 PM

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


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