Date: Mon, 10 Jul 2023 18:30:13 -0700 From: paul beard <paulbeard@gmail.com> To: FreeBSD-questions <freebsd-questions@freebsd.org> Subject: =?UTF-8?Q?SMB_authentication=E2=80=A6flakiness=3F?= Message-ID: <CAMtcK2q0kefQ8Koa%2BoCetqfLauZaRLTQn2r=VNgwBAdb0nrTNA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--0000000000002898cc06002c0b00 Content-Type: text/plain; charset="UTF-8" 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/ --0000000000002898cc06002c0b00 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">having some trouble mounting an smb volume hosted by a wir= eless base station running linux/busybox. <br><br>smbutil works, mount_smbf= s doesn't. password is in .nsmbrc, seems to be readable by smbutil.=C2= =A0<br><br><font face=3D"monospace">smbutil view //www@omphalos<br>Share = =C2=A0 =C2=A0 =C2=A0 =C2=A0Type =C2=A0 =C2=A0 =C2=A0 Comment<br>-----------= --------------------<br>jffs =C2=A0 =C2=A0 =C2=A0 =C2=A0 disk =C2=A0 =C2=A0= =C2=A0 JFFS<br>storage =C2=A0 =C2=A0 =C2=A0disk =C2=A0 =C2=A0 =C2=A0 STORA= GE<br>EFI =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0disk =C2=A0 =C2=A0 =C2=A0 EFI<b= r>IPC$ =C2=A0 =C2=A0 =C2=A0 =C2=A0 pipe =C2=A0 =C2=A0 =C2=A0 IPC Service (F= reshTomato Samba Server)</font><br><br><font face=3D"monospace">mount_smbfs= -I omphalos -N //tmp/mnt/storage /mnt/storage<br>mount_smbfs: unable to op= en connection: syserr =3D Authentication error</font><div><br></div><div>ta= il -1 /etc/fstab <br>//omphalos/STORAGE =C2=A0 =C2=A0 =C2=A0/mnt/storage = =C2=A0 =C2=A0smbfs =C2=A0 rw,noauto, -N,-I192.168.0.1 00<br><br></div>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 n= ot seeing what's wrong with it.=C2=A0<div><br></div><div>The server off= ers Samba protocol version=C2=A0v1, v2 or mixed v1/v2. v1 doesn't work = at all, returns=C2=A0</div><font face=3D"monospace">mount_smbfs: unable to = open connection: syserr =3D RPC struct is bad<br></font><div><br></div><div= >The others will allow smbutil to work but not mount_smbfs. Logging=C2=A0is= n'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 m= ount_smbfs.=C2=A0<div><br></div><div>--<div>Paul Beard / <a href=3D"http://= www.paulbeard.org/">www.paulbeard.org/</a></div></div></div></div> --0000000000002898cc06002c0b00--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMtcK2q0kefQ8Koa%2BoCetqfLauZaRLTQn2r=VNgwBAdb0nrTNA>