Before attempting to join a machine to the domain, verify that Samba is running
on the target domain controller (usually PDC) and that it is capable of being reached via ports
137/udp, 135/tcp, 139/tcp, and 445/tcp (if Samba or Windows Server 2Kx).
The use of the
net rpc join
facility is shown here:
/usr/local/samba/bin/net rpc join -S PDC -U Administrator
The proper response to the command should be “Joined the domain
is your domain name.
Starting and Testing the
Eventually, you will want to modify your Samba startup script to
automatically invoke the winbindd daemon when the other parts of
Samba start, but it is possible to test out just the Winbind
portion first. To start up Winbind services, enter the following
command as root:
Use the appropriate path to the location of the