SAML 升级到后身份验证失败PAN-OS10.1 在多 vsys 环境中

SAML 升级到后身份验证失败PAN-OS10.1 在多 vsys 环境中

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


Symptom


SAML 升级后认证失败firewall到PAN-OS10.1 在多 vsys 环境中

Environment


  • Panorama 管理Firewall或独立Firewall.
  • PAN-OS 10.1 及以上。
  • SAML推送的身份验证配置文件Panorama并且在共享位置或本地SAML共享位置中的身份验证配置文件。
  • GlobalProtect 验证。
  • 身份验证门户。


Cause


  • 身份验证失败,因为它指的是vsys1而SAML身份验证配置文件在从中推送时位于共享位置 Panorama
  • 例如,下面是用户名和SAML配置中使用的身份验证配置文件:
    • 用户: user1@testlab.com
    • SAML 身份验证配置文件:SAML-授权资料
  • 在里面授权日志以下SAML身份验证配置文件SAML-授权资料指的是vsys1但配置文件位于共享位置
> 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")
  • 如果SAML身份验证配置文件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. 问题已修复PAN-190454并可在PAN-OS10.2.4 , 10.1.9, 11.0.1
  2. 升级到固定版本可以解决问题。


解决方法:改变位置SAML从共享到特定目标的身份验证配置文件vsys它被调用的地方



Actions
  • Print
  • Copy Link

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

Choose Language