Adding Win XP/2000 Computer to Samba Domain

by Jerry Winegarden, Duke University OIT

Last revised: 11/29/05

This document describes how to add a PC running MS Windows XP or 2000 to the Domain controlled by a Linux Samba file server.

There are 3 steps:

  1. Add machine account on server for each PC to /etc/passwd and /etc/samba/smbpasswd files.
    (See How to add machine accounts for cookbook and shell script to add machine accounts.)
    See addmachine shell script

  2. Edit registry on each PC to fix "sign or seal"
    (See http://www-jerry.oit.duke.edu/linux/docs/samba/winxp_client_registry_edit for registry edit instructions using regedit.)

  3. Join each PC to domain
    (See How to Add a PC to a MS Domain.)