When reimporting the an access gateway into Access Manager using the reimport_ags command line script, the process terminates with Error : [LDAP: error code 49 - NDS error: failed authentication (-669)]
Access Manager (NAM)
Access Manager 5.0.4
An access gateway has been deleted from the Access Manager environment and needs to be added back again using the reimport_ags script.
The "reimport_ags.sh jcc" command completes successfully but the "reimport_ags.sh ags" fails with the following error.
am50mag2:/opt/novell/devman/jcc # ./conf/reimport_ags.sh agm Do you want to import the device with current configuration or initial configuration after installation (Enter C for current configuration, I for initial configuration)?i Enter user DN[cn=admin,o=novell]: User DN: cn=admin,o=novell Enter user password: Enter gateway ID, found [3CBF23193DB40883]: AGM-ID: 3CBF23193DB40883 Collecting certificate information... getBasePath first time setting Unable to connect to Admin Server, with given username and password. Error : [LDAP: error code 49 - NDS error: failed authentication (-669)]
Reimport failed. Please check input parameters and rerun reimport process again
The credentials used are the same credentials used to log in to the Admin Console and are confirmed to be correct.
The password used contains special characters and these are not handled correctly by the reimport_ags script.
Enter the password within double quotation marks and escape each special character with a backslash.
if the adminstrator password is