From nobody Tue Jul 11 01:30:13 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R0Nbq4Ptlz4grQX for ; Tue, 11 Jul 2023 01:30:31 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R0Nbp4tqrz4Nbc for ; Tue, 11 Jul 2023 01:30:30 +0000 (UTC) (envelope-from paulbeard@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=cupJfhgT; spf=pass (mx1.freebsd.org: domain of paulbeard@gmail.com designates 2a00:1450:4864:20::635 as permitted sender) smtp.mailfrom=paulbeard@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-98e39784a85so1248763666b.1 for ; Mon, 10 Jul 2023 18:30:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689039026; x=1691631026; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=jhcz/p5NAfWb8Z13EfqKhQWO+3EPUOY0g29DF3QoMuA=; b=cupJfhgThzyxS1fg0EHNEW/W+Qr/Cp/Nzu9MqfVW5m5dRwjK+4OFHYbSNcqbtXB2B7 WrCpdZ2qaYA1n3ORqpvuNMyhuITRCvKAAzHwjNNLojJUSA/BNd0jfiSMLukToRi/6UTi IafgtKZ2E2ZrjlKRieXmeB4Kvqy9iJngwmvxtSwc1UH2JqcMTtS4phoilBXVjzydB1pt 6j3dRBaIv7XG2/PfJ50LIyoNKG3gId7rAsD/ukA6bNdi01g6IleiPQh3X82Ov9iY2nSM 3bwnEyvIvN0P/ajpMm9GNP89Piy39gTRs1jb7Id8DfIfsJT0r2U7DoUcUfS1J98jCHN7 3llQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689039026; x=1691631026; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jhcz/p5NAfWb8Z13EfqKhQWO+3EPUOY0g29DF3QoMuA=; b=WigFYXxtvD7jlppa6OB9Cn3N0+eKz8B8KHWIkjnc7TACFZAIsGII2VGYLUCax0Qhj7 7D2L7Ec5rJMJgnN/Z+9sClrNGC+AN//Gq50F3OqGeu1memSGQqnzFCqN3xXMmAiIaRlI 6qTsfVigm1z0+EA22j3HBBntM+eCSo0KjNFS6R+NzQ51bwu0tFZpY9qqPxe6jEhvemAP 9bDz2dpgRgX2n/bqLA42s9Ym35VytFVsfd/JXbd0K82hK+LA1kqQrtYOWG4vRaKbczwS K8e2PQDKPqBFkbb+2bfGfwVUiRSAxt2nmmNyET34FA7dxqqlEkqiexhHzONyhA9Fx9S4 aowQ== X-Gm-Message-State: ABy/qLYSjGsUEf6qA09HPh6ZEJqfJVfQT4jdaPOP4J8FieQlUJI2TvKg hAz94rVL9JcGnx4o+ryGzH6x4zlfLYN0UklfoHZiX5xYpPCeOQ== X-Google-Smtp-Source: APBJJlFxxH+lXA5++1OsLSID0G4oqqOJLSK+zA69ScO6oCzlZ3hQXSbbNEjBP0EclcWmS2Q73LUGaogmzxajLxhRVp0= X-Received: by 2002:a17:906:10cf:b0:993:e81a:f093 with SMTP id v15-20020a17090610cf00b00993e81af093mr13680870ejv.26.1689039026033; Mon, 10 Jul 2023 18:30:26 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: paul beard Date: Mon, 10 Jul 2023 18:30:13 -0700 Message-ID: Subject: =?UTF-8?Q?SMB_authentication=E2=80=A6flakiness=3F?= To: FreeBSD-questions Content-Type: multipart/alternative; boundary="0000000000002898cc06002c0b00" X-Spamd-Result: default: False [2.52 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_SPAM_LONG(0.93)[0.933]; NEURAL_SPAM_SHORT(0.90)[0.903]; NEURAL_SPAM_MEDIUM(0.69)[0.686]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; BLOCKLISTDE_FAIL(0.00)[2a00:1450:4864:20::635:server fail]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::635:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4R0Nbp4tqrz4Nbc X-Spamd-Bar: ++ X-ThisMailContainsUnwantedMimeParts: N --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
having some trouble mounting an smb volume hosted by a wir= eless base station running linux/busybox.

smbutil works, mount_smbf= s doesn't. password is in .nsmbrc, seems to be readable by smbutil.=C2= =A0

smbutil view //www@omphalos
Share = =C2=A0 =C2=A0 =C2=A0 =C2=A0Type =C2=A0 =C2=A0 =C2=A0 Comment
-----------= --------------------
jffs =C2=A0 =C2=A0 =C2=A0 =C2=A0 disk =C2=A0 =C2=A0= =C2=A0 JFFS
storage =C2=A0 =C2=A0 =C2=A0disk =C2=A0 =C2=A0 =C2=A0 STORA= GE
EFI =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0disk =C2=A0 =C2=A0 =C2=A0 EFIIPC$ =C2=A0 =C2=A0 =C2=A0 =C2=A0 pipe =C2=A0 =C2=A0 =C2=A0 IPC Service (F= reshTomato Samba Server)


mount_smbfs= -I omphalos -N //tmp/mnt/storage /mnt/storage
mount_smbfs: unable to op= en connection: syserr =3D Authentication error

ta= il -1 /etc/fstab
//omphalos/STORAGE =C2=A0 =C2=A0 =C2=A0/mnt/storage = =C2=A0 =C2=A0smbfs =C2=A0 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 n= ot seeing what's wrong with it.=C2=A0

The server off= ers Samba protocol version=C2=A0v1, v2 or mixed v1/v2. v1 doesn't work = at all, returns=C2=A0
mount_smbfs: unable to = open connection: syserr =3D RPC struct is bad

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

--
Paul Beard / www.paulbeard.org/
--0000000000002898cc06002c0b00--