Posts

Showing posts from June, 2020

Installation and Configuration OpenLDAP with DNS on CentOS 7

Image
Installation and Configuration of OpenLDAP Server with DNS Server on CentOS 7 OpenLDAP means open source Lightweight Directory Access Protocol. The basic purpose of OpenLDAP is centralized the network resource for example User Access its personal home folders and files from Linux machine in our case CentOS Linux 7 by use of Network File Sharing (NFS) Server. OpenLDAP work as a directory service to store the user id's, user password, computers and etc. For communication OpenLDAP use a TCP port 389. Most of the corporate sectors use OpenLDAP in their infrastructure for Linux System Administration Team, Linux Database Administration Team and DevOps Team to secure their work. DNS stands for Domain Name System and use a TCP and UDP Port 53. The purpose of DNS in OpenLDAP is to store the computer records in forward and reverse lookup zone file for centralized authentication environment. DNS help to locate computers and applications (inside operating systems) by use of IP and Name. Requir...

Authenticate CentOS 7 Client Machine From OpenLDAP Server

Image
Authenticate CentOS Linux 7 Client Machine from OpenLDAP Server Benefit to authenticate CentOS Linux 7 client machine from OpenLDAP Server is to Centralized the Linux Base environment. Use single user id to connect any CentOS Linux 7 client machine. User access own files and folder from any CentOS Linux 7 client machine. Check the hosts file of CentOS Linux 7 client machine type the below command. cat /etc/hosts In the above image you can see that Host Name and Full Qualified Domain Name (Host Name + Domain Name) not edit in hosts file to resolve DNS Server IP address or any other CentOS Linux 7 client machine IP Address because DNS Server is use to resolve Host Name to IP Address and IP address to Host Name. Check the Host Name file of CentOS Linux 7 Client Machine type the below command. cat /etc/hostname Edit the Name Server Addresses in "resolv.conf" file that available in "/etc/resolv.conf" directory. To Check the Name Server Addresses in  "resolv.conf...

Configure Users Home Directory OpenLDAP Server to CentOS 7 Client Machine

Image
Configure "Mount" Users Home Directory from OpenLDAP Server to CentOS 7 Client Machine/Red Hat 7 Client Machine To access personal home folders and files from OpenLDAP Server to CentOS Linux 7 client machines use Network File Sharing (NFS) Server. NFS server use to access file and folders from Linux to Linux machine. Use NFS with AutoFS feature package to auto mount the users home directory form OpenLDAP Server to CentOS Linux 7 client machines. Server Side Configuration "OpenLDAP Server" To mount Home Directory of OpenLDAP users from OpenLDAP Server to CentOS Linux 7 client machine use "exports" file that available in "/etc/exports" directory. Edit the  "exports" file by use of vi editor. vi /etc/exports Edit the below line in  "exports"  file. /home/ *(rw,sync) To Install NFS Server packages "rpcbind and nfs-utils" on OpenLDAP Server type the below command. yum -y install rpcbind nfs-utils NFS server packages has...