There are a lot of online materials about linux joining the windows domain, but most of them are not successful according to the online saying, and many people may not even know what they are talking about, the last net ads join is considered to have been successfully added to the domain. But what then? As a member of the domain, normal machines should be able to provide users in the domain to log on; As a samba service, sharing should be added to the directory so that users can access the domain. After repeated experiments, I finally recorded some details of linux's entry into the windows domain, so I did not dare to enjoy it exclusively.
I use centos5.3 for linux. The ad domain is win2k3 sp2. Domain: Rainbird.net
Win2k3:
Name: ad1
Ip: 192.168.1.241
Dns: 192.168.1.241
Centos5.3:
Name: Filesrv
Ip: 192.168.1.246
Dns: 192.168.1.241
OK, let's go!
1. samba server software requirements
Krb5-workstation-1.2.7-19
Pam_krb5-1.70-1
Krb5-devel-1.2.7-19
Krb5-libs-1.2.7-19
Samba-3.0.5-2
[Root @ filesrv CentOS] # rpm-qa | grep krb5
Krb5-auth-dialog-0.7-1
Krb5-libs-1.6.1-25.el5
Krb5-devel-1.6.1-25.el5
Pam_krb5-2.2.14-1
Krb5-workstation-1.6.1-25.el5
[Root @ filesrv CentOS] # rpm-qa | grep samba
Samba-swat-3.0.28-0.el5.8
Samba-common-3.0.28-0.el5.8
Samba-client-3.0.28-0.el5.8
Samba-3.0.28-0.el5.8
If the "Base" selected by default is not canceled during centos installation, all krb5 packages are installed by default.
You can install samba in this way if you have not selected it.
[Root @ filesrv CentOS] # rpm-ivh xinetd-2.3.14-10.el5.i386.rpm
[Root @ filesrv CentOS] # rpm-ivh -- aid samba *. rpm