HP CIFS Server 3.0k Administrator's Guide version A.02.04
sn: client1$
uid: client1$
uidNumber: 1002
gidNumber: 202
homeDirectory: /home/client1$
loginShell: /bin/false
userPassword: {crypt}x
pwdLastSet: 1076466300
logonTime: 0
logofftime: 2147483650
kickoffTime: 2147483650
pwdCanChange: 0
pwdMustChange: 2147483650
rid: 1206
primaryGroupID: 1041
acctFlags: [W ]
displayName: client1$
3. Run the smbpasswd program on the Samba PDC server to create the Windows account:
• Use the following command to add the Windows account for a Windows client to the
/var/opt/samba/private/smbpasswd file if the passdb backend option is set tosmbpasswd:
$ smbpasswd -a -m client1$
An example of the associated machine entry in the /etc/opt/samba/private/smbpasswd file
for a client machine named "client1" would be:
client1$:*803:808:ED816822D0393DAAD3B435B51404DD:321
ABEEFE10EC431B9BBFF1A1C0C047:[W ]:LCT-0000000:
• Use the following command to add the sambaSamAccount entry for a Windows client
to the LDAP directory server if the passdb backend option is set to ldapsam or
ldapsam_compat:
$ smbpasswd -a -m client1
An example of the associated machine entry in the LDAP directory server for a client
machine named "client1" would be:
objectClass: posixAccount
objectClass: sambaSamAccount
cn: client1$
uid: client1$
uidNumber: 1002
gidNumber: 202
homeDirectory: /home/temp
loginShell: /bin/false
gecos: Samba_Server
description: Samba_Server
userPassword: {crypt}x
pwdLastSet: 1076466300
logonTime: 0
logofftime: 2147483650
kickoffTime: 2147483650
pwdCanChange: 0
pwdMustChange: 2147483650
rid: 1206
primaryGroupID: 1041
lmPassword: E0AFF63989B8FA6576549A685C6ADFC1
ntPassword: E0AFF63989B8FA6576549A685C6ADFC1
acctFlags: [W ]
displayName: client1$
4. Logon to Windows NT as a local admin user.
70 Windows Style Domains