8 Commits
Author SHA1 Message Date
TailScan Bot 1ffab4946a fix: set NTLM globally via ClientConfig to prevent re-auth failures
Per-session auth_protocol doesn't apply when smbclient internally
re-authenticates after session expiry. Setting it on ClientConfig
applies it to all connections including background re-auths.
2026-04-02 16:55:53 +00:00
TailScan Bot 2f94ba6dd9 revert: restore _smb_conn to last known working state
Remove auth_protocol and empty-string guest kwargs that were added
in the last two commits — they broke working connections.
2026-04-02 16:53:53 +00:00
TailScan Bot e15f8f9935 fix: remove require_signing:False, keep NTLM forced
require_signing=False caused ACCESS_DENIED on servers that enforce
signing. Revert that change, keep only the NTLM protocol fix.
2026-04-02 16:53:20 +00:00
TailScan Bot 38dfb88437 fix: force NTLM auth for SMB, disable signing requirement
The default 'negotiate' auth tries Kerberos first which fails with
SpnegoError when there's no credential cache. Force NTLM explicitly.
Also disable require_signing since many consumer NAS devices don't
enforce it (TrueNAS, Synology, etc).
2026-04-02 16:39:25 +00:00
TailScan Bot f1dab10daf fix: taskbar home tab, web chips, guac direct URL, SMB share listing
- Taskbar: permanent Home tab always visible, clicking it returns to
  main page without closing other tasks
- Taskbar: always visible (no longer hidden/shown), task panels overlay
  only shown when a non-home task is active
- Web/Copyparty chips now open correctly in iframe tasks (removed
  overly restrictive sandbox attribute)
- Guacamole: skip guac-launch redirect, load client URL directly in
  iframe so it goes straight into the session instead of the lobby
- SMB: when share field is blank, enumerate shares via smbclient CLI
  and return them as browseable directories in elFinder
- SMB: elFinder correctly encodes share name into hash when displaying
  share listing, so clicking a share navigates into it
2026-04-02 16:17:22 +00:00
TailScan Bot 331c3e62aa feat: taskbar + SMB path fix
Taskbar:
- Fixed taskbar along the bottom, appears when first task opens
- Each task gets its own tab with icon, label, close button
- Task panels overlay the full viewport (above taskbar)
- Web/proxy chips open in iframe tasks instead of new tabs
- Guacamole sessions open as iframe tasks
- File browser (FTP/SMB) opens elFinder inside a task panel
- Tasks can be switched, minimised (click tab), closed individually
  or all at once
- Taskbar hides itself when all tasks are closed

SMB fix:
- Refactor _smb_unc() helper for correct UNC path construction
- Fix _smb_conn() to not pass username/password kwargs when empty
  (prevents 'invalid logon' errors on guest/anonymous shares)
- More robust stat() handling in smb_list()
2026-04-02 16:10:38 +00:00
TailScan Bot 0ff3d81b5d fix: SMB share enumeration fallback + manual share entry
- Replace non-existent smbclient.listshares() with proper enumeration:
  tries smbclient CLI, then impacket, then falls back gracefully
- When enumeration fails or returns empty, show manual share name input
  instead of a dead end
- fbConnect now goes straight to browsing if share name is already filled
- Always reset SMB session before connecting to avoid stale auth cache
2026-04-02 15:54:08 +00:00
TailScan Bot 90059807e9 feat: FTP/SMB file browser + SFTP in Guacamole
- Built-in FTP browser: list, download, upload, mkdir, delete
- Built-in SMB browser: share listing, browse, download, upload, mkdir, delete
- Orange chips for port 21 (FTP) and 445 (SMB) now clickable, open
  the file browser modal directly in TailScan
- SMB via smbprotocol (pip), FTP via stdlib ftplib
- Guacamole SSH connections now have SFTP enabled (enable-sftp: true)
  so the file transfer drawer works in terminal sessions
- File browser modal: credential fields, breadcrumb nav, upload/download,
  delete, new folder, share picker for SMB
2026-04-02 15:48:53 +00:00