Skip to main content

SMB File Servers

A File Server source points Access Analyzer at one SMB file server: a Windows file server, NetApp, Dell PowerScale (formerly Isilon), or Nutanix Files. Access scans walk its shares and record who can reach which folders and files; Sensitive data scans open the files and look for sensitive data patterns. Connections use SMB 2 or 3; Access Analyzer doesn't support SMB 1.

Add one source per server, using the server's own hostname or IP address. Access Analyzer doesn't follow Distributed File System (DFS) namespaces; when a DFS link points at a share it can't reach, the scan records an error on that object and continues.

For an end-to-end walkthrough from source to first report, see Scan SMB file servers.

Prerequisites

Service Account

File Server sources use a Username and password service account. Enter the username as DOMAIN\username; the username@domain form works for Access scans but not for Sensitive data scans. For a server that isn't domain-joined, use the server's workgroup name in place of the domain, for example WORKGROUP\username, or enter it in the source's Domain field.

The account needs the following rights on the file server:

RightWhy
Read on every share, folder, and file to scan (List folder / Read data, Read attributes, and Read permissions)Access scans list folders and read their permission entries; Sensitive data scans read file contents.
Membership in the local Backup Operators group (optional)Lets the scan open folders the account has no explicit permission on; membership in the local Administrators group grants the same. Without either, the scan records those folders with an error status and skips their contents.
Membership in the local Administrators group (optional)Lets the scan read each share's local path. Without it, the scan still collects the share list, but without paths.

The account doesn't need write rights. The scans only read.

Network

The agent that runs the scan connects to the file server over Transmission Control Protocol (TCP) port 445. Connections use SMB 2 or 3 and require signing but not encryption.

note

Access scans can use any port you enter in Port. Sensitive data scans work only on port 445; against a source on another port, the scan runs but can't read any files.

You select the agent on the scan, not on the source; see Agents.

Add a File Server Source

  1. Go to Configuration > Sources.
  2. Click Add source.
  3. In Source type, select File Server.
  4. Under Details, enter a Name.
  5. Add a Description and Labels if you want them; see Labels.
  6. Under Connection, fill in the fields described in the following table.
  7. Under Access, in Service account, select the account you set up for this server.
  8. Click Test connection. A Connection successful message confirms the account can reach the server and list its shares.
  9. Click Add source.

Add source dialog with File Server selected

FieldRequiredWhat to enterDefault
HostYesThe hostname or IPv4 address of the SMB server, for example fileserver.example.com.None
PortNoThe TCP port for the SMB connection, 1 to 65535. Leave the default unless the server listens elsewhere; Sensitive data scans require 445.445
DomainNoThe Windows domain or workgroup name, for example CORP. Applies when the username doesn't include a domain.None

Test Connection

Test connection opens an SMB session on the host and port with the service account's credentials and lists the first page of shares. The button becomes available after you fill in Host and select a service account.

A successful test shows the message Connection successful. A failed test shows Connection failed with a hint about the cause:

HintWhat to check
Connection timed outThe host is reachable and the port is open
Connection refusedAn SMB service is listening on the port you entered
Permission deniedThe account can sign in to the server and list its shares
SMB protocol version not supported by server or clientThe server allows SMB 2 or 3; Access Analyzer doesn't support SMB 1

What the Scans Collect

Access Scans

Access scans enumerate the server's shares, then walk each share's folders down to the configured depth. For every share, folder, and file, they record the path, name, owner, size, timestamps, and attributes, plus, for shares and folders, the permission entries: which security identifier (SID) is allowed or denied which rights, and whether each entry is inherited or explicit. The results also flag conditions such as access granted to Everyone or Authenticated Users, explicit deny entries, and folders where inheritance is broken.

Access scans collect file-level permission entries only when you turn on Enable File-Level Permission Scanning in the scan's settings; otherwise they record permissions for shares and folders.

Access scans treat shares whose names end in $, such as C$ or ADMIN$, as system shares and skip them by default. To scan a share whose name ends in $, either clear Exclude system shares in the scan's settings or list the share under Include shares, which scans only the shares you name. See Scan types for every File Server scan option.

Access scans record each trustee (the account or group named in a permission entry) as a SID. Add an Active Directory source for the same domain and run an Identity sync on it so that reports show names for domain accounts and groups instead. Server-local accounts and groups stay as SIDs.

Sensitive Data Scans

Sensitive data scans read the contents of the files a completed Access scan inventoried and match them against the enabled sensitive data patterns. Run an Access scan on the source first. The scan skips files larger than the maximum file size set in Application settings. With Differential scan turned on, the scan reads only files added or changed since the last Sensitive data scan.

The collected data drives the Data security dashboard and the file system Data reports.