SMB_authentication…flakiness?

From: paul beard <paulbeard_at_gmail.com>
Date: Tue, 11 Jul 2023 01:30:13 UTC
having some trouble mounting an smb volume hosted by a wireless base
station running linux/busybox.

smbutil works, mount_smbfs doesn't. password is in .nsmbrc, seems to be
readable by smbutil.

smbutil view //www@omphalos
Share        Type       Comment
-------------------------------
jffs         disk       JFFS
storage      disk       STORAGE
EFI          disk       EFI
IPC$         pipe       IPC Service (FreshTomato Samba Server)

mount_smbfs -I omphalos -N //tmp/mnt/storage /mnt/storage
mount_smbfs: unable to open connection: syserr = Authentication error

tail -1 /etc/fstab
//omphalos/STORAGE      /mnt/storage    smbfs   rw,noauto, -N,-I192.168.0.1
00

This all used to work, but a couple of firmware upgrades have taken place.
This was working yesterday after the latest update but now is failing and I
am not seeing what's wrong with it.

The server offers Samba protocol version v1, v2 or mixed v1/v2. v1 doesn't
work at all, returns
mount_smbfs: unable to open connection: syserr = RPC struct is bad

The others will allow smbutil to work but not mount_smbfs. Logging isn't
telling me much on the server side. I could mount the disk on macOS but
that's not working now either. smbutil still works there but not
mount_smbfs.

--
Paul Beard / www.paulbeard.org/