SAML L’authentification échoue après la mise à niveau vers PAN-OS la version 10.1 dans un environnement multi-vsys

SAML L’authentification échoue après la mise à niveau vers PAN-OS la version 10.1 dans un environnement multi-vsys

7561
Created On 07/29/22 13:00 PM - Last Modified 04/18/23 03:43 AM


Symptom


SAML L’authentification échoue après la mise à niveau de la vers PAN-OS la firewall version 10.1 dans un environnement multi-vsys

Environment


  • Panorama Géré Firewall ou autonome Firewall.
  • PAN-OS 10.1 et versions ultérieures.
  • SAMLProfil d’authentification transmis à partir et Panorama se trouve dans un emplacement partagé ou un profil d’authentification local SAML dans un emplacement partagé.
  • GlobalProtect authentification.
  • Portail d’authentification.


Cause


  • L’authentification échoue car elle fait référence à vsys1 alors que le profil d’authentification SAML se trouve dans un emplacement partagé lorsqu’il est poussé à partir de Panorama
  • Par exemple, vous trouverez ci-dessous le nom d’utilisateur et SAML le profil d’authentification utilisés dans la configuration :
    • Utilisateur : user1@testlab.com
    • SAML Profil d’authentification : SAML-Auth-Profile
  • Dans l’authd.log ci-dessous, le profil d’authentification SAML-Auth-Profile fait référence à vsys1 mais le SAML profil se trouve à l’emplacement partagé
> tail follow yes mp-log authd.log

debug: pan_auth_cache_user_is_allowed(pan_auth_cache_allowlist_n_grp.c:786): user "user1@testlab.com" is NOT 
in allow list of auth prof/vsys "SAML-Auth-Profile/shared" (vsys in request "vsys1")
  • Il en va de même si le profil d’authentification SAML-Auth-Profile est configuré localement sur le SAML firewall
> tail follow yes mp-log authd.log

-0700 debug: pan_auth_saml_resp_process(pan_auth_state_engine.c:5410): Check allow list status for user1@testlab.com (SAML-Auth-Profile/vsys1)
-0700 debug: pan_auth_cache_user_is_allowed(pan_auth_cache_allowlist_n_grp.c:786): user "user1@testlab.com" is NOT in allow list of auth prof/vsys 
"SAML-Auth-Profile/vsys1"  (vsys in request "vsys1")
-0700 Error:  pan_allowlist_request_process(pan_auth_allow_lock.c:77): Failed to get allow list status for user user1@testlab.com/vsys1/SAML-Auth-Profile
-0700 SAML SSO authentication failed for user 'user1@testlab.com'.  Reason: User is not in allowlist. 
auth profile 'SAML-Auth-Profile', vsys 'vsys1', server profile 'SAML-Auth-Profile', IdP entityID 'http://www.okta.com/exk3q4flalZkFtUca357', reply message 
'User "user1@testlab.com" is not in allow list' From: 192.168.0.150.
-0700 debug: _log_saml_respone(pan_auth_server.c:397): Sent PAN_AUTH_FAILURE SAML response:(authd_id: 7215373786869138305) (SAML err code "1" 
means NOT in allow list) (return username 'user1@testlab.com') (auth profile 'SAML-Auth-Profile') (reply msg 'User "user1@testlab.com" 
is not in allow list') (NameID 'user1@testlab.com') (SessionIndex '_d00ed823038ada878bdfe4f69dea5755') (Single Logout enabled? 'Yes')
 (Is it CAS (cloud-auth-service)? 'No')


Resolution


  1. Le problème est résolu PAN-190454 et disponible dans PAN-OSles versions 10.2.4, 10.1.9, 11.0.1 
  2. La mise à niveau vers la version corrigée résout le problème.


Solution : Modifier l’emplacement du profil d’authentification SAML partagé vers un vsys cible spécifique où il est appelé



Actions
  • Print
  • Copy Link

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

Choose Language