How to join a Linux server to an AD domain

  
 

A summary
In order to manage all server accounts and passwords in the enterprise, you can use the Windows Active Directory solution; for Windows servers, you can directly join the server to the domain; for Linux servers, if To join the Linux server to the domain, you need the assistance of other software. This article introduces the help of Samba and Winbind to add Linux to the Active Directory to achieve unified management of accounts and passwords.

二正文
1. Install and configure Samba and Winbind components 1.1 Install samba and winbind components

[root@localhost cdrom]# yum -y install samba samba-client samba-common samba-winbind samba-winbind- Clients
1.2 Starting the samba service, configuring the samba service to start automatically

[root@linux01 ~]# service smb stop Shut down the SMB service: [OK] [root@linux01 ~]# service smb start Start the SMB service: [OK ] [root@linux01 ~]# chkconfig smb on [root@linux01 ~]# netstat -tunlnp

Copyright © Windows knowledge All Rights Reserved