Windows: UNC paths vs mapped drives
Posted: Mon Jan 27, 2014 2:41 pm
Update: the problem has to a large extent gone away, with no clear-cut reason why.
I came across this (minor) problem while looking at issues around sharing access to network drives.
Win 7 and XP PCs as domain members with a samba PDC (not sure if this is significant).
If I open a mapped drive (using a drive letter) then the response is almost immediate.
If I open the same folder, but use a UNC path reference (\\host-machine\folder\path), then there is initially a long period where XnView becomes unresponsive.
From XP client systems it is about 18 seconds, from Win 7 client systems it is 30 seconds. If the other machine is not running then it is 4 minutes.
The result is the same whether the machine sharing the folder is a Linux/samba machine, a Win 7 pc or an XP PC.
If I type the same UNC path into Windows explorer, or the "run" box, the response is immediate.
This problem does not happen on classic, or at least the problem is shifted to later, as it seems to be related to the length of time it takes the client to build up the list of remote PCs under the "network" link in the folder tree.
On an AD domain it only takes about 10 seconds to display, so I am wondering if it is something specific to Samba, or to my configuration. At least I know each of smdb, nmdb and winbindd are running.
Edit: if I reboot the client PC then the delay does not happen at all. I wonder if strange things happen when I hibernate.
I came across this (minor) problem while looking at issues around sharing access to network drives.
Win 7 and XP PCs as domain members with a samba PDC (not sure if this is significant).
If I open a mapped drive (using a drive letter) then the response is almost immediate.
If I open the same folder, but use a UNC path reference (\\host-machine\folder\path), then there is initially a long period where XnView becomes unresponsive.
From XP client systems it is about 18 seconds, from Win 7 client systems it is 30 seconds. If the other machine is not running then it is 4 minutes.
The result is the same whether the machine sharing the folder is a Linux/samba machine, a Win 7 pc or an XP PC.
If I type the same UNC path into Windows explorer, or the "run" box, the response is immediate.
This problem does not happen on classic, or at least the problem is shifted to later, as it seems to be related to the length of time it takes the client to build up the list of remote PCs under the "network" link in the folder tree.
On an AD domain it only takes about 10 seconds to display, so I am wondering if it is something specific to Samba, or to my configuration. At least I know each of smdb, nmdb and winbindd are running.
Edit: if I reboot the client PC then the delay does not happen at all. I wonder if strange things happen when I hibernate.