Redhat 6.0 OPENLDAP Configuration

Source: Internet
Author: User
Tags ldap openldap

LDAP works the same way as 5.5, and functions the same, not much in that.

The OPENLDAP configuration process for 6.0linux:

1. First, check the installation of each required package:

650) this.width=650; "style=" Float:none; "title=" 1.png "src=" http://s3.51cto.com/wyfs02/M01/6F/82/ Wkiom1wen3xxie4iaabrttflz-m404.jpg "alt=" Wkiom1wen3xxie4iaabrttflz-m404.jpg "/>

2. View the firewall and SELinux scenarios:

650) this.width=650; "style=" Float:none; "title=" 2.png "src=" http://s3.51cto.com/wyfs02/M02/6F/7F/ Wkiol1weouahxuelaacz2mwt09e364.jpg "alt=" Wkiol1weouahxuelaacz2mwt09e364.jpg "/>

3. Adjust the SELinux key to OFF:

650) this.width=650; "style=" Float:none; "title=" 3.png "src=" http://s3.51cto.com/wyfs02/M02/6F/82/ Wkiom1wen3wzqwq0aadx5yz44uu037.jpg "alt=" Wkiom1wen3wzqwq0aadx5yz44uu037.jpg "/>

4. Copy the LDAP's main provisioning file:

650) this.width=650; "style=" Float:none; "title=" 4.png "src=" http://s3.51cto.com/wyfs02/M00/6F/7F/ Wkiol1weouadswhlaaa_u7budy0634.jpg "alt=" Wkiol1weouadswhlaaa_u7budy0634.jpg "/>

5. Modify the Master profile (where the password configuration is the same as 5.5, you can use ciphertext, or you can use clear text):

650) this.width=650; "style=" Float:none; "title=" 5.png "src=" http://s3.51cto.com/wyfs02/M00/6F/82/ Wkiom1wen3wt2oxraaeq3yxpnm0821.jpg "alt=" Wkiom1wen3wt2oxraaeq3yxpnm0821.jpg "/>

650) this.width=650; "style=" Float:none; "title=" 6.png "src=" http://s3.51cto.com/wyfs02/M01/6F/82/ Wkiom1weobpturozaabeqt9qevs246.jpg "alt=" Wkiom1weobpturozaabeqt9qevs246.jpg "/>

6. Copy the DB Library file into/var/lib/ldap/:

650) this.width=650; "style=" Float:none; "title=" 7.png "src=" http://s3.51cto.com/wyfs02/M02/6F/7F/ Wkiol1weoethn9q-aabbqkm9syy990.jpg "alt=" Wkiol1weoethn9q-aabbqkm9syy990.jpg "/>

7. Restart the service, set the boot to start automatically, give the relevant directory of the owner of the group of LDAP program users:

650) this.width=650; "style=" Float:none; "title=" 8.png "src=" http://s3.51cto.com/wyfs02/M02/6F/82/ Wkiom1weobpshcucaadixjb9snw622.jpg "alt=" Wkiom1weobpshcucaadixjb9snw622.jpg "/>

8. Install the Import tool:

650) this.width=650; "style=" Float:none; "title=" 9.png "src=" http://s3.51cto.com/wyfs02/M00/6F/7F/ Wkiol1weoewquqvvaaau8ev7oia505.jpg "alt=" Wkiol1weoewquqvvaaau8ev7oia505.jpg "/>

9. Change the configuration file:

650) this.width=650; "style=" Float:none; "title=" 10.png "src=" http://s3.51cto.com/wyfs02/M00/6F/82/wKiom1WeOBSj9-8 _aabgcndh9s8647.jpg "alt=" Wkiom1weobsj9-8_aabgcndh9s8647.jpg "/>

650) this.width=650; "style=" Float:none; "title=" 11.png "src=" http://s3.51cto.com/wyfs02/M02/6F/82/ Wkiom1weojysuoy6aabwyg-j6ga786.jpg "alt=" Wkiom1weojysuoy6aabwyg-j6ga786.jpg "/>

10. Convert files such as/etc/passwd to LDIF format:

650) this.width=650; "style=" Float:none; "title=" 12.png "src=" http://s3.51cto.com/wyfs02/M00/6F/7F/ Wkiol1weom3gjyvqaaepz5cdrus302.jpg "alt=" Wkiol1weom3gjyvqaaepz5cdrus302.jpg "/>

11. Change the Slapd.d file to a different name:

650) this.width=650; "style=" Float:none; "title=" 1.png "src=" http://s3.51cto.com/wyfs02/M02/6F/7F/ Wkiol1weoscwh2xwaadauw70od8883.jpg "alt=" Wkiol1weoscwh2xwaadauw70od8883.jpg "/>

12. Connect to the LDAP server server using the Ldapbre Client tool:

650) this.width=650; "style=" Float:none; "title=" 2.png "src=" http://s3.51cto.com/wyfs02/M02/6F/82/wKiom1WeOO_ Agpl8aafxfc2cery129.jpg "alt=" Wkiom1weoo_agpl8aafxfc2cery129.jpg "/>

13. Successful experiments

650) this.width=650; "style=" Float:none; "title=" 3.png "src=" http://s3.51cto.com/wyfs02/M00/6F/7F/ Wkiol1weoscdvfzbaadb-atvg14845.jpg "alt=" Wkiol1weoscdvfzbaadb-atvg14845.jpg "/>

If there is no understanding of this article can leave a message, I will promptly answer.

Redhat 6.0 OPENLDAP Configuration

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.