Cross-platform (Java) Universal Password Retrieval Utility



By: adam_j_bradley

April 11, 2007 5:01 am

Reads: 211

Comments:1

Rating:0

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
  • VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)

Tags: , ,
Categories: eDirectory, Identity Manager, Technical Solutions

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

1 Comment

  1. By:lpavic

    Hi there,

    It appears that eDirectory 8.8 cannot deal with asynchronous LDAP search, so when I run your tool, it stops after 1000 records. Are there any command line parameters I could use to disable this asynchronous search and use the synchronous instead? I have a directory with 150,000 objects. Thanks.

Comment