mount windows share on solaris (smbmnt, smbclient)

  • Follow


Hi all.

So looking on the web I do seem to read that solaris cannot actually
mount a samba share.. is this true?
I know I can access it through file manager - so I can actually see the
files on the share, but I need to access it from a script; and cannot
figure out if there actually is a path I can get to.

I do have smbclient, but I see no option other than an interactive
session to ue it, and get/put, like ftp....

Any ideas?

Thx!

GregT

0
Reply gregt711 (2) 10/18/2006 1:40:19 AM

gregt@post.pl wrote:
> So looking on the web I do seem to read that solaris cannot actually
> mount a samba share.. is this true?

I wouldn't call it a "samba" share but yes.  The filesystem code that is
distributed with Samba to mount a SMB/CIFS volume is linux-specific.

There is "Sharity" and "Sharity Lite".  There's also an active
OpenSolaris project for adding a smbfs filesystem, but that code is not
yet in a released state.

-- 
Darren Dunham                                           ddunham@taos.com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
0
Reply Darren 10/18/2006 3:57:32 AM


gregt@post.pl wrote:


> I do have smbclient, but I see no option other than an interactive
> session to ue it, and get/put, like ftp....
>
> Any ideas?

Why, yes.

cat <<EOF | smbclient -U user%pass //hostname/share
mkdir blah
put something blah\\something
EOF

or similar. Works great in scripts.

0
Reply noident 10/19/2006 3:38:18 AM

2 Replies
761 Views

(page loaded in 0.057 seconds)

Similiar Articles:







7/24/2012 1:35:33 AM


Reply: