If you keep copies of everything in /etc/samba and put them back in
place of the files that are defaults after re-install... everything
should work just as it did before the reinstall. I have done this on
multiple sites with 100% success.
--
Eric Anderson
Systems / Security Administrator
21st Century Electronics
Ricker, Tony wrote:
>All,
> I have to wipe my box (RTFM) and the last time I did it, I had to do
>the smbpasswd -a for each user. I backed up the relevant smb files,
>smbpasswd, smbusers, and smb.conf. What is the proper protocol to wipe a
>machine and re-install samba while seamless to the user? I did a test where
>I rename the cp smbpasswd and move it to another dir, rename the smbpasswd
>in /etc/samba, and then cp the file back to /etc/samba and no problems. I
>hope this makes sense. I appreciate any and all help. If anyone needs any
>more info, let me know.
>
>Setup:
>Red Hat Linux 7.2
>Kernel 2.4.9-31smp
>Samba 2.2.3
>
>Cheers,
>
>Tony Ricker
>Technology Coordinator
>St. Louis University
>Phone: 314.977.6844
>Pager: 314.491.0730
>
>
>
>
>