reddragdiva: (Default)
[personal profile] reddragdiva

I'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)
From: [identity profile] rbarclay.livejournal.com
Use Debilian! See the light!

(no subject)

Date: 2005-08-25 02:48 pm (UTC)
From: [identity profile] rbarclay.livejournal.com
Lee-GNU-cks! eleventy-one!

(Sorry, but I've had way too much exposure to Deadrat today.)

(no subject)

Date: 2005-08-25 02:58 pm (UTC)
From: [identity profile] alexmc.livejournal.com
> I know it can't be done,

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)
From: [identity profile] sweh.livejournal.com
./shlight //debtors/ash/ /mnt -n

Get rid of the / after "ash" and see if that works.

(no subject)

Date: 2005-08-25 04:16 pm (UTC)
From: [identity profile] simonb.livejournal.com
I played with sharity-light a while ago whilst trying to do exactly the same thing and although I got it to sort of work - as in it mounted SMB mounts with no problems and made the files available - it was highly unstable and prone to failure if a gnat farted within a ten mile radius of the box running the software.

(no subject)

Date: 2005-08-25 04:25 pm (UTC)
From: [identity profile] shamus9999.livejournal.com
In other words it's every bit as reliable as NT.

(no subject)

Date: 2005-08-25 04:38 pm (UTC)
From: [identity profile] simonb.livejournal.com
Actually, I'd say that it was worse...

(no subject)

Date: 2005-08-25 05:30 pm (UTC)
From: [identity profile] shamus9999.livejournal.com
/me rereads Can Such Things Be by Ambrose Bierce

(no subject)

Date: 2005-08-26 12:52 am (UTC)
From: [identity profile] xandraius.livejournal.com
Holy smouldering monkey poo... worse than a Wintel flavor?
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 02:02 am (UTC)
From: [identity profile] ozjester.livejournal.com
You've missed all this work stuff haven't you?

(no subject)

Date: 2005-08-26 05:02 pm (UTC)
From: [identity profile] arkady.livejournal.com
Just wait until I start as a PFY. We can bitch together about our lusers.

(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.)

March 2022

S M T W T F S
  12 345
6789101112
13141516171819
20212223242526
2728293031  

Style Credit

Expand Cut Tags

No cut tags