Samba / NFS
Common parts of every card (states, backoff, Unit and ExecReload, Test config, manual commands) are described in Monitor window.
| Detected by | systemd units smbd, smb, nfs-server, nfs-kernel-server or binaries smbd |
| Read every | 5 minutes while the Monitor window shows the tab |
| Active probe | yes, off by default |
| Test config | none |
What the card reads and shows
Section titled “What the card reads and shows”Samba and NFS: shares, exports, clients.
Samba: /etc/samba/smb.conf read by conf.awk (INI), keys normalised as Samba does (case and blanks do not count: Read Only = readonly), a closed list: [global] workgroup, security, serverrole, maptoguest, serverminprotocol, clientminprotocol, smbencrypt, include, configbackend; per share path, readonly, writable, writeable, writeok, guestok, public, guestonly, browseable, validusers (only the number of entries: names stay on the host). Never testparm (it prints the whole configuration), never ldap admin dn, scripts or preexec. Active (off by default): the trusted smbstatus -b -n (sessions; users and machines only behind expansion).
NFS: /etc/exports and /etc/exports.d/*.exports (path, client, options), the trusted exportfs -v (exports in force), the number of entries in /proc/fs/nfsd/clients when readable.
Active probe
Section titled “Active probe”Runs: the trusted smbstatus -b -n (sessions only, no name lookups) under the host’s timeout; usually needs root. Users and client machines leave the host only as filtered fields, shown on the card behind expansion
Traces on the host: smbstatus reads Samba’s TDB databases under short read locks and sets up its messaging context (a lock file per process in Samba’s lock directory); no log entry
Test config
Section titled “Test config”None: KryoDesk has no configuration test for this service.