CPM - 'Parse error. Parameter extrapass2\type is invalid.' when associating non-Cisco logon account to a Cisco entity
121
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:56 PM
Symptom
Receiving the following error message while associating a logon account from a non-Cisco platform to a Cisco entity (such case would be if you're trying to manage the account using a domain account/radius user):
"Error: Parse error. Parameter extrapass2\type is invalid. Parameter is mandatory but does not exist or has an empty value. code: 7378"
Environment
11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1;14.0;13.3;14.2;14.3;14.4;13.4;13.5;14.1;14.5;14.6;13.6;13.7;15.0;14.7;14.8 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
Cause
By default, managing Cisco enable accounts is done by using the local administrator account on the switch/router. Whenever there is a RADIUS configuration present and active, the local user is automatically disabled on the device and the management is done by the external (Radius) user. Upon a network issues between the network device and the RADIUS server, the local Cisco user is enabled for management/maintenance.
The default configuration settings for the CPM is to work with the Cisco local user and not an external entity. Once we associate a "logon account" different than the Cisco platform, the CPM doesn't know how to address it according to its configuration files (CiscoPrompts, CiscoProcess).
The logon account is missing two file category that are mandatory in order to access the network device! (cisco entity type, port)
Resolution
SYMPTOM:
Receiving the following error message while associating a logon account from a non-Cisco platform to a Cisco entity (such case would be if you're trying to manage the account using a domain account/radius user):
"Error: Parse error. Parameter extrapass2\type is invalid. Parameter is mandatory but does not exist or has an empty value. code: 7378"
PROBLEM:
By default, managing Cisco enable accounts is done by using the local administrator account on the switch/router. Whenever there is a RADIUS configuration present and active, the local user is automatically disabled on the device and the management is done by the external (Radius) user. Upon a network issues between the network device and the RADIUS server, the local Cisco user is enabled for management/maintenance.
The default configuration settings for the CPM is to work with the Cisco local user and not an external entity. Once we associate a "logon account" different than the Cisco platform, the CPM doesn't know how to address it according to its configuration files (CiscoPrompts, CiscoProcess).
The logon account is missing two file category that are mandatory in order to access the network device! (cisco entity type, port)
SOLUTION:
The error message mentioned above occur before the CPM actually reaches the network device. So in order to prevent additional errors that might occur once we pass this one, please check the following:
1) The CPM has access to the network device over the necessary protocol (SSH or telnet)
2) Use the "plink.exe" located in the CPM's bin directory and make sure you can connect to the device (for example, accessing a network device using SSH : "plink.exe -ssh <ip_address> -P <port_number>")
after confirming connectivity to the device from the CPM server, perform the following steps:
1) Create the Enable Account for the Cisco device (use the "Cisco Router via SSH/Telnet" platform) - with "Cisco entity type" = ciscoenable
2) Create the logon account which will be used to access the network device (you can create a dedicated user in Active Directory which will serve as a logon account for all the network devices we want to manage) - use "windows domain account" platform
3) Change the platform of the logon account we created in the previous step to "cisco router via SSH/Telnet) - with this step we're adding the two missing file category to the password object.
4) Add Cisco Entity Type = CISCOUSER, and PORT=22/21 to the logon account
5) Change the logon account back to "windows domain account" platform - this step is mandatory so we will be able to manage the logon account by the CPM
6) Associate the logon account to the Cisco enable account
7) Open the configuration file (CiscoProcess.ini), located in the bin folder on the CPM's working directory and change the following lines:
FROM:
InitLoginFromLoginObj=(script)set bTarget 0; set login_pass "<pmextrapass2>"; set login_user "<extrapass2\username>"; set login_address "<extrapass2\address>"; set login_port "<extrapass2\port>";
TO:
InitLoginFromLoginObj=(script)set bTarget 0; set login_pass "<pmextrapass2>"; set login_user "<extrapass2\username>"; set login_address "<address>"; set login_port "<port>";
FROM:
InitVerifyCiscoEnable=(script)set bTarget 0;set enable_pass "<pmpass>";set login_pass "<pmextrapass2>"; set login_user "<extrapass2\username>"; set login_address "<extrapass2\address>"; set login_port "<extrapass2\port>";
TO:
InitVerifyCiscoEnable=(script)set bTarget 0;set enable_pass "<pmpass>";set login_pass "<pmextrapass2>"; set login_user "<extrapass2\username>"; set login_address "<address>"; set login_port "<port>";
We're changed these lines so the plugin takes the address from the Cisco Enable account and not from logon account. Please note that this change will apply to all accounts managed by the platform.