Step 1)

Source: Internet
Author: User

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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.