Skip to content

Eduguru

  • Tutorial and Training
    • SQL Server
    • Linux Tutorial
    • PHP Tutorial
    • Asterisk Tutorial
    • MySQL Tutorial
    • JavaScript Tutorial
    • C Tutorial
    • Who Breaks into Computer Systems
    • Planning and Performing Hacking Attacks
    • Maintaining Anonymity
    • Selecting Security Assessment Tools
    • Scanning Systems
  • Contact Us
    • Feedback
  • Business
    • Solutions
      • Job : Dialer Support
    • ViciDial – GoautoDial Support
    • Domain Registration
    • Web Hosting
    • Consultancy
    • Dialer Support
  • About Us
  • News
  • Donate Online
  • Offers
  • Newsletter
  • Jobs
  • Sale
    • Amazon
    • Get Computer Books
    • Amazon Sale Offer
  • Search
  • Python Tutorial
  • Search
  • WPMS HTML Sitemap
  • Log In
  • Log Out
  • Register
  • Lost Password
  • Reset Password
  • Download
  • Result
  • Newsletter
  • search
  • MySQL – Video Tutorial
  • Products Page
    • Checkout
    • Transaction Results
    • Your Account
  • Privacy

Open LDAP step by step installation

Open LDAP step by step installation and configuration

February 11, 2016March 7, 2015 by Satya Prakash
ldap installation

In this article we will learn about step by step installation and configuration of LDAP. To learn about Basic of LDAP, Click here. http://blog.eduguru.in/ldap-basic-of-open-ldap-introduction-to-ldap/  Install Open LDAP: # yum install *openldap* -y Start the Services: # chkconfig –levels 235 ldap on # service ldap start Create LDAP root user password: # slappasswd New password: Re-enter new … Read more

Categories linux, Networking Tags Click here. http://blog.eduguru.in/ldap-basic-of-open-ldap-introduction-to-ldap/ Install Open LDAP: # yum install *openldap* -y Start the Services: # chkconfig --levels 235 ldap on # service ldap star, Convert passwd.file to ldif (LDAP Data Interchange Format) file, Create a domain ldif file (/etc/openldap/t4test.com.ldif), Create a ldap test user, Create LDAP root user password:, dc=com #2 uid: root #3 cn: Manager #4 objectClass: account Create a domain ldif file (/etc/openldap/t4test.com.ldif) # cat /etc/openldap/t4test.com.ldif dn: dc=t4test, dc=com dc: t4test description: LDAP Admin objectClass: dcObject objectClass: organizationalUnit ou: rootobject dn: ou=People, dc=com ou: People description: Users of t4test objectClass: organizationalUnit Import all users in to the LDAP Add the domain ldf file: # ldapadd -x -D "cn=Manager, dc=com' '(objectclass=*)', dc=com" -W -f /etc/openldap/root.ldif Enter LDAP Password: adding new entry "uid=root, dc=com" -W -f /etc/openldap/t4test.com.ldif Enter LDAP Password: adding new entry "dc=t4test, dc=com" #70 rootdn "cn=Manager, dc=com" #71 rootpw {SSHA}cWB1VzxDXZLf6F4pwvyNvApBQ8G/DltW Restart Services: # service ldap restart Create a test user: # useradd test1 # useradd test2 Set User's Password: # passwd test1 Changing pass, dc=com" Add the users: # ldapadd -x -D "cn=Manager, dc=com" adding new entry "ou=People, dc=com" adding new entry "uid=operator, dc=com" Repeat this for all the user. Restart the LDAP service # service ldap restart Print all the user information: # ldapsearch -x -b 'dc=t4test, dc=com"; Convert passwd.file to ldif (LDAP Data Interchange Format) file #/usr/share/openldap/migration/migrate_passwd.pl /etc/openldap/passwd.root /etc/openldap/root.ldif #/usr/share/openldap/migrati, dc=t4test, Import all users in to the LDAP, In this article we will learn about step by step installation and configuration of LDAP. To learn about Basic of LDAP, Install Open LDAP:, ldap Print all the user information:, Migrate local users to LDAP, open ldap, Open LDAP step by step installation, Open LDAP step by step installation and configuration, ou=People, Restart ldap Services:, Restart the LDAP service, Start the ldap Services:, Update /etc/openldap/slapd.conf for the root password:, Update root.ldif file for the "Manager" of LDAP Server 2 Comments

Recent Posts

  • How to resolve -bash: netstat: command not found centos stream 9
  • python script to STT output in a text file
  • New Install Asterisk 18 from source on CentOS Stream 8
  • How to save audio stream from Asterisk to a file via WebSocket
  • create web socket and save data in a text file
  • How to capture and analyze traffic with tcpdump
  • Installing Asterisk 20 From source On Rocky 9
  • html drop down with search from table php mysql
  • How to Install and Use FFmpeg on CentOS 8
  • How to get duration of MP3 or wav any audio File in PHP
  • How to Change location Of MariaDB Data Directory
  • How to check partition details of MySQL table
  • internal server error when download large file php
  • iostat : How to monitor disk activity and CPU load average
  • Webrtc with Asterisk 16 : complete configuration with SIP
  • What is inode and where this is stored
  • How to create Bootstrap Dropdown button/link
  • How to check supported RAM type in Linux System
  • MySQL update table based on value of another table Join
  • How to check the Public IP: Mera Wala IP
  • How to fix WordPress 404 Errors, requested URL was not found on this server: Home Page works
  • How to create Round Buttons and Square Buttons
  • Basic and Simple Examples of Skills with CSS
  • How to SUM Columns value in MYSQL
  • How to create a data table in bootstrap PHP and MySQL ?
  • How to DELETE Data Into MySQL Database Using PHP ?
  • How to Create MySQL user and Grant permission ?
  • What is XML & HTML ? What is Difference Between XML & HTML?
  • What is MySQL Binary logs ,their usages and how to purge binary logs ?
  • How to Select Data Into MySQL Database Using PHP ?
  • How to Remove spaces from string in MySQL ?
  • What is Different Between CHAR & VARCHAR ?
  • How to Insert Data Into MySQL Database Using PHP
  • What is MySQL SELECT Statement And Example of MySQL SELECT Query
  • What is INSERT Statement And Example of INSERT Query ?
  • What is MySQL Cluster vs Replication ?
  • How to Protect your computer from viruses and malware ?
  • What is the Use of Motherboard in a Computer ?
  • Happy Teacher’s Day 2022 – Quotes and Greetings on Teachers’ Day
  • NDA exam date question paper 2022 download and solution
  • What is Need of Information Security?
  • What is Information Security ?
  • How to Secure Web server ?
  • What is JSP ?
  • What is DDoS Attack ? & How Google Stopped the Largest -ever DDoS Attack ?
  • what is Malware ? And How to Stay Protected from Malware Attacks?
  • Best Practices to secure from DDoS Attack
  • How to protect Your Site Against DDoS Attack
  • How to secure from DDoS Attack
  • What is DDoS Attack. Basic introduction of DDoS

Recent Post

  • How to resolve -bash: netstat: command not found centos stream 9
  • python script to STT output in a text file
  • New Install Asterisk 18 from source on CentOS Stream 8
  • How to save audio stream from Asterisk to a file via WebSocket
  • create web socket and save data in a text file
© 2026 Eduguru • Built with GeneratePress