Wikis - Page

Knowledge Doc: Access Manager access gateway reimport fails when with -669 "failed authentication error.

0 Likes

Summary
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)]

Products
Access Manager (NAM)

Environment
Access Manager 5.0.4

Situation
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.

Cause
The password used contains special characters and these are not handled correctly by the reimport_ags script.

Resolution
Enter the password within double quotation marks and escape each special character with a backslash.
e.g.
if the adminstrator password is

pas$swor'd01

enter

"pas\$swor\'d01"

Knowledge Base Article Link


URL Name
KM000017174

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended