For those of you debating how to compile samba from source etc, please confine yourselves to using RPMs unless you really know what you are doing. If you are running a samba PDC and happen to lose your MACHINE.SID file (for example), it will mean you will have to reset any file permissions on member NT/2000 machines, and possible recreate user profiles, and rejoin all machines to the domain A number of changes have been made to packaging of samba on Mandrake (most configs have mode from /etc to /etc/samba), and there are scripts for migrating the config files to the new directory. If you search on rpmfind.net, you will notice there is a source rpm of samba 2.2.1a for for Mandrake 7.2 (http://rpmfind.net/linux/rpm2html/search.php?query=samba) So, download the src.rpm, make sure you have sane .rpmmacros and .rpmrc files in your home directory (see the Mandrake RPM howto if necessary) and rebuild the rpm: rpm --rebuild samba-2.2.1a-3mdk72.src.rpm Alternatively (if you trust me), you can download binaries from: http://www.cae.co.za/~bgmilne/mandrake/samba-2.2.1 (built on a stock Mandrake 7.2 machine - no updates even - though they have not been tested much) You will notice the smb.conf file (probably created as /etc/samba/smb.conf.rpmnew) has been modified. It should now be roughly 10 lines to uncomment to make a samba PDC, and about another 2 lines to have automatically created login scripts. If you guys have any more suggestions for the smb.conf file, please let me know .... Buchan P.S. Even though the migration scripts have been tested, now is not a bad time to backup some of the critical samba files (/etc/smbpasswd, /etc/smb.conf, /etc/smbusers, /etc/MACHINE.SID, /etc/lmhosts for starters) P.P.S Sorry this is so late, I am subscribed in digest ... -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 808 2497 Stellenbosch Automotive Engineering http://www.cae.co.za
