v10.X PKI Auth - Missing Mandatory Parameter [Username]

v10.X PKI Auth - Missing Mandatory Parameter [Username]

157
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:53 PM


Symptom


In versions 10.8 and 10.9 the error v10 PKI Auth - Missing Mandatory Parameter [Username] can be an issue when implementing PKI authentication.

Environment


10.8;10.9

Configuring PKI authentication in versions 10.9 and 10.8. 

Impacted technologies: PKIPN, LDAP, Authentication, UPN, UserPrincipalName.
Impacted Versions: 10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.7.1;10.8;10.8.1;10.9
 



Cause


A known issue and bug was found in the dll used for authentication that causes the v10 interface to error and the v9 interface to fail without an error. 
PVWA V10 is missing the implementation of the config key <add key="UsePKIPNAlternateUserName" value="yes"/> setting and will only use the PN (Principal name) and no other value.
In PVWA V9 this functionality is implemented and works fine.
This is from bug 00013578. 


Resolution


It is confirmed for versions 10.8 and 10.9 that a fix using the v10.10 dll resolves the issue. The bug was resolved in v10.10. 
There is a parameter in web config
<add key="UsePKIPNAlternateUserName" value="yes"/>

This parameter should make sure the LogonUserName = sAMAccountName will work in PKIPN V10 so the user will be created as a sAMAccountName

So you need wait the v10.10 will be released and replace only the PKIPN custom DLL ( no need to upgrade all system)

By replacing the custom DLL from v10.10 and set LogonUserName = sAMAccountName will solve you the issue.
Again the use of the v10.10 dll is confirmed to work in 10.9 and 10.8. No confirmation on previous versions. 

The issue is also resolved by upgrading to 10.10 or later.



Actions
  • Print
  • Copy Link

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