/ Markus Amersdorfer:home / university / about:me /
\ Say NO to Software-Patents! \

0. Abstract

How to join a Windows 2000 or Windows XP client to a Samba-PDC controlled domain (checked with Debian Woody's Samba 2.2.3a and Windows 2000 SP3 as well as Windows XP Professional SP1):

1. Windows 2000 or Windows XP client

2. Linux (Debian Woody, Samba 2.2.3a)

  useradd -d /dev/null -c "XE3 account" -s /bin/false xe3$
  passwd -l xe3$
  smbpasswd -a -m xe3
  smbpasswd root  [only necessary if you don't know a possibly already set password]
    (for security reasons, give the samba-user root a
     different password than the linux admin user root has.)
    (if the samba-user "root" does not exist yet, you will get an error
     message after entering the password. just create the user by
     entering "smbpasswd -a root" instead of "smbpasswd root".)

3. Windows 2000 or Windows XP client

You can log in with a Samba user now (perhaps you need to create one previously, e.g. "smbpasswd -a max") and LINUX as the domain.

4. Win2k- or XP-client providing shares too

According to Linux New Media's Linux Magazin, edition 2/2003, article King of the Castle, section "Kollegen sind herzlich willkommen", it is vital to deactivate the checkbox "Primäres DNS-Suffix bei Domänenmitgliedschaftsänderung ändern" as there are no Active Directories within Samba-environments.
This checkbox can be reached via "Systemeigenschaften -- Identifikation -- Eigenschaften -- Änderung der Benutzerinformation -- Erweitert -- DNS-Suffix und NetBIOS-Computername". after closing the window, act "as usual" within the window "Änderungen der Benutzerinformation".

99. Add-ons and hints

Valid HTML 4.01! Valid CSS! Created with Vim [Blue Ribbon Campaign icon]
© Markus Amersdorfer
last modified: Tuesday, 23-Feb-2010 15:42:15 UTC