Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mount Windows shares to Solaris?

1,097 views
Skip to first unread message

John Oliver

unread,
Oct 23, 2008, 3:01:14 PM10/23/08
to
We have a Windows file server and want to mount various shares on our
Solaris boxes.

I tried the NFS Services in Windows. The shares are all mounted as 700,
and so unusable. I could not find any way to change this on the Windows
side.

Then I thought of mounting via smbfs/CIFS. Google leads to a lot of
questions with a few contradictory answers, none of which came close to
being helpful.

What is the easiest way to mount Windows shares on Solaris 10 05/08?

--
* John Oliver http://www.john-oliver.net/ *

ji...@specsol.spam.sux.com

unread,
Oct 23, 2008, 3:35:00 PM10/23/08
to

The easiest way is for the physical file system to be on the Solaris
system as a Samba share and have the Windows box mount it.

Last I looked smbfs filesystems weren't supported in Solaris so smbmount
won't work, but things change.

I have no clue how Windows NFS works, so I'm no help there.

You might try looking at smbsh which is supported on Solaris.


--
Jim Pennino

Remove .spam.sux to reply.

Hugh Coomes

unread,
Oct 23, 2008, 4:27:24 PM10/23/08
to
One option is Sharity. Google will give you the web site. I haven't
used in about 10 years and that was in a small number of users
environment. Probably improved since then.

cindy

unread,
Oct 23, 2008, 5:05:08 PM10/23/08
to
John,

An option is the Solaris CIFS product that runs on the SXCE or
OpenSolaris releases.

http://www.opensolaris.org/os/project/cifs-server/

The docs are here:

http://docs.sun.com/app/docs/doc/820-2429

This product isn't available on the Solaris 10 releases.

Cindy

Thad Floryan

unread,
Oct 23, 2008, 5:17:08 PM10/23/08
to

You asked for easiest. The following worked both as root and as a
normal user (noting my Windows systems are in a "workgroup").

On the Desktop, double-click "Network Places"

A window pops up with "Add Network Place" and "Windows Network (SMB)"

Double-click "Windows Network (SMB)"

My local workgroup_name popped-up with the location smb:///

Double-click the workgroup_name

Computer names on the wire in that workgroup with shares appear.

Double-click on a displayed computer name, enter access password.
I entered my Windows login password and it was accepted.

The shared directories and files now appear. Amazing. This seems to
be the default action by Solaris 10u5 because I haven't enabled or
configured anything in this regards previously (re: samba).

I don't have any Windows file servers as such to test this with,
but it might work just as easily. Tweaking samba's config
"should" automate the above Desktop procedure.


Ian Collins

unread,
Oct 23, 2008, 5:28:59 PM10/23/08
to
Thad Floryan wrote:
> On Oct 23, 12:01 pm, John Oliver <joli...@john-oliver.net> wrote:
>> We have a Windows file server and want to mount various shares on our
>> Solaris boxes.
>>
>> I tried the NFS Services in Windows. The shares are all mounted as 700,
>> and so unusable. I could not find any way to change this on the Windows
>> side.
>>
>> Then I thought of mounting via smbfs/CIFS. Google leads to a lot of
>> questions with a few contradictory answers, none of which came close to
>> being helpful.
>>
>> What is the easiest way to mount Windows shares on Solaris 10 05/08?
>
> You asked for easiest. The following worked both as root and as a
> normal user (noting my Windows systems are in a "workgroup").
>
> On the Desktop, double-click "Network Places"
>
> A window pops up with "Add Network Place" and "Windows Network (SMB)"
>
This only works in OpenSolaris or Solaris Express. CIFS in-kernel
support has not and (from what I've read) will not be back-ported to
Solaris 10.


--
Ian Collins

Richard B. Gilbert

unread,
Oct 23, 2008, 5:58:44 PM10/23/08
to
ji...@specsol.spam.sux.com wrote:
> John Oliver <jol...@john-oliver.net> wrote:
>> We have a Windows file server and want to mount various shares on our
>> Solaris boxes.
>>
>> I tried the NFS Services in Windows. The shares are all mounted as 700,
>> and so unusable. I could not find any way to change this on the Windows
>> side.
>>
>> Then I thought of mounting via smbfs/CIFS. Google leads to a lot of
>> questions with a few contradictory answers, none of which came close to
>> being helpful.
>>
>> What is the easiest way to mount Windows shares on Solaris 10 05/08?
>
> The easiest way is for the physical file system to be on the Solaris
> system as a Samba share and have the Windows box mount it.
>
> Last I looked smbfs filesystems weren't supported in Solaris so smbmount
> won't work, but things change.
>
> I have no clue how Windows NFS works, so I'm no help there.
>

I recall something about "PCNFS" or "PC-NFS". If it was EVER supported
it probably isn't now but it probably still works.

Thad Floryan

unread,
Oct 23, 2008, 7:32:43 PM10/23/08
to

This is on a Solaris 10u5 system:

SunOS antares 5.10 Generic_137112-06 i86pc i386 i86pc

I do not have any OpenSolaris or Solaris Express systems here. The
only patches I've applied are the ones permitted without a support
contract.

This is the same system I described previously here:

<http://thadlabs.com/FILES/sysconfig.txt>

As I wrote in the article to which you responded, I was amazed it
worked at all because I've done nothing explicit to enable the
capability.

ITguy

unread,
Oct 23, 2008, 7:52:25 PM10/23/08
to
> > You asked for easiest.  The following worked both as root and as a
> > normal user (noting my Windows systems are in a "workgroup").
>
> > On the Desktop, double-click "Network Places"
>
> > A window pops up with "Add Network Place" and "Windows Network (SMB)"
>
> This only works in OpenSolaris or Solaris Express.  CIFS in-kernel
> support has not and (from what I've read) will not be back-ported to
> Solaris 10.

This DOES work in Solaris 10. You can just enter "smb://server/share"
in the nautilus file system browser and it will connect. The
limitation seems to be connecting the CIFS file system to a Solaris
mount point, which is only supported in OpenSolaris/SXDE.

Thad Floryan

unread,
Oct 23, 2008, 8:01:11 PM10/23/08
to
On Oct 23, 4:32 pm, Thad Floryan <t...@thadlabs.com> wrote:
> [...]

> This is on a Solaris 10u5 system:
>
> SunOS antares 5.10 Generic_137112-06 i86pc i386 i86pc
>
> I do not have any OpenSolaris or Solaris Express systems here. The
> only patches I've applied are the ones permitted without a support
> contract.
>
> This is the same system I described previously here:
>
> <http://thadlabs.com/FILES/sysconfig.txt>
>
> As I wrote in the article to which you responded, I was amazed it
> worked at all because I've done nothing explicit to enable the
> capability.

Here's a full-screen desktop screenshot:

<http://thadlabs.com/FILES/Screenshot.png>

Also amazing (to me) was that simply pushing "Print Screen" on
my keyboard worked, too. And I just learned that Alt-Print_Screen
works like on Windows. Learn something new every day.

:-)

Thad Floryan

unread,
Oct 23, 2008, 8:04:13 PM10/23/08
to
On Oct 23, 4:52 pm, ITguy <southa...@gmail.com> wrote:
> [...]

> This DOES work in Solaris 10. You can just enter "smb://server/share"
> in the nautilus file system browser and it will connect. The
> limitation seems to be connecting the CIFS file system to a Solaris
> mount point, which is only supported in OpenSolaris/SXDE.

Good point, and I can confirm the Windows share does not appear
in a df.

Ian Collins

unread,
Oct 23, 2008, 8:06:47 PM10/23/08
to

Opps, yes I was getting mount_smbfs muddled up with nautilus.

--
Ian Collins

John Oliver

unread,
Oct 24, 2008, 2:30:44 PM10/24/08
to

I do not have a desktop on the Solaris systems to "double click"
anything ;-)

Do you happen to know what config files are involved, or what package(s)
I'd have to install in order to launch the appropriate application to do
this?

Thad Floryan

unread,
Oct 24, 2008, 3:22:02 PM10/24/08
to
On Oct 24, 11:30 am, John Oliver <joli...@john-oliver.net> wrote:
> On Thu, 23 Oct 2008 14:17:08 -0700 (PDT), Thad Floryan wrote:
> > [...]

> > The shared directories and files now appear. Amazing. This seems to
> > be the default action by Solaris 10u5 because I haven't enabled or
> > configured anything in this regards previously (re: samba).
>
> > I don't have any Windows file servers as such to test this with,
> > but it might work just as easily. Tweaking samba's config
> > "should" automate the above Desktop procedure.
>
> I do not have a desktop on the Solaris systems to "double click"
> anything ;-)
>
> Do you happen to know what config files are involved, or what package(s)
> I'd have to install in order to launch the appropriate application to do
> this?

For what it's worth, I installed the entirety of Solaris 10u5 except
for the OEM bundle. What I described availed itself of samba, and
I just-now noticed I erred when I wrote I didn't configure anything;
per the date/time on /etc/sfw/smb.conf, I added my Windows workgroup
name to the file at 3:30am back in early August after the successful
Solaris install and simply forgot about having done that. :-)

I'm not a samba expert by any means, but after the "success" of what
I posted yesterday I'm reading up on it since I've previously been
using sftp to push files to my Solaris system.

Hopefully someone more knowledgable in this regards can chime in and
we'll all learn something new. :-)

0 new messages