Re: [osol-discuss] How to set NFS permissions

2010-06-05 Thread Lisandro Grullon
Glad you got it going...Lisandro

--Original Message--
From: Duncan Groenewald
Sender: opensolaris-discuss-boun...@opensolaris.org
To: opensolaris-discuss@opensolaris.org
Subject: Re: [osol-discuss] How to set NFS permissions
Sent: Jun 4, 2010 10:12 AM

You're a star thanks.  The /bin/chmod did the trick !!  thanks so much, this 
has been bugging me for years !!
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Sent on the Sprint® Now Network from my BlackBerry®
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-04 Thread Duncan Groenewald
You're a star thanks.  The /bin/chmod did the trick !!  thanks so much, this 
has been bugging me for years !!
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-04 Thread Lisandro Grullon
My best advise would be to double or triple check the permissions and the 
ownership. Lisandro


--Original Message--
From: Duncan Groenewald
Sender: opensolaris-discuss-boun...@opensolaris.org
To: opensolaris-discuss@opensolaris.org
Subject: Re: [osol-discuss] How to set NFS permissions
Sent: Jun 4, 2010 2:51 AM

Thanks, I'll try the permissions thing first and then just share via SMB as 
well.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Sent on the Sprint® Now Network from my BlackBerry®
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-04 Thread Edward Martinez
> Duncan Groenewald
>  writes:
> 
> > The NFS share is already set up and works fine from
> my Macbook, just
> > not from the Windows PC.  But the the Macbook is
> running UNIX and
> > the user ID is the same as the user id on the
> opensolaris server.
> 
> I think you were on the right track wondering if smb
> would not be
> better.  It is after all the native protocol to
> windows.
> 
> But that doesn't mean you need to stop using nfs.
>  Far as I know the
> hare can have both turned on... I have that setup in
> several places.
> 
> I recommend you zfs set smbshare=on file/system
> zfs set smbshare=name=somecoolname
>  file/system
> Then somecoolname will be what windows sees and uses.
> 
> You do need to start the smb server of course.
> 
> If things are setup ok then `svcadm enable -r
> smb/server'
> 
> You may need to join a work group too.  Maybe someone
> else can supply
> that info, its been so long ago that I did that I've
> forgotten the
> required commands.
> 
> Once these things are done I'd recommend you use a
> tried and tested
> chmod command that has ben mentioned on these forums
> many times as a
> way to cure windows to solaris server problems.
> 
> (Note it is `/bin/chmod' in case solaris native
>  chmod is not first
> in your path... gnu chmod doesn't now anything
>  about this command)
> /bin/chmod -R A=everyone@:full_set:fd:allow
>  /file/system/containing/share 
> Once that is done then let windows do the rest, like
> creating
> directories or whatever.
> 
> Before actually doing any of the above, you may want
> to verify its not
> going to cause some kind of mess.  My usage is
> strictly homeboy home
> lan so any problems are not going to effect anyone
> else but me.. if
> that isn't true in your case... please verify the
> above procedure.
> 
> 
> ___
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
> 

So, he does not have to use "sharectl" and "sharemgr" commands to configure 
NFS? I know the time will come up  I  will also need to know.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-04 Thread Brandon High
On Thu, Jun 3, 2010 at 5:23 AM, Duncan Groenewald
 wrote:
> I can't find any useful information on how to grant access to an NFS share.  
> Any ideas on how to give a user on a WIndows PC access to the NFS share.  
> They don't have a login on the OpenSolaris NFS server.

You can set access via the sharenfs property. For instance,
# zfs set sharenfs=...@192.168.1.0/24 foo
will allow read/write access to the 192.168.1.0 subnet.

-B

-- 
Brandon High : bh...@freaks.com
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-03 Thread Duncan Groenewald
To many questions...  

Authentication - nothing.  I struggled to find any information of how NFS 
access control works.  For some reason the NFS shares are accessible from the 
Macs but not from the Windows PC.  I very much suspect its something to do with 
permissions on the file.

I have no LDAP, AD or anything.  For SMB I would usually have to set up user 
and passwords and grant access to shares, printers etc..  For NFS I could not 
figure out how to one does the same thing but as I mentioned above it seems to 
be accessible from the Macs.  I doubt it is secure seeing that I have not 
actually configured any specific user access which is not ideal.  Given its 
only a home network its not a big deal but it would be great if someone could 
explain how to go about granting permissions to allow users controlled access 
to the NFS shares.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-03 Thread Duncan Groenewald
Thanks, I'll try the permissions thing first and then just share via SMB as 
well.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-03 Thread Lisandro Grullon
Hi duncan, since you are having issues with NFS and your windows file sharing 
setting...looking into samba and smb would be a great option since it supports 
better integration with the windows environment. Can you tell us what are you 
using for authentication...LDAP, pam,files or active directory...this will give 
us a better idea to help you. Take care. Lisandro
--Original Message--
From: Duncan Groenewald
Sender: opensolaris-discuss-boun...@opensolaris.org
To: opensolaris-discuss@opensolaris.org
Subject: [osol-discuss] How to set NFS permissions
Sent: Jun 3, 2010 8:23 AM

Hi,  I have a ZFS share but am unable to access the share from a Windows PC.  
The windows PC mounts the share but indicates No Access.

I can't find any useful information on how to grant access to an NFS share.  
Any ideas on how to give a user on a WIndows PC access to the NFS share.  They 
don't have a login on the OpenSolaris NFS server.

Any suggestions on whether its perhaps better to share using SMB as this seems 
to have better facilities for granting users access.

Thanks
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Sent on the Sprint® Now Network from my BlackBerry®
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-03 Thread Lisandro Grullon
Hi edward, try checking the permissions and the folder/file ownership. I am 
almost certain something is wrong along those lines. Take care. Lisandro

--Original Message--
From: Edward Martinez
Sender: opensolaris-discuss-boun...@opensolaris.org
To: opensolaris-discuss@opensolaris.org
Subject: Re: [osol-discuss] How to set NFS permissions
Sent: Jun 3, 2010 9:00 AM

> Thanks, yes I have the Windows NFSClient installed
> and the share gets mounted correctly.  Just unable to
> access the files on the share - presumably because
> some permissions need to be set on the server side.

Then I think "sharectl" command needs to be used along with "sharemgr" i can be 
wrong.
http://blogs.sun.com/lubos/entry/how_to_share_zfs_over
http://developers.sun.com/openstorage/articles/opensolaris_storage_server.html
http://docs.sun.com/app/docs/doc/819-1634/gecpc?a=view
http://dlc.sun.com/osol/docs/content/SSMBAG/smbcmdsdaemonsfiles.html#sharectlcommand
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Sent on the Sprint® Now Network from my BlackBerry®
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-03 Thread Harry Putnam
Duncan Groenewald
 writes:

> The NFS share is already set up and works fine from my Macbook, just
> not from the Windows PC.  But the the Macbook is running UNIX and
> the user ID is the same as the user id on the opensolaris server.

I think you were on the right track wondering if smb would not be
better.  It is after all the native protocol to windows.

But that doesn't mean you need to stop using nfs.  Far as I know the
share can have both turned on... I have that setup in several places.

I recommend you zfs set smbshare=on file/system
zfs set smbshare=name=somecoolname file/system

Then somecoolname will be what windows sees and uses.

You do need to start the smb server of course.

If things are setup ok then `svcadm enable -r smb/server'

You may need to join a work group too.  Maybe someone else can supply
that info, its been so long ago that I did that I've forgotten the
required commands.

Once these things are done I'd recommend you use a tried and tested
chmod command that has ben mentioned on these forums many times as a
way to cure windows to solaris server problems.

  (Note it is `/bin/chmod' in case solaris native chmod is not first
   in your path... gnu chmod doesn't now anything about this command)

 /bin/chmod -R A=everyone@:full_set:fd:allow /file/system/containing/share 

Once that is done then let windows do the rest, like creating
directories or whatever.

Before actually doing any of the above, you may want to verify its not
going to cause some kind of mess.  My usage is strictly homeboy home
lan so any problems are not going to effect anyone else but me.. if
that isn't true in your case... please verify the above procedure.


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-03 Thread Edward Martinez
> The NFS share is already set up and works fine from
> my Macbook, just not from the Windows PC.  But the
> the Macbook is running UNIX and the user ID is the
> same as the user id on the opensolaris server.

If it's works with other UNIX then I the think something may be wrong on the 
windows side. I suggest  to also post on the windows forum how to configure 
windows to access NFS on UNIX.
http://social.technet.microsoft.com/Forums/en/category/w7itpro
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-03 Thread Duncan Groenewald
The NFS share is already set up and works fine from my Macbook, just not from 
the Windows PC.  But the the Macbook is running UNIX and the user ID is the 
same as the user id on the opensolaris server.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-03 Thread Edward Martinez
> Thanks, yes I have the Windows NFSClient installed
> and the share gets mounted correctly.  Just unable to
> access the files on the share - presumably because
> some permissions need to be set on the server side.

Then I think "sharectl" command needs to be used along with "sharemgr" i can be 
wrong.
http://blogs.sun.com/lubos/entry/how_to_share_zfs_over
http://developers.sun.com/openstorage/articles/opensolaris_storage_server.html
http://docs.sun.com/app/docs/doc/819-1634/gecpc?a=view
http://dlc.sun.com/osol/docs/content/SSMBAG/smbcmdsdaemonsfiles.html#sharectlcommand
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-03 Thread Duncan Groenewald
Thanks, yes I have the Windows NFSClient installed and the share gets mounted 
correctly.  Just unable to access the files on the share - presumably because 
some permissions need to be set on the server side.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to set NFS permissions

2010-06-03 Thread Edward Martinez
> Hi,  I have a ZFS share but am unable to access the
> share from a Windows PC.  The windows PC mounts the
> share but indicates No Access.
> 
> I can't find any useful information on how to grant
> access to an NFS share.  Any ideas on how to give a
> user on a WIndows PC access to the NFS share.  They
> don't have a login on the OpenSolaris NFS server.
> 
> Any suggestions on whether its perhaps better to
> share using SMB as this seems to have better
> facilities for granting users access.
> 
> Thanks

I not really sure but I think  either SMB or Microsoft® Windows® Services for 
UNIX " needs to be used 

http://technet.microsoft.com/en-us/library/bb463203.aspx
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

[osol-discuss] How to set NFS permissions

2010-06-03 Thread Duncan Groenewald
Hi,  I have a ZFS share but am unable to access the share from a Windows PC.  
The windows PC mounts the share but indicates No Access.

I can't find any useful information on how to grant access to an NFS share.  
Any ideas on how to give a user on a WIndows PC access to the NFS share.  They 
don't have a login on the OpenSolaris NFS server.

Any suggestions on whether its perhaps better to share using SMB as this seems 
to have better facilities for granting users access.

Thanks
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org