Skip to main content
fquerzo_FTNT
Staff
Staff
Aug 8, 2019 9:41 AM UTC

Technical Tip: Terminal Server Agents and SMB Shared Folders

  • Apr 16, 2026 12:44 PM UTC
  • 1 reply
  • 5705 views
  • Translate All
Description
This article explains why Samba shared folder access might not be reachable when access from Terminal Server with Terminal Server Agent (TS Agent) through identity based policies.

Solution
SMB application does not use the user port-range assigned by TS Agent.
SMB uses system port range,
therefore the port-range mismatch causes authentication failure when validating against firewall policies with FSSO on FortiGate unit.

Reason for this is that SMB traffic is initiated by system process.
Any traffic initiated by system
process follows the system port range so it cannot be associated with a user.
TS Agent can only
intercept traffic initiated by a user process.

Create separate firewall policy without authentication for SMB traffic


1 reply

JNDias
Staff & Editor
Staff & Editor
Jul 5, 2022 3:56 PM UTC

An example of the issue:2022-07-05_16-55.jpeg

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024