![]() |
![]() |
| |||
Listing All User Entry AttributesTo list specific information such as a user's passwd entry, use getent as follows: # getent passwd user1
If you want to list all attributes, use ldaplist with the -l option. # ldaplist -l passwd user1
Customizing the Client EnvironmentThe following sections describe how you can customize the client environment. You can change any of the services, but be careful, because if the data is not populated on the server for the service specified things will stop working. In some cases files may not be setup by default as well. Modifying the nsswitch.conf FileYou can modify your /etc/nsswitch.conf file to customize where each service gets its information. The default settings are stored in /etc/nsswitch.ldap and ldapclient uses this file to create your /etc/nsswitch.conf file when the client is initialized. Enabling DNSIf you want to enable DNS by setting up a /etc/resolv.conf file, add DNS to your hosts lines as shown below.
| |||
| |||