Adding Computer Accounts
To interact in a domain, a Windows NT/2000/XP system must be a member
of the domain. Domain membership is implemented
using computer
accounts,
which are similar to user
accounts and allow a domain controller to keep information with which
to authenticate computers on the network. That is, the domain
controller must be able to tell if requests that arrive from a
computer are coming from a computer that it
“knows” as being part of the
domain. Each Windows NT/2000/XP system in the domain has a computer
account in the domain controllers’ database, which
on a Windows NT/2000 hosted domain is the SAM
database. Although Samba uses a different method (involving the
smbpasswd
file), it also treats computer accounts
similarly to user accounts.
To create a computer account, an administrator configures a Windows NT/2000/XP system to be part of the domain. For Samba 2.2, the " domain administrator” is the root account on the Samba server, and you will need to run the command:
# smbpasswd -a rootto add the root user to Samba’s password database.
In this case, do not provide smbpasswd with the
same password as the actual root account on the server. Create a
different password to be used solely for creating computer accounts.
This will reduce the possibility of compromising the root password.
When the computer account is created, two things must happen on the
Samba server. An entry is added to the smbpasswd file, with a “username” that is the NetBIOS name of the computer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access