Skip to main content
FortiKoala
Staff
Staff
October 10, 2018

Technical Tip: Troubleshooting Palo Alto single sign on

  • October 10, 2018
  • 0 replies
  • 2010 views

Description

 

This article describes instructions for troubleshooting when a single sign-on is not working properly in a Palo Alto firewall integration.
For configuration instructions, refer to this document: Single Sign-On (SSO) in the Fortinet Document Library.


Scope

 

FortiNAC and Palo Alto.


Solution

 

 

  1. While the client is connected, navigate to Users & Hosts -> Hosts view in the Administration UI and verify the User ID is reflected as the logged-on user. 

  2. If logged on User ID is displayed, 'right-click' on the host record and select Policy Details. 

 

host details.png

 

  1. Verify the correct Network Access Policy matches. This is required; for details, see the related KB article below.

  2. If the policy is correct, check Palo Alto and verify User ID and IP address are listed.

  3. If the User ID is not present in Palo Alto, verify FortiNAC is sending the information. Log in to the appliance CLI.
      
  4. Enable Palo Alto integration to debug and execute the following command:

 

nacdebug  -name SSOManager true

 

  1. Tail output.master log to a separate file. Type


tail -F /bsc/logs/output.master > /bsc/logs/PaloAltoSSOTest.txt 

 

  1. Have the user logoff and logon to the network.

  2. Type Ctrl-C to stop tail.

  3. Check /bsc/logs/PaloAltoSSOTest.txt to verify the IP/Usernames have been sent to Palo Alto.

Example output: 

 

PaloAlto UserIDMessage( 10.34.24.153:jsmith )

 

Verify that the end host has a valid IP and FortiNAC can read it (usually through L3 polling) and is matching with the subnets configured in the 'SSO Addresses' field under Palo Alto 'Model Configuration' in FortiNAC.

 

model configuration.png

 

If the subnet does not match, the debug output will be similar to:

 

2026-01-21 10:10:10.506 +0100 [pool-6-thread-1] DEBUG yams.SSOManager - SSOManager.testAdapterPerAgent logical network = Administrata
2026-01-21 10:10:10.506 +0100 [pool-6-thread-1] DEBUG yams.SSOManager - SSOManager.testAdapterPerAgent no change in logical network Administrata for adapter 01:23:44:AB:CD:EF
2026-01-21 10:10:10.506 +0100 [pool-6-thread-1] DEBUG yams.SSOManager - SSOManager.testAdapterPerAgent process = true agent type = PALOALTO
2026-01-21 10:10:10.506 +0100 [pool-6-thread-1] DEBUG yams.SSOManager - SSOManager.testAdapterPerAgent getting targets for 10.10.60.11
2026-01-21 10:10:10.506 +0100 [pool-6-thread-1] DEBUG yams.SSOManager - SSOManager.getSSOTargetList getting targets from DeviceInterface for 01:23:44:AB:CD:EF 10.10.60.11
2026-01-21 10:10:10.507 +0100 [pool-6-thread-1] DEBUG yams.SSOManager - SSOManager.getSSOTargetList read 2 targets for 10.10.60.11
2026-01-21 10:10:10.507 +0100 [pool-6-thread-1] DEBUG yams.SSOManager - SSOManager.getSSOTargetList(01:23:44:AB:CD:EF) retval = {175=true, 1342=false}
2026-01-21 10:10:10.507 +0100 [pool-6-thread-1] DEBUG yams.SSOManager - SSOManager.testAdapterPerAgent testing agent associated to model 1342
2026-01-21 10:10:10.507 +0100 [pool-6-thread-1] DEBUG yams.SSOManager - SSOManager.canSendToTarget for agent element 1342 send = false
2026-01-21 10:10:10.507 +0100 [pool-6-thread-1] DEBUG yams.SSOManager - SSOManager.hasMessageFor queue size = 0
2026-01-21 10:10:10.507 +0100 [pool-6-thread-1] DEBUG yams.SSOManager - SSOManager.testAdapterPerAgent device 10.10.2.5(null) not applicable for mac 01:23:44:AB:CD:EF
2026-01-21 10:10:10.507 +0100 [pool-6-thread-1] DEBUG yams.SSOManager - SSOManager.testAdapterPerAgent added UserVlan for adapter 01:23:44:AB:CD:EF

 

  1. Disable debug by executing the following command:


nacdebug  -name SSOManager false

 

  1. Export PaloAltoSSOTest.txt from the appliance to an external FTP/TFTP/SCP server.    

  2. Open a support ticket and provide the following information:
  • Problem description.
  • Results of the troubleshooting steps listed above.
  • IP address and user ID of the affected client(s).
  • Date and time of logon during the test.
  • Resulting log file (PaloAltoSSOTest.txt).

 

Related article:

Technical Note: FortiGate and Palo Alto Single Sign-On stop working after upgrade

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT