OpenLDAP==LDAP RESOURCES==The OpenLDAP software package is an Open Source and Free implementation of the Lightweight Directory Access Protocol (LDAP). It is gaining wide acceptance as the directory access method of the Internet and also with corporate intranets. Online References: *
In this lab, you set up and configure a OpenLDAP server and clients to provide network service of user authenication. You can then use the OpenLDAP client/server to replace your NIS client/server for network user authentication.
Notes: OpenLDAP Use TCP port 389 for regular communication and port 636 for encrypted transactions==OBJECTIVES==
Part 1 - The OpenLDAP server setup software package is an Open Source and configuration on CentOS 7Install Free implementation of the following packages required for Lightweight Directory Access Protocol (LDAP). It is gaining wide acceptance as the OpenLDAP server on centos2directory access method of the Internet and also with corporate intranets.
openldapopenldap-In this lab, you set up and configure a OpenLDAP server and clientsopenldap-developenldap-serversnss_ldapmigrationtoolsReference:to provide network service of user authenication. You can then use the OpenLDAP client/server to replace your NIS client/server for network user authentication.
Text Book Chapter 17 - OpenLDAP
Documentation: file:///usr/share/doc/openldap-servers-2.3.27/guide.html
Sample nsswitch configuration file for LDAP: /usr/share/doc/nss_ldap-220/nsswitch_ldap
OpenLDAP Server configuration Summary overview
Create an Notes: OpenLDAP databaseUse TCP port 389 for regular communication and port 636 for encrypted transactions
Create an ==INVESTIGATION 1: OpenLDAP “root” password server setup and edit the OpenLDAP main configuration file /etc/openldap/slapd.confon CentOS 7==
Start the OpenLDAP server daemon===OPENLDAP INSTALLATION & INITIAL CONFIGURATION===
Create an LDIF file for importing to '''Perform the OpenLDAP databasefollowing steps:'''
#Make certain all VMs are running.#Switch to your VM2 machine.#Install the following packages required for the OpenLDAP server on centos2:<br>'''openldap'''<br>'''openldap-clients'''<br>'''openldap-devel'''<br>'''openldap-servers'''<br>'''nss_ldap'''<br>'''migrationtools'''<br><br>'''NOTE:''' Refer to following URL for documentation:<br>Text Book Chapter 17 - OpenLDAP<br>Documentation: file:///usr/share/doc/openldap-servers-2.3.27/guide.html <br>Sample nsswitch configuration file for LDAP: /usr/share/doc/nss_ldap-220/nsswitch_ldap<br><br># Create an OpenLDAP database# Create an OpenLDAP “root” password and edit the OpenLDAP main configuration file /etc/openldap/slapd.conf#Start the OpenLDAP server daemon#Create an LDIF file for importing to the OpenLDAP database#Import an LDIF file into the OpenLDAP database
=== OpenLDAP Server configuration details:Configuration ===
*** Complete this step on centos2 ***
ldapsearch -x -b 'dc=learnid,dc=org' '(objectclass=*)'
Part '''Record steps, commands, and your observations in INVESTIGATION 1 in your OPS335 lab log-book''' ==INVESTIGATION 2 : - Setup and configure OpenLDAP Client SETUP & CONFIGURE OPENLDAP CLIENT== *** to be completed on centos3 ***
Required RPMS for LDAP client
ldapsearch -x -b 'dc=learnid,dc=org' -h ip-of-your-ldap-server 'uid=ldapuser'
'''Record steps, commands, and your observations in INVESTIGATION 2 in your OPS335 lab log-book'''
==COMPLETING THE LAB==
Arrange proof that you can send e-mail from your '''VM2''' machine to your '''Seneca College e-mail account''', and than you can '''send and receive e-mail messages locally on your VM2 machine only'''. Also show your logbook notes regarding MTA information from your sent email header on your Seneca College mail account.
==EXPLORATION QUESTIONS==
#