[on a Qube as a windows PDC]
To the best of my knowledge if you already know the Samba version that you can do this with (I've not done this, although its sparked an inspiration to try it) RPM packages of samba. The Qube's use an Intel architecture, so you'll find that just getting an RPM of the version you want and installing that should do the job.
Well. I've installed rpm 4.0.2 and the accompanying db 3 upgrades, rebuilt the rpm database and all is well. Installing samba 2.2.3a requires the uninstall of the supplied samba 2.0.5.<mumble>; and complains about pam.d having its nose put out of joint. [[ seriously it appeared to complain about one of the files in /etc/pam.d/ but I haven't tracked down exactly what it means ]]
Knowing the samba 2.2.x (or at least the rpms for RedHat 6.2) sticks its config files in /etc/samba, before I told /etc/rc.d/init.d/smb to restart I symlinked all the config files so that samba is happy everything is in /etc/samba and (supposedly) the Qube's glue is happy everything is in /etc. However, now when a user changes their password using the web admin, or a new users is added - the samba password is not updated :( I'm assuming both that the Qube uses pam for passing around security tokens and that I've managed to break it !
On the plus side, even though I have to log in and issue an smbpasswd command for each of my users when they want to change their passwords, the roving profiles end of things is working for w2k clients, hurrah!
Depending on how often you use/need to use the web-based admin, then it may be worth getting a source tar ball instead of RPM and compiling it to use a different smb.conf/smbpasswd etc file location so that you can make changes, and each time something changes on the web admin interface it doesn't overwrite your config file.
I have a sneaking suspicion that I should be compiling samba with --pam arguments rather than using a supplied rpm ...
Oh, and any assistance with pam would be a godsend! Should I investigate a drop in copy of pam_smbpass.so, or have I got the wrong end of the stick entirely? ... Cobalt/sun people?