RE: Setting up NFS shares



Vincent,

I tried what you suggested and I still get a permission denied message when
I try to mount the share with a Solaris client.

Here is the CLI I tried...

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>nfsshare /?
The syntax of this command is:

nfsshare sharename=drive:path [-o ro[=client[:client ...]]
rw[=client[:client ...]]
na
root[=client[:client ...]]
noroot[=client[:client ...]]
anon=yes|no
anonuid=[Unmapped UID]
anongid=[Unmapped GID]
encoding=euc-jp|euc-tw|euc-kr|
shift-jis|big5|ksc5601|gb2312-80|ansi ]
{euc-jp|euc-tw|euc-kr|shift-jis|big5

|ksc5601|gb2312-80|ansi}=client1[:client2..
..]
sharename [-o ro[=client[:client ...]]
rw[=client[:client ...]]
na
root[=client[:client ...]]
noroot[=client[:client ...]]
anon=yes|no
anonuid=[Unmapped UID]
anongid=[Unmapped GID]
encoding={euc-jp|euc-tw|euc-kr|
shift-jis|big5|ksc5601|gb2312-80|ansi} ]
{euc-jp|euc-tw|euc-kr|shift-jis|big5

|ksc5601|gb2312-80|ansi}=client1[:client2..
..]
removeclient=client[:client ...]
{sharename | drive:path} /delete

A client can be either a host or a client group.

C:\Documents and Settings\Administrator>nfsshare NFSTest=e:\NFSTest -o rw
anon=y
es
NFSTest was shared successfully

C:\Documents and Settings\Administrator>ping solaris4

Pinging solaris4.ntmknt1.practice.com [192.168.1.33] with 32 bytes of data:

Reply from 192.168.1.33: bytes=32 time<1ms TTL=255
Reply from 192.168.1.33: bytes=32 time<1ms TTL=255
Reply from 192.168.1.33: bytes=32 time<1ms TTL=255
Reply from 192.168.1.33: bytes=32 time<1ms TTL=255

Ping statistics for 192.168.1.33:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\Administrator>nfsshare e:\NFSTest /delete
E:\NFSTest was deleted successfully

C:\Documents and Settings\Administrator>nfsshare NFSTest=e:\NFSTest -o rw
anon=yes root=solaris4 anonuid=101
NFSTest was shared successfully

C:\Documents and Settings\Administrator>nfsshare e:\NFSTest /delete
E:\NFSTest was deleted successfully

C:\Documents and Settings\Administrator>nfsshare NFSTest=e:\NFSTest -o
rw=solaris4 anon=yes root=solaris4 anonuid=101 anongid=10
NFSTest was shared successfully

C:\Documents and Settings\Administrator>

Is the encoding something else for Solaris? What else can I do.

Can I do this without setting up User Mapping?

Thanks for your help.
--
BobL


"Vincent Xu [MSFT]" wrote:

Hi Bob,

My suggestions are:

First, please check if the folder has been shared with
the appropriate permissions. See:
324089 HOW TO: Share Windows Folders by Using Server for NFS
http://support.microsoft.com/?id=324089

1. Log on to the Windows-based server by using an administrative level
account.

2. Start Windows Explorer.

3. Right-click the folder that you want to share, and then click Sharing.
Note: Before sharing the folder, make sure the share has everyone full
controller on the shared folder.

4. Click the NFS Sharing tab, and then click Share this folder.

5. Configure the appropriate settings, and then click OK.

NOTE: Microsoft recommends that you install at least one User Name
Mapping service on your network to map UNIX and Windows user names to each
other. Please view our Kb article about User Name Mapping service:
324073 HOW TO: Configure the User Name Mapping Service
http://support.microsoft.com/?id=324073

Next, I recommend that we use the Client for NFS to re-examine its NTFS
permissions. The following articles will be helpful:
324546 HOW TO: Use the Client for NFS to Set the NFS Permissions for a File
or
http://support.microsoft.com/?id=324546

Additional readings:
===============
262984 Configuring Server for NFS File Security Permissions
http://support.microsoft.com/?id=262984

231964 NFS Server and File Permissions
http://support.microsoft.com/?id=231964

321712 HOW TO: Install Microsoft Windows Services for UNIX 3.0 on Microsoft
http://support.microsoft.com/?id=321712

Hope this helps!

Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security

======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no rights.
======================================================



--------------------
Thread-Topic: Setting up NFS shares
thread-index: AcbTpLaRjGhyyFo+T9WONSouaoTj1A==
X-WBNR-Posting-Host: 130.76.64.93
From: =?Utf-8?B?Qm9iTA==?= <divebikebob45@xxxxxxxxxxxxxx>
Subject: Setting up NFS shares
Date: Fri, 8 Sep 2006 17:13:01 -0700
Lines: 15
Message-ID: <14D0D25E-E7E9-4878-A61D-6B705D4868C1@xxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.windows.file_system
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.file_system:9747
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.windows.file_system

Hi,

I am trying to setup some simple NFS shares on Windows Server 2003
Enterprise 64bit R2 to do some interoperability testing in a lab
environment.
I can create the share using the NFS sharing tab. I am testing
interoperability with Sun Solaris.

Everytime I try to mount the NFS share setup on the Windows 2003 server I
get a permission denied error.

Anyone have some basic tips as to how to set this up?

Thanks.
--
BobL



.



Relevant Pages

  • RE: Setting up NFS shares
    ... installed in my server. ... the appropriate permissions. ... Share Windows Folders by Using Server for NFS ... Click the NFS Sharing tab, and then click Share this folder. ...
    (microsoft.public.windows.file_system)
  • RE: Setting up NFS shares
    ... the appropriate permissions. ... Share Windows Folders by Using Server for NFS ... Click the NFS Sharing tab, and then click Share this folder. ...
    (microsoft.public.windows.file_system)
  • RE: Setting up NFS shares
    ... I think it is Solaris client's side issue.Therefore I'd ... the appropriate permissions. ... Share Windows Folders by Using Server for NFS ... Click the NFS Sharing tab, and then click Share this folder. ...
    (microsoft.public.windows.file_system)
  • Windows 2000 Version of MAPI Permissions, using, help
    ... I'm tring to understand how to change Windows 2000 Version of MAPI ... Permissions and client peromissions tab for public folder - idea to ... Little problem - after setting up windows 2000 client perm. ...
    (microsoft.public.exchange2000.admin)
  • Re: Help me replace some Windows installations
    ... >> NFS is NFS, not SMB. ... > hierarchy from the OS X server on the Linux machines via NFS, ... > have to trust the client machines to enforce permissions on it? ... If you gave access to your client ...
    (comp.os.linux.setup)