[Samba] Reinstall workstation
antony at wayforth.co.uk
Mon Oct 3 12:05:16 GMT 2005
Geert Stappers wrote:
> On Mon, Oct 03, 2005 at 12:23:46PM +0200, Tomasz Chmielewski wrote:
>>Antony Gelberg schrieb:
>>>We have an XP workstation joined to our Samba PDC. Will there be any
>>>issues if we reinstall XP on the workstation and join it to the domain
>>>with the same computer name that it originally had? Is there any need
>>>to delete the original entry from Samba's database of domain
>>>workstations? (Samba 3.0.14, Debian Sarge)
>>no, you don't need to remove the entry.
>>normally it will be "overwritten" when the workstation with the same
>>name (that is, your newly installed workstation) joins the domain.
> What value has
> add machine script =
> in your smb.conf?
None, but it has:
add user script = /usr/local/sbin/addmachine %m
The script looks like:
/usr/sbin/useradd -d /dev/null -g machines -s /bin/false -m $machine
/usr/bin/smbpasswd -a -m $machine
Is this no longer the way to do things? This server may have been
upgraded from Samba 2 since we last added a machine.
More information about the samba