iva2k
May 21st, 2009, 04:55 AM
Hi Gang. I just found an answer to a nasty Samba problem that I was having since upgrading my server to Intrepid 8.10
First the problem:
Every single Windows machine (all Win XP) on my home network once in a while looses connection (mapping) of network drives from Samba. It keeps seeing other Windows machine shares, but not Ubuntu. It started happening right after upgrade to Intrepid 8.10.
If I try to open shared location by UNC, such as \\fs\share1, I'm getting a request for the password, but nothing happens after password entry - the password dialog keeps coming back. If I enter \\fs in Explorer, it opens an empty view under My Network Places > Entire Network > Web Client Network, not under Microsoft Windows Network as it would happen normally when Samba connection works. Needless to say that all the shares from that server fall off at that time, and cannot be reconnected by any woodoo that I could think of with that machine (reboots, moving the order of providers for Web Client Network, etc.)
Peculiar part is that all other machines were quite happy and can see the shares.
My server is configured to run Samba+winbind, Apache and has WebDAV module for apache. It is further configured as wins server for the network.
I found one temporary rework - if I stop apache server, restart samba and restart windows machine that flaked out, then I can reconnect the shares. Then I can restart apache, and all seems normal again, until this or some other machine flakes out.
I searched the net low and high for many days. Noone seems to encounter that exact problem like I did, but some pointers suggested that WebDAV handling on Windows has problems.
I'll get to the final solution in a follow-up comment...
First the problem:
Every single Windows machine (all Win XP) on my home network once in a while looses connection (mapping) of network drives from Samba. It keeps seeing other Windows machine shares, but not Ubuntu. It started happening right after upgrade to Intrepid 8.10.
If I try to open shared location by UNC, such as \\fs\share1, I'm getting a request for the password, but nothing happens after password entry - the password dialog keeps coming back. If I enter \\fs in Explorer, it opens an empty view under My Network Places > Entire Network > Web Client Network, not under Microsoft Windows Network as it would happen normally when Samba connection works. Needless to say that all the shares from that server fall off at that time, and cannot be reconnected by any woodoo that I could think of with that machine (reboots, moving the order of providers for Web Client Network, etc.)
Peculiar part is that all other machines were quite happy and can see the shares.
My server is configured to run Samba+winbind, Apache and has WebDAV module for apache. It is further configured as wins server for the network.
I found one temporary rework - if I stop apache server, restart samba and restart windows machine that flaked out, then I can reconnect the shares. Then I can restart apache, and all seems normal again, until this or some other machine flakes out.
I searched the net low and high for many days. Noone seems to encounter that exact problem like I did, but some pointers suggested that WebDAV handling on Windows has problems.
I'll get to the final solution in a follow-up comment...