Mount Windows shares to Solaris?

  • Follow


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/ *
0
Reply John 10/23/2008 7:01:14 PM

John Oliver <joliver@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.

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


-- 
Jim Pennino

Remove .spam.sux to reply.
0
Reply jimp 10/23/2008 7:35:00 PM


John Oliver 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?
>
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.

0
Reply Hugh 10/23/2008 8:27:24 PM

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

On Oct 23, 1: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?
>
> --
> * John Oliver                              http://www.john-oliver.net/*

0
Reply cindy 10/23/2008 9:05:08 PM

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)"

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.


0
Reply Thad 10/23/2008 9:17:08 PM

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
0
Reply Ian 10/23/2008 9:28:59 PM

jimp@specsol.spam.sux.com wrote:
> John Oliver <joliver@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.
0
Reply Richard 10/23/2008 9:58:44 PM

On Oct 23, 2:28 pm, Ian Collins <ian-n...@hotmail.com> wrote:
> 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.

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.
0
Reply Thad 10/23/2008 11:32:43 PM

> > You asked for easiest. =A0The 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. =A0CIFS 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.
0
Reply ITguy 10/23/2008 11:52:25 PM

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.

:-)

0
Reply Thad 10/24/2008 12:01:11 AM

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.
0
Reply Thad 10/24/2008 12:04:13 AM

ITguy wrote:
>>> 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.

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

-- 
Ian Collins
0
Reply Ian 10/24/2008 12:06:47 AM

On Thu, 23 Oct 2008 14:17:08 -0700 (PDT), 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)"
>
> 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.

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?

-- 
* John Oliver                              http://www.john-oliver.net/ *
0
Reply John 10/24/2008 6:30:44 PM

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
Reply Thad 10/24/2008 7:22:02 PM

13 Replies
1856 Views

(page loaded in 0.151 seconds)

Similiar Articles:


















7/20/2012 4:28:36 PM


Reply: