security_samba_check
Samba smb.conf security audit — Offline audit of a Samba smb.conf (text= the file, testparm -s output works best). Checks SMB1/NT1 enabled, NTLMv1/LANMAN/plaintext auth, ZeroLogon (server schannel = no/auto and per-account exceptions), insecure DNS updates and LDAP simple binds on AD DCs, SMB signing and SMB3 encryption, restrict anonymous, map to guest = bad password, guest account = root, guest-readable and guest-writable shares, shares of system paths (/ /etc /root), force user = root, admin users, world-writable create/directory masks, wide links / insecure wide links, root preexec and magic scripts, hosts allow, interface binding and NetBIOS. Returns findings with severity and fix, per-share summary, score/grade, PASS / REVIEW / FIX BEFORE DEPLOY / BLOCK and a hardened example. Nothing is stored; secrets are never echoed. Price: $0.006 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "security_samba_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | [global] server min protocol = NT1 map to guest = bad user [public] path = /srv/public guest ok = yes read only = no |