attach system to a network directory service, such as NIS or LDAP
#system-config-authentication or
authconfig-tui If you choose to activate the Enable NIS Support option, click the
Configure NIS button. You'll need to enter the name of the NIS domain, as well
as the name or IP address of the computer with the NIS server. Make any desired
changes and click OK.
If you choose to activate the Enable LDAP Support option,
click the Configure LDAP button. Make any desired changes and click OK. You'll
need to enter the following information:
-
If you want to use Transport Layer Security to encrypt the
passwords sent to the LDAP server, activate the Use TLS To Encrypt Connections
option. If you do so, you can also click Download CA Certificate, which allows
you to specify the URL with the CA Certificate associated with the LDAP domain or
realm.
-
Enter the domain name for your server in LDAP format in the LDAP Search Base DN text
box. For example, if your domain is my-domain.com, enter the following:
-
Specify the location of the LDAP server. If it's the
local computer, you can use the 127.0.0.1 IP address.
Once you've made your changes, click OK; it may take a few
seconds for the Authentication Configuration tool to write the changes to the
noted configuration files before it closes. If you've set up an NIS client, it
automatically sets the
ypbind service to start at
appropriate runlevels the next time you boot Linux.