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

Create the Machine Trust Accounts

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Creating the Machine Trust Accounts for a Windows Client (Client = member server) on a HP CIFS Server acting as a PDC means:

  • Creating machine accounts in the file named /etc/passwd

  • Creating the machine accounts entries in the file named /var/opt/samba/private/smbpasswd

The following steps are used to create a machine account for a Windows Client on a HP CIFS Server acting as a Primary Domain Controller (PDC).

  1. On the Samba PDC Server, use the following command(s) to create a new group called “machines”. This group should be created in the /etc/group file.

    groupadd machines

  2. Create the 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$

    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.

  3. On the Samba PDC server, run the “smbpasswd” program to add a machine entry for a Windows client to the /var/opt/samba/private/smbpasswd file. Example:

    smbpasswd -a -m client1

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

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