I don't know what version of Samba is included with 5.0.4 but see:
http://au1.samba.org/samba/whatsnew/samba-2.2.4.htmlThe Samba Team are pleased to announce Samba 2.2.4
This is the latest stable release of Samba. This is the version that all production Samba servers should be running for all current bug-fixes.
There have been several fixes and internal enhancements which include:
* More/better SPOOLSS printing functionality for Windows NT/2k/XP clients.
* Several fixes relating to serving PC database files such as (Access and FoxPro) from a Samba file share.
* Several improves in Samba's VFS layer which can be seen in the inclusion of a "Recycle Bin" vfs module. See examples/VFS/README for more details on this.
* Addition of a tool (tdbbackup) for backup/restore of Samba's tdb's
* Continued improvements to winbind for greater scalability and stability
* Several fixes related to Samba's MS-DFS support
* Rpcclient's various printer commands now work (again)
Binary packages will be released shortly for major platforms. The source code can be downloaded from :
ftp://ftp.samba.org/pub/samba/in the file samba-2.2.4.tar.gz or samba-2.2.4.tar.bz2.
md5sum's are available in the same directory.
The release notes follow.
As always, all bugs are our responsibility.
Regards,
The Samba Team.
WHAT'S NEW IN Samba 2.2.4 - 2nd May 2002
=========================================
New/Changed parameters in 2.2.4
--------------------------------
For more information on these parameters, see the man pages for smb.conf(5).
Added/changed parameters
------------------------
* csc policy
* inherit acls
* nt status support
* lock spin count
* lock spin time
* pid directory
* winbind use default domain
As you can see there is some change to the file locking system specifically the 0/0 lock which may be relevant - if this update is needed then you will have to check to see if it is possible to install on 5.0.4 or more likely if an upgrade to 5.1.2 may give you a newer (tho not the latest) version of Samba.
There is a Howto for upgrading to at least 2.2.3a:
http://www.myezserver.com/downloads/mitel/contrib/samba-2.2.3-a/samba-howto.htmlwhich may be of use.
HTH