2011-09-11

CentOS 6 Setup with LDAP

Install with "Minimal" configuration. So no sssd was installed.

If initially GUI was not installed but is wanted, run:
yum groupinstall Desktop
yum install xorg-x11-server-Xorg

Some other tools might be handy:
wget
vim
man
file
unzip

Configure network interface(s): /etc/sysconfig/network-scripts/ifcfg-eth* or system-config-network

For LDAP setup:
Make a host name for the LDAP server in /etc/hosts (IMPORTANT: using direct IP might fail to reach the LDAP server!)
Get CA certificate from the LDAP server: /etc/openldap/cacerts/cacert.pem and put it in the client's same place.
Install packages:
  openldap-clients
  nss-pam-ldapd (nss_ldap in CentOS 5)
Configure authentication by authconfig --enableldap --enableldapauth --enableldaptls --enablemkhomedir --ldapserver=ldap1.example.com,ldap2.example.com --ldapbasedn="dc=example,dc=com" --update

Ref: 1 2 3

No comments: