Samba 1 vs. 2, locking and Windows Terminal Server Edition
Jay D. Anderson
Jay.Anderson at dw.deere.com
Tue Jul 13 12:08:56 GMT 1999
Thank you very much for your reply.
However, I very carefull checked this out before I sent a message to the
mailing list. I have two Samba servers running right now, my production
server running 1.9.18p10, and a test server running 2.0.4b. I have attempted
to convert my production server over to version 2 twice now, but have had to
back off both times because of file corruption. I'm still trying to track
that one down.
In any case, using the same WTSE server, I see separate smbd processes
created for each user on the 1.9.18p10 server, while on the 2.0.4b server,
every user on the same WTSE server ends up using the same smbd process. As
I mentioned in my original note, this appears to be okay for file ownership,
but doesn't work properly for file locking.
I have tried setting "nt smb support = no" and that indeed does appear to
take care of the problem. Thanks bringing it to my attention. Evidently,
attempting to provide this feature has broken smbd with regard to WTSE.
Thanks, one problem down.
Andrew Tridgell wrote:
> > On Samba 1.9.18p10 and previous versions, each of the multiple users on
> > the same Windows Terminal Server Edition machine would get their own
> > smbd process. With Samba 2.0.x (I'm currently testing 2.0.4b), this has
> > changed so that every user on a WTSE machine uses the same smbd
> > process.
> Samba has not changed in this regard. Samba behaves exactly the same
> way now that it always has - it uses one process per socket
> connection. It is the only sane way of doing a SMB server.
> If WTSE is treating Samba differently now then you should find out
> why. Working on the above assumption will just lead you to the wrong
> The only major protocol changes between Samba 1.9.18 and 2.0 are the
> addition of NT SMBs. You can disable those with "nt smb support = no"
> Cheers, Tridge
> Andrew Tridgell (tridge at linuxcare.com) Linuxcare, at the Center of Linux
> Phone/Fax: +61 2 6254 9673 Mobile: +61 412 666 929
Jay D. Anderson John Deere Davenport Works
Jay at Deere.com P.O. Box 4198
Phone: 319.388.4268 Fax: 319.388.4159 Davenport, Iowa 52808
More information about the samba