Mounting an SMB share on Solaris.
Aug. 25th, 2005 03:05 pmI'm trying to mount an SMB share on Solaris. (I know it can't be done, I just want to bitch a while.) This is so hard they're only just working on the feature in Solaris 10 (per the candid discussions from the OS developers on the OpenSolaris boards).
The suggested workaround is to export the share over NFS via Services for Unix on the NT box in question. This is what we're doing now, it combines the reliability of Windows with the user-friendliness of Unix — the NFS share just ... disappears from time to time and must be recreated by hand — and we're desperately after another way. Future scripts will use smbclient instead, which works very nicely, but we have lots of old scripts around and a systems programmer reluctant to embark on a major conversion exercise. (Same reason we can't just serve the share from a Unix box via Samba instead. Assume the SMB share can't be moved. We don't have any control over the box in question either.)
There's a proprietary commercial third-party solution called Sharity (which makes the SMB share available internally as if it's been mounted via NFS), which is the consensus real answer to the problem and which we're not going to use because it costs money. There's an ancient GPL version called Sharity Light, which does in fact compile and try to work on Solaris 8, but gives the following error, which Google is no help with any part of:
# ./shlight //debtors/ash/ /mnt -n
Kernel: smb_receive_raw: Invalid packet 0x83
Kernel: smb_receive: receive error: -5
Kernel: smb_proc_connect: Failed to send SESSION REQUEST.
error connecting to server: [5] I/O error
#
Error 5 is (I think) "no such share", but I know damn well the shares I've tested it on exist. Huh?
I'm this > < close to just finding a semi-discarded PC, installing Debian and mounting the share on that for export via NFS, which would actually be cheaper than Sharity. As well as utterly ridiculous.
(no subject)
Date: 2005-08-25 02:41 pm (UTC)(no subject)
Date: 2005-08-25 02:43 pm (UTC)(no subject)
Date: 2005-08-25 02:48 pm (UTC)(Sorry, but I've had way too much exposure to Deadrat today.)
(no subject)
Date: 2005-08-25 02:55 pm (UTC)(no subject)
Date: 2005-08-25 02:58 pm (UTC)There is a commercial product which does this. Oh - you've found it already. We used Sharity at our last place.
I vote for the extra PC :-)
(no subject)
Date: 2005-08-25 03:24 pm (UTC)Get rid of the / after "ash" and see if that works.
(no subject)
Date: 2005-08-26 07:37 am (UTC)(no subject)
Date: 2005-08-25 04:16 pm (UTC)(no subject)
Date: 2005-08-25 04:25 pm (UTC)(no subject)
Date: 2005-08-25 04:38 pm (UTC)(no subject)
Date: 2005-08-25 05:30 pm (UTC)(no subject)
Date: 2005-08-26 12:52 am (UTC)Fsck.
BTW David, any special tweaks on the Neanderthal Technology box? With changes to the *spontaneous undocumnted product features* of Winblow$ XP from 2K, I think that SMB on NT is now tied to using port 443, even if you skip all of the NetBIOS protcol installs. I could be wrong but remember reading that.
(no subject)
Date: 2005-08-26 07:46 am (UTC)(If I can beat sharity-light into working — which, so far, I can't — it would be pathetically easy to, e.g., set up something to restart it in case of a gnat farting within a ten-mile radius of it. Simply because we control the Unix boxes.)
(no subject)
Date: 2005-08-26 02:02 am (UTC)(no subject)
Date: 2005-08-26 07:35 am (UTC)(no subject)
Date: 2005-08-26 05:02 pm (UTC)(I have just found out who the clients (http://www.syzygy.co.uk/default3_and_fz_menu=clients.aspx) are for the company (http://www.syzygy.net) in question. Eeep doesn't begin to describe it.)