G'day, We are having problems when connecting to our Solaris 8 server Zeus from our Windows 2000 Terminal Servers. We are running Samba 2.2.8a on the unix box and are finding that from time to time people are having difficulty opening files from shares on this server. They also have difficulty mapping network drives. It reports errors such are "file doesn't exist". However, we have had no such problems from our Windows workstations, so it looks to be Citrix / Terminal Server related. It appears to be related to sessions remaining there at the back-end after they disconnect, hence when they reconnect it gets confused. If we kill the smbd processes at the back-end that correspond to those old connections they are able to connect again. We had the same problem with Samba 2.2.2, and upgrading to 2.2.8a didn't help. A number of people have reported similar problems in Google Groups. Is this a known bug / issue ? If so, is there a patch or release of Samba that would resolve this issue ? Cheers Rob Rob Davies System Administrator Tenix Defence Systems - Electronic Systems Division Second Ave Technology Park MAWSON LAKES SA 5095 ph +61 (08) 8300 4406 email Rob.Davies@tenix.com
On Tue, Nov 04, 2003 at 11:55:25AM +1100, DAVIES Rob wrote: > G'day, >> We are having problems when connecting to our Solaris 8 server Zeus > from our Windows 2000 Terminal Servers.I think you might be hitting two of the nastiest bugs with that combination. Firstly, there are issues with Solaris 8, and TDB locks, for which there is a solaris kernel patch (it's an fcntl issue). But more importantly, there is an issue caused by the way Windows Terminal Server clients connect - they all use the same smbd. This causes all their operations to be serialised, even worse if something blocks. The best solution is to call your system by as many names as possible. For example, call it by one name per user, particularly for roaming profiles. (So make a user's profile path/homedir \\zeus-username\username or the like). Use DNS (with a samba wins server set to 'dns proxy') or fixed entires in your wins.dat, or an lmhosts file, to force the multiple names. Samba doesn't mind what it gets called. Andrew Bartlett
Andrew Bartlett wrote on Tuesday, 4 November 2003 2:20 p.m.:> But more > importantly, there is an issue caused by the way Windows Terminal > Server clients connect - they all use the same smbd. This causes all > their operations to be serialised, even worse if something blocks.Can you explain this a bit more? I'm wondering if some of the trouble we've been having is caused by this. (We are using Samba 3.0 as a profile/general purpose file server for several Citrix MetaFrame XP servers). Cheers, Paul