Article
article
Reads:
1700
Score:
Problem
You need to back up the Universal Password for all users before a major upgrade.
Solution
I created a cross platform (Java) Universal Password retrieval utility. You can download the zip file here.
In the zip file, dumpUP.bat is the batch file to kick off the process. You need to pass the application a few parameters:
- Host
- Port
- Admin username
- Password
- Search base
- Path to Java KeyStore
- Output file
My current command line is as follows:
192.168.0.1 636 cn=admin,o=admin password o=meta "C:\\Program Files\\Java\\jre1.5.0_07\\lib\\security\\cacerts" "C:\\out.log"
Run the batch file and watch all users and passwords end up in the output file.
Environment
- Java 1.4.2+
- Ensure your machine has the NMAS Client 3.0 or above - no Novell client is required!
- All NMAS operations require a secure connection. To enable SSL, follow the instructions on how to export the trusted root certificate and import it to a java keystore as per this URL:
http://developer.novell.com/wiki/index.php/Securing_Your_LDAP_Application





0