Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP CIFS Server 2.2g Administrator's Guide: HP-UX 11.0, 11i version 1 and 2 > Chapter 4 Primary Domain Controller (PDC) Support

Join a Windows Client to a Samba Domain

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

  1. Verify the following parameters in the smb.conf file:

    Set the security parameter to “user.”

    Set the workgroup parameter to the name of the domain.

    Set the encrypt passwords parameter to “yes.”

    [global]
    security = user
    workgroup = SAMBADOM #SAMBA Domain name
    domain logon = yes
    encrypt passwords = yes

  2. On the Samba PDC Server, create a machine trust account for a Windows Client in the /etc/passwd file, using the following command:

    useradd -g machines -c NT_workstation -d /home/temp -s /bin/false client1$

    An example of the command can be seen within the upper dark rectangle in Figure 4-1, below.

    The resulting entry for a client machine named “CLIENT1” would be:

    client1$:*.801:800:NT Workstation 1:/home/temp:/bin/false

    where 801 is a uid and 800 is the group id of a group called “machines.” A uid or group id can be any unique number. You may find that uid values 0 through 100 are considered special, and/or server specific. This may, or may not apply to your system.

    The machine account is the machine’s name with a dollar sign character (“$”) appended to it. The home directory can be set to /home/temp. The shell field in the /etc/passwd file is not used and can be set to /bin/false.

    An example of the entry can be seen within the lower dark rectangle in Figure 4-1, below.

    Figure 4-1 Create A Machine Trust Account

    Create A Machine Trust Account
  3. Run the smbpasswd program to add a machine entry for a Windows Client to the /var/opt/samba/private/smbpasswd file using the following command:

    smbpasswd -a -m client1

    An example of this command can be seen within the upper dark rectangle in Figure 4-2, below, and an example of the associated machine entry can be seen in the lower rectangle.

    In this example, the “client1” machine entry is the machine name of a Windows Client.

    Figure 4-2 Add A Machine Entry

    Add A Machine Entry
  4. Logon to Windows NT as a local admin user.

  5. From the Windows NT desktop, click ‘Start’, ‘Settings’ and ‘Control Panel’. When the Control Panel window opens, double-click on the ‘Network’ icon. When the ‘Network’ window opens, click the ‘Identification’ tab. Refer to Figure 4-3 below.

  6. Enter the Samba domain name in the ‘Domain’ field, and click on the ‘Change’ button. Refer to Figure 4-3 below.

Figure 4-3 Entering A Samba PDC Domain Name

Entering A Samba PDC Domain Name
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.