7.1 How to join a Windows domain
Most how tos discuss in detail how to add Linux
servers
to a domain. This how to
describes adding a Linux
client
to a domain. Adding a client to an NT4 domain is
different from adding a client to an Active Directory domain. Both are discussed
in detail.
In all examples in this section we use a domain AD6380 with Primary Domain
Controller SMB3LAB26 and Backup Domain Controller SMB3LAB27.
7.1.1 Joining an NT4 domain
Samba is used to connect to the domain. The minimum smb.conf looks like
Example 7 1.
Example 7 1 smb.conf for joining NT4 domain
[global]
workgroup = AD6380
security = domain
password server = SMB3LAB26,SMB3LAB27
Replace the example domain and password servers with your own domain name
and the correct names or addresses for the primary (and backup) domain
controllers.
You can then join the domain using:
net join S SMB3LAB26 U administrator
Replace SMB3LAB26 with the name (or IP) of your own primary domain
controller and use any domain account that has the right to add machines to the
domain. The command will prompt for the password of the domain account
administrator .
More details on joining an Active Directory domain can be found in the current
Samba 3 release version of the Samba HOWTO Collection. The collection can
be found at the following location:
http://samba.org/samba/docs/
7.1.2 Joining an Active Directory domain
In this case we need both Samba and Kerberos to connect. We need Kerberos to
authenticate against a Windows 200x KDC.
In the example we use domain AD6380.LOCAL with AD server SMB3LAB26.
134
Linux Client Migration Cookbook A Practical Planning and Implementation Guide for Migrating to Desktop
footer
Our partners:
PHP: Hypertext Preprocessor Cheap Web Hosting
JSP Web Hosting
Ontario Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Java Hosting
Cheapest Hosting
Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved