Unable to change user's authentication type from LDAP to RADIUS

Unable to change user's authentication type from LDAP to RADIUS

150
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 13:04 PM


Symptom



When an admin attempts to change a user's authentication method from LDAP to RADIUS in the PrivateArk client, it generates the following error:

ITATS692E Update of the requested user property is not allowed for an external user 

In the trace logs, the following can be seen:
administrator[00] ServiceName=UpdUserUserName=<xxx>Password=*AdminUsers=YAdminSafes=YAdminStations=NRetPD=7KeyFileName=AuthType=560Department=
\FromHour=0ToHour=24Expdt=0PasswordExpired=NPasswordNeverExpires=NFirstName=<xxx>MiddleName=LastName=<xxx>JobPhone=
<xxx>HomePhone=CellPhone=FaxNumber=PagerNumber=EMAILAddress1=EMAILAddress2=<xxx>EMAILAddress3=HomePage=JobTitle=<xxx>Organization=OrgDepartment=
<xxx>Profession=HomeStreet=XHYFB37HomeCity=<xxx>HomeState=HomeCountry=HomeZip=
<xxx>DistinguishedName=CertFingerPrint=0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000TemplateUser=NTemplateQueryOrder=0RulesAdmin=NLDAPTemplate=NFileCategoriesAdmin=NMaxQuota=-1UserIsAgent=NUserIsDisabled=NAuthsMask=
<xxx>BackupMetadata=NRestoreAll=NLogAuditor=YUseLDAPBranchesAsLocations=NTemplateAppliesToUsers=NTemplateAppliesToGroups=NUserTypeID=0NonAllowedClients=
UserFieldsToUpdateFlag=0UserApplicationMetadata=UserOptions=4 ERR ITATS692E Update of the requested user property is not allowed for an external
user. 
Output Size = 0 Output Records Count = 0 

One of the fields may appear truncated compared to the listed value in AD


Environment


10.5;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.8;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault PAS

Cause


The user has one of the following properties in AD:

1. Property contains a value that is more characters in length than the described value in article 000004583 (What is the length/size of the User personal information fields
2. Property contains a special character

The vault cannot handle values that exceed the described value in article 000004583, or contain value types that are not accepted by the vault. (in this example the cert fingerprint is too long, the AD user probably has a cert in the AD properties)


Resolution



In AD, shorten or remove any LDAP properties which contain special characters and/or are over 40 characters in length. Then delete the user from PrivateArk users and groups and have them log in again. This will cause them to be reprovisioned without the problematic value.
 
ALTERNATIVE SOLUTION:
 
If unable to remove LDAP properties or certificate, can use PACLI to update the user's authentication type. For additional information on how to use PACLI, please review the "Idira Command Line Interface Guide and Reference" document HERE . 
 
The following is an example of the command: 
 
pacli init 
pacli definefromfile vault="Primary Vault" parmfile=vault.ini 
pacli logon vault="Primary Vault" user=Administrator 
pacli updateuser vault="Primary Vault" user=Administrator destuser=user1 authtype=RADIUS_AUTH 
pacli term 
 
Please note: The example above assumes that the username is unique. 
 
*** Use below script with caution as it will automatically update authentication types of users in the vault to be RADIUS. ***
 
PACLI script attached (ModifyExternalUsersToRADIUSAuthentication.bat). This script will:
1. Connect to the Vault using an auth file called pacli.ini. You must generate a PACLI authentication file and place it in the PACLI directory before running.
2. Export a list of all users in the vault who match the "External User" type (LDAP users defined in directory mappings) to a file called exportedusers.log
3. Take the exported user list and automatically execute a command to change the auth type of each user in that file to be "RADIUS_AUTH".


Additional Information


Details

SYMPTOM:
When an admin attempts to change a user's authentication method from LDAP to RADIUS in the PrivateArk client, it generates the following error:

ITATS692E Update of the requested user property is not allowed for an external user 

In the trace logs, the following can be seen:

 
administrator[00] ServiceName=UpdUserUserName=<xxx>Password=*AdminUsers=YAdminSafes=YAdminStations=NRetPD=7KeyFileName=AuthType=560Department=
\FromHour=0ToHour=24Expdt=0PasswordExpired=NPasswordNeverExpires=NFirstName=<xxx>MiddleName=LastName=<xxx>JobPhone=
<xxx>HomePhone=CellPhone=FaxNumber=PagerNumber=EMAILAddress1=EMAILAddress2=<xxx>EMAILAddress3=HomePage=JobTitle=<xxx>Organization=OrgDepartment=
<xxx>Profession=HomeStreet=XHYFB37HomeCity=<xxx>HomeState=HomeCountry=HomeZip=
<xxx>DistinguishedName=CertFingerPrint=0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000TemplateUser=NTemplateQueryOrder=0RulesAdmin=NLDAPTemplate=NFileCategoriesAdmin=NMaxQuota=-1UserIsAgent=NUserIsDisabled=NAuthsMask=
<xxx>BackupMetadata=NRestoreAll=NLogAuditor=YUseLDAPBranchesAsLocations=NTemplateAppliesToUsers=NTemplateAppliesToGroups=NUserTypeID=0NonAllowedClients=
UserFieldsToUpdateFlag=0UserApplicationMetadata=UserOptions=4 ERR ITATS692E Update of the requested user property is not allowed for an external
user. 
Output Size = 0 Output Records Count = 0 

One of the fields may appear truncated compared to the listed value in AD
 
PROBLEM:

The user has one of the following properties in AD:

1. Property contains a value that is 40 or more characters in length
2. Property contains a special character

The vault cannot handle values that exceed 40 characters, or contain value types that are not accepted by the vault. (in this example the cert fingerprint is too long, the AD user probably has a cert in the AD properties)


SOLUTION:

In AD, shorten or remove any LDAP properties which contain special characters and/or are over 40 characters in length. Then delete the user from PrivateArk users and groups and have them log in again. This will cause them to be reprovisioned without the problematic value.
 
ALTERNATIVE SOLUTION:
 
If unable to remove LDAP properties or certificate, can use PACLI to update the user's authentication type. For additional information on how to use PACLI, please review the "Idira Command Line Interface Guide and Reference" document HERE . 
 
The following is an example of the command: 
 
pacli init 
pacli definefromfile vault="Primary Vault" parmfile=vault.ini 
pacli logon vault="Primary Vault" user=Administrator 
pacli updateuser vault="Primary Vault" user=Administrator destuser=user1 authtype=RADIUS_AUTH 
pacli term 
 
Please note: The example above assumes that the username is unique. 
 
*** Use below script with caution as it will automatically update authentication types of users in the vault to be RADIUS. ***
 
PACLI script attached (ModifyExternalUsersToRADIUSAuthentication.bat). This script will:
1. Connect to the Vault using an auth file called pacli.ini. You must generate a PACLI authentication file and place it in the PACLI directory before running.
2. Export a list of all users in the vault who match the "External User" type (LDAP users defined in directory mappings) to a file called exportedusers.log
3. Take the exported user list and automatically execute a command to change the auth type of each user in that file to be "RADIUS_AUTH".



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001KXlCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail