Sponsored Content
Operating Systems AIX Access AIX NFS Share from Windows Server 2008 Post 302440530 by bakunin on Tuesday 27th of July 2010 12:05:40 PM
Old 07-27-2010
Quote:
Originally Posted by ThePistonDoctor
I can map a network drive to \\aixservername\nfssharename and it sees it, but I get "Access is denied" when I try to open it.

I assume this is because it's not recognizing the domain username on the Unix side[...]
A few clarifications first:

NFS (network file system) is a protocol and is part of the TCP/IP protocol suite. Classically it used UDP to transport its information and worked on top of it, modern versions (NFS4) use TCP in the transport layer.

Windows is NOT (really!) using TCP/IP at all. Windows is using a protocol suite called NetBIOS and this protocol suite includes a protocol which serves a similar purpose to NFS: the SMB (server message block). Microsoft has, in the wake of the Internet, claimed that Windows today utilizes TCP/IP, but this is a half-lie: what Windows does is to use TCP/IP as a mere transport protocol to transmit normal NetBIOS protocol frames. All the Windows network functions (like Directory management, file sharing, etc.) are all still built on NetBIOS facilities which just get transmitted enclosed in TCP frames instead of being transmitted natively (like in Token-Ring frames).

The principal problem you face is that both Unix and Windows are using TCP/IP to transmit information, but while Unix uses a real TCP/IP protocol suite (telnet/ssh for remote login, nfs for file sharing, lpr/lpd for print services, etc.), Windows uses TCP only to tunnel another network protocol suite.

One possibility to overcome this is to implement (parts of) the NetBIOS protocol suite in Unix. This is what Samba and similar products do. Samba is the implementation of the SMB (hence the name) protocol as a Unix daemon. Install it on the Unix system and you could export parts of the local file system as "network shares", which represent the SMB pendant to an NFS export. You could even connect this "SMB server" to a domain and handle the user/rights administration from your domain controller.

Another possibility is to implement a full-featured TCP/IP-protocol stack in Windows. This is what - however clumsily - "Unix services for Windows" does.

So, after this rather long-winded explanation, what can you do to remedy your problem. Lets assume the problem is on the Windows side:
  • NFS relies on the RPC (remote procedure call) protocol. Make sure that your Windows system is able to answer RPC calls from the remote server.
  • It might be that the NFS server uses an older NFS protocol. Make sure that both server and client use the same transport protocol (TCP or UDP). UDP even might be better in settings with packet sizes which are large relative to NFS's data transfer size (i.e. Ethernet Jumbo Frames are enabled).
  • NFS servers run either portmapper or rpc.bind daemons to advertise service endpoints to their clients. This can cause problems with firewalls between server and client. NFS often uses port 2049 but auxiliary services (i.e. NLM) use random ports and the rpcbind uses 111.
  • Usually NFS shares are exported to hosts, not user/host combinations, so i suppose your point with the Unix UID is mute. However, you will need to "mount" the filesystem once you see it exported to your system.
  • In AIX the command "showmount -e <hostname>" will show you all the exported directories of the host <hostname>. I have no idea if this command is available in WIndows when the Unix Services for Windows are installed. If it is use it to find out if the directory is indeed exported and available for you.

I hope this helps. If you suppose that the problem is with the Unix system state that here, get root access to the system (NFS configuration needs root privileges) and report back to here.

bakunin
This User Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. AIX

Access windows share from AIX

How in AIX 5.1 can I access a windows shared drive without using NFS. I have looked into cifs but I can not seem to find the package that I need to install for AIX 5.1 if anyone can give me any further direction please let me know. (2 Replies)
Discussion started by: chefsride
2 Replies

2. AIX

How to share a directory in AIX to access from Solaris and windows?

Hi All, I am basically new to this forum as well as AIX. To share some huge files between 2 servers I thought of creating a shared Directory in my AIX machine to access it in Solaris. I am very new to this AIX. Help me out how can u share a directory in AIX to access (mount) it on Solaris. Hope... (2 Replies)
Discussion started by: babuchoudary_g
2 Replies

3. UNIX for Advanced & Expert Users

can i mount nfs share on windows 2003 server

this is probably a bit dumb ...but i read somewhere that one of the nfs versions can be mounted on a windows 2003 server ..if yes ..does anyone know how this can be achieved (1 Reply)
Discussion started by: tarunicon
1 Replies

4. AIX

AIX cifs: mount Windows Server 2008 share ?

Hello, I've been using AIX cifs to mount windows XP shares with no problems till now. Now it's Windows Server 2008 R2 - no go: mount -v cifs -n host1/user1/pass1 /share1 /mountpt1 There was an error connecting the share or the server. Make sure the lsdev command shows that device nsmb0 is in... (6 Replies)
Discussion started by: vilius
6 Replies

5. AIX

AIX to access Windows share

Are there any special requirements/tools needed for a AIX server to see (copy data) a Windows share? Only need 1-way copy (Windows-to-AIX). (8 Replies)
Discussion started by: kirkb
8 Replies

6. AIX

AIX cifs mount to Windows Server 2008 R2

Hi i have some problem to mount a Windows Server 2008 R2 share on AIX. I found the artikel 157701-aix-cifs-mount-windows-server-2008-share on the Forum (cant post the Link) witch decribe my situation but there is no solution. I can mount a share to a Windows 2003 SP2 Server but not to 2008 R2... (2 Replies)
Discussion started by: MrTee
2 Replies

7. Solaris

Can't access NFS Share on Solaris Server from a Linux Client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. & then ran the following On the client machine, while running the mount command, I am... (0 Replies)
Discussion started by: SunilB2011
0 Replies

8. Red Hat

Unable to access NFS share on Solaris Server from Linux client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. share -F nfs -o rw /var/share & then ran the following svcadm -v enable -r... (3 Replies)
Discussion started by: SunilB2011
3 Replies

9. AIX

How can we share a AIX drive on to Windows 2012 server?

Hi, How can we share a AIX drive on to Windows 2012 server. or vise versa. Note: Not using NFS/CIFS/samba. (*we are not able to use samba/NFS/CIFS for some reason) Requirement: How to have real time file sharing over the network between Windows and UNIX Do you guys have any ... (4 Replies)
Discussion started by: System Admin 77
4 Replies

10. Solaris

Solaris 10 NFS client cannot mount a share from a Windows server

I have a Solaris 10 server, I'm trying to mount a share from a Windows nfs server. If I add this entry (tst-walnut:/test_sap_nfs - /majid nfs - yes rw,soft) to my /etc/vfstab, then I can mount, but when I create a file by root:root, the file owner changes to... (1 Reply)
Discussion started by: Hiroshi
1 Replies
All times are GMT -4. The time now is 03:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy