System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)

Using Proxy Credentials

How to Initialize a Client Using Proxy Credentials
  1. Become superuser.

  2. Run ldapclient (defining proxy values).

    # ldapclient -p profilename -D cn=proxyagent,ou=profile,dc=west,dc=example,dc=com -d west.example.com -p pit1 -w test1234 192.168.0.0


    System successfully configured

The values for -D and -w are required if the profile to be used is setup for proxy. As the credentials are not stored in the profile saved on the server, you must supply the information when you initialize the client. This method is more secure than the older method of storing the proxy credentials on the server.

The proxy information is used to create /var/ldap/ldap_client_cred. The rest of the information is put in /var/ldap/ldap_client_file.


Note –

Do not edit either of the client configuration files directly. Use ldapclient to create or modify the content of these files.