Cross-platform (Java) Universal Password Retrieval Utility

0 Likes

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!

Labels:

How To-Best Practice
Comment List
Related
Recommended