Create ldap-client-server-setup.sh

The easiet way to LDAP a Rhel 6 client server is at the cml interface via the utility: authconfig-gtk, 
(For User account DB: LDAP, 
LDAP Search Base DN: dc=neustar,dc=net, 
LDAP Server: ldaps://ip-or-fqdn-of LDAP-server
Check Use TLS to encrypt connections
click Download CA Certificate, 
Certificate URL:/etc/pki/tls/cacert/server.crt  
Authentication Method: LDAP password, 
and you are all set.
Wish there was nothing called netgroups that complicate things a notch up. Hence the script to take care of these additional steps