The direct SMB adapter reads Windows-style DACL metadata for explicit approved UNC paths using the Linux Samba smbcacls tool. It does not read file contents, enumerate share children or collect complete share policy.
Prerequisites
Use the Linux Docker image or another reviewed Linux installation containing the required Samba tool. Obtain a real SMB account/password and server-side read rights. LDAP connectivity alone does not supply an SMB password or authorize the share.
Restrict outbound SMB to approved servers before enabling the deployment declaration. Referrals can identify other endpoints, so the configured share name is not sufficient isolation.
Configure the source
| Setting | Choice |
|---|---|
| Connector | Samba / NAS over SMB |
| Root | Exact UNC share, for example \samba\shared |
| Read credential | Explicit SMB identity/password |
| Directory | Directory used to resolve users/groups |
| Authentication | NTLM for appropriate IP-based labs; desired/required Kerberos for reviewed DNS/realm deployments |
| Protection | Off, required signing, or required encryption; match actual server policy |
New sources default to NTLM and no AccessScope encryption requirement; existing older source defaults can differ. Server requirements still apply. Do not assume a successful unencrypted lab configuration is suitable for production.
Egress declaration
ACCESSSCOPE_SMB_EGRESS_ENFORCED=true, or protected configuration smb_egress_enforced=true, declares that an operator has installed restrictions. It does not install or prove them. Keep it false until the allowlist is enforced.
The supplied scripts/enable-smb-lab.sh is only for the specific WSL/Docker lab names and IPv4 bridge prerequisites it checks. It creates a separate lab deployment, disables automatic restart in that lab arrangement, and requires rerunning after Docker/WSL restarts or Samba recreation. Review its exact assumptions; do not use it as a generic production firewall.
Test
Grant the source in the relevant application profile, then run Test metadata read. Investigate the exact share/path with This folder only or an explicit list. Expanded scopes are unsupported.
An NT_STATUS_LOGON_FAILURE is a server authentication problem; egress_required is a deployment prerequisite; forbidden is application authorization. Distinguish them before changing credentials or permissions.
Product baseline v0.9.0 · State schema 8 · Content reviewed 2026-11-06. This website rendering preserves the source packet's qualifiers, compatibility boundaries and acceptance status.

