27.6 Modifying LDAP Password Using REST Container

Perform the following steps to modify LDAP Passwords using REST container:

  1. Login to your container using the following command:

    docker exec -it <container_name> bash
  2. Store a new password in the password store using the following command:

    LD_LIBRARY_PATH=/opt/novell/lib64/:/opt/novell/eDirectory/lib64/:/opt/netiq/common/openssl/lib64/ /opt/novell/eDirAPI/sbin/passwdstore -a <Admin DN>

    The above command will prompt for a password. Enter the new password.

    For example,

    LD_LIBRARY_PATH=/opt/novell/lib64/:/opt/novell/eDirectory/lib64/:/opt/netiq/common/openssl/lib64/ /opt/novell/eDirAPI/sbin/passwdstore -a cn=admin,o=novell
  3. Exit the container console using the following command:

    exit
  4. Restart the container

    docker restart <container name>