Anyone know if mount_smbfs is broken in 6.1, I'm trying to run this: "mount_smbfs -I 192.168.1.2 //nbritton@192.168.1.2/music2 /mnt/network/music/" And then it asks for my password, I type it in, and then I get this error: "mount_smbfs: unable to open connection: syserr = Authentication error" I've had this same problem on another 6.1 box too... I can run this same command on a 6.0-RELEASE box, right next to the 6.1 box, on the same network etc. without problems. What gives? Did I forget to setup something on the new 6.1 boxes or is mount_smbfs broken, IIRC I didn't do anything special to get mount_smbfs working on the 6.0 box? File Server: samba-3.0.21b,1 uname -a: FreeBSD puddlejumper.local 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Mar 14 12:15:56 CST 2006 root@puddlejumper.local:/usr/obj/usr/src/sys/SE7210TP1E i386 Workstation: uname -a: FreeBSD cake.local 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Mar 28 17:47:28 CST 2006 root@cake.local:/usr/obj/usr/src/sys/CAKE i386 The box that mount_smbfs works on: uname -a: FreeBSD musicbox1.local 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Jan 7 21:57:14 CST 2006 root@musicbox1.local:/usr/src/sys/i386/compile/GENERIC i386 -- BSD Podcasts @ http://bsdtalk.blogspot.com/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Mar 30, 2006 at 01:18:51PM -0600, Nikolas Britton wrote:> Anyone know if mount_smbfs is broken in 6.1, I'm trying to run this: > > "mount_smbfs -I 192.168.1.2 //nbritton@192.168.1.2/music2 /mnt/network/music/" > > And then it asks for my password, I type it in, and then I get this error: > > "mount_smbfs: unable to open connection: syserr = Authentication error" > > I've had this same problem on another 6.1 box too... I can run this > same command on a 6.0-RELEASE box, right next to the 6.1 box, on the > same network etc. without problems. What gives? Did I forget to setup > something on the new 6.1 boxes or is mount_smbfs broken, IIRC I didn't > do anything special to get mount_smbfs working on the 6.0 box?Not broken per se. Hrrm, I see a mention of this in CURRENT's UPDATING but not in 6.1's. I ~think~ you might have to include options NETSMBCRYPTO and rebuild your kernel. I believe that in CURRENT, you simply have to kldload smbfs (but on my CURRENT box I had no need of mounting an NTFS share, so I don't know). Here is the entry in CURRENT's UPDATING. 20060305: The NETSMBCRYPTO kernel option has been retired because its functionality is always included in NETSMB and smbfs.ko now. I've lost track of whether the discussion was on the CURRENT or STABLE list, and had thought that it was fixed in both. I'm only posting this rather unhelpful information in case no one with a better memory or more knowledge sees it. At any rate, on my PRERELEASE boxen, the problem was fixed by adding the NETSMBCRYPTO option to the kernel. You could try kldload-ing smbfs first to see if it helps. Check the archives of STABLE and CURRENT for this month, the dicussion was on one of them. I repeat, I'm only posting this in case no one with more knowledge of the situation sees your post. - -- Scott Robbins GPG KeyID EB3467D6 ( 1B848 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Joyce: Something's gonna eat those babies? Principal Snyder: I think that is so wrong. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFELDRK+lTVdes0Z9YRAggiAKCErhOgUselLCdewLcIol7U2VXesQCeLbBM 6klY1rP7n/qQcleLrYac82A=E9+x -----END PGP SIGNATURE-----
On Thu, 30 Mar 2006, Nikolas Britton wrote:> Anyone know if mount_smbfs is broken in 6.1, I'm trying to run this: > > "mount_smbfs -I 192.168.1.2 //nbritton@192.168.1.2/music2 /mnt/network/music/" > > And then it asks for my password, I type it in, and then I get this error: > > "mount_smbfs: unable to open connection: syserr = Authentication error" > > I've had this same problem on another 6.1 box too... I can run this > same command on a 6.0-RELEASE box, right next to the 6.1 box, on the > same network etc. without problems. What gives? Did I forget to setup > something on the new 6.1 boxes or is mount_smbfs broken, IIRC I didn't > do anything special to get mount_smbfs working on the 6.0 box?This was accidentally broken as part of a load of kernel clean-ups. yar@freebsd.org (cc'd) committed a fix to -CURRENT Sun Mar 5 22:52:16 2006 ( http://docs.FreeBSD.org/cgi/mid.cgi?200603052252.k25MqHpb094838 ) with an MFC of 5 days, but it doesn't seem to have been merged yet. It may have been turned down by re@, or it may have just been forgotton about. (I hope it's the latter, as I think it's an important fix to get into 6.1-R). Hopefully yar@ will be able to MFC this. Gavin