- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-NAS share authentication error
Operating System - HP-UX
1753825
Members
8577
Online
108805
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 07:09 AM
тАО01-27-2005 07:09 AM
HP-NAS share authentication error
In summary, I have an isolated LAN.
1 HP-UX 11.23 Itanium server with an NIS master.
1 hub.
1 Proliant DL100 disk array running Windows 2003 Server.
I have one NFS2 share on the Windows box. HPUX users can't gain access to a file until root has accessed the file first. If I unmount the share and remount it, then root will have to access each file again before any users can gain access.
How do I fix this?
Explicit details below:
Configuration:
HP-UX 11.23 rx5670 server with two Ethernet ports. One port is on the building network (129.4.204.XXX subnet). The building network does not seem relevant to our NFS shares problem. I tried the following without the building network and obtained the same results. The other port is on a 200.0.0.XXX subnet. This is the segment of interest.
The 200.0.0.XXX subnet consists of the HP-UX box above, one hub, and a Proliant DL100 disk array running Microsoft 2003 Server.
IтАЩve enabled NIS on the HP-UX box. NIS+ is not enabled.
The Windows box is able to query my NIS domain. IтАЩve explicitly mapped:
User: Administrator to root
Group: Administrators to root
Group: Users to users
The Windows NFS server has NFS3 disabled. I get worse results with NFS3 enabled.
I have one NFS share on the Windows box. тАЬF:\testтАЭ has an NFS share name тАЬtestтАЭ . This is only shared with an NFS protocol. тАЬF:\testтАЭ has RW access, root access, and the Users group has full-control.
тАЬF:\testтАЭ contains one textfile: тАЬNew Text Document.txtтАЭ. тАЬNew Text Document.txtтАЭ contains the following text:
This
is
a
test.
The following sequence is deterministic.
тАШ# тАШ denotes my root login
тАШbash-2.04$тАЩ denotes my user login.
// denotes my comments
# mount 200.0.0.1:/test /mnt/test // no errors
bash-2.04$ ls /mnt/test // empty directory
# ls /mnt/test // root sees a non-empty directory
New Text Document.txt
bash-2.04$ ls /mnt/test // user sees a non-empty directory
New Text Document.txt
bash-2.04$ cat /mnt/test/* // user fails file read permissions
NFS lookup failed for server 200.0.0.1: RPC: Authentication error
cat: Cannot open /mnt/test/New Text Document.txt: I/O error
# cat /mnt/test/* // root can read the files
This
is
a
test.
bash-2.04$ cat /mnt/test/* // from now on, users can read files
This
is
a
test.
As long as root touches the files first, subsequent users can perform the corresponding IO operation on the same files.
Every time I mount the share, I
1 HP-UX 11.23 Itanium server with an NIS master.
1 hub.
1 Proliant DL100 disk array running Windows 2003 Server.
I have one NFS2 share on the Windows box. HPUX users can't gain access to a file until root has accessed the file first. If I unmount the share and remount it, then root will have to access each file again before any users can gain access.
How do I fix this?
Explicit details below:
Configuration:
HP-UX 11.23 rx5670 server with two Ethernet ports. One port is on the building network (129.4.204.XXX subnet). The building network does not seem relevant to our NFS shares problem. I tried the following without the building network and obtained the same results. The other port is on a 200.0.0.XXX subnet. This is the segment of interest.
The 200.0.0.XXX subnet consists of the HP-UX box above, one hub, and a Proliant DL100 disk array running Microsoft 2003 Server.
IтАЩve enabled NIS on the HP-UX box. NIS+ is not enabled.
The Windows box is able to query my NIS domain. IтАЩve explicitly mapped:
User: Administrator to root
Group: Administrators to root
Group: Users to users
The Windows NFS server has NFS3 disabled. I get worse results with NFS3 enabled.
I have one NFS share on the Windows box. тАЬF:\testтАЭ has an NFS share name тАЬtestтАЭ . This is only shared with an NFS protocol. тАЬF:\testтАЭ has RW access, root access, and the Users group has full-control.
тАЬF:\testтАЭ contains one textfile: тАЬNew Text Document.txtтАЭ. тАЬNew Text Document.txtтАЭ contains the following text:
This
is
a
test.
The following sequence is deterministic.
тАШ# тАШ denotes my root login
тАШbash-2.04$тАЩ denotes my user login.
// denotes my comments
# mount 200.0.0.1:/test /mnt/test // no errors
bash-2.04$ ls /mnt/test // empty directory
# ls /mnt/test // root sees a non-empty directory
New Text Document.txt
bash-2.04$ ls /mnt/test // user sees a non-empty directory
New Text Document.txt
bash-2.04$ cat /mnt/test/* // user fails file read permissions
NFS lookup failed for server 200.0.0.1: RPC: Authentication error
cat: Cannot open /mnt/test/New Text Document.txt: I/O error
# cat /mnt/test/* // root can read the files
This
is
a
test.
bash-2.04$ cat /mnt/test/* // from now on, users can read files
This
is
a
test.
As long as root touches the files first, subsequent users can perform the corresponding IO operation on the same files.
Every time I mount the share, I
I Love Computers ... Sometimes
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 07:54 AM
тАО01-27-2005 07:54 AM
Re: HP-NAS share authentication error
Perhaps build a "auto" mount by root of the NAS server into /etc/fstab
Here is an example:
//192.168.0.20/web /webtemp smbfs credentials=/etc/.smbpasswd 0 0
This is a samba example but if you change the smbfs to nfs it might help.
.smbpasswd has two lines user and password and permissions are VERY tight.
SEP
Here is an example:
//192.168.0.20/web /webtemp smbfs credentials=/etc/.smbpasswd 0 0
This is a samba example but if you change the smbfs to nfs it might help.
.smbpasswd has two lines user and password and permissions are VERY tight.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 11:36 PM
тАО01-27-2005 11:36 PM
Re: HP-NAS share authentication error
I'm trying to avoid a manual configuration of system files.
It doesn't look like I'm having a mount problem. I had the automount configured through sam at first, but I disabled it when I started to troubleshoot. My manual mount command never returns an error message:
mount IP:/sharename /mountpath
bdf claims that the share is mounted.
As long as root accesses every file first, then subsequent users don't have any problem.
If a user tries to access the file first, I get this message:
NFS lookup failed for server 200.0.0.1: RPC: Authentication error
Does this mean that I've been denied access, or does it mean that the authentication experienced a breach in protocol (bug)?
It doesn't look like I'm having a mount problem. I had the automount configured through sam at first, but I disabled it when I started to troubleshoot. My manual mount command never returns an error message:
mount IP:/sharename /mountpath
bdf claims that the share is mounted.
As long as root accesses every file first, then subsequent users don't have any problem.
If a user tries to access the file first, I get this message:
NFS lookup failed for server 200.0.0.1: RPC: Authentication error
Does this mean that I've been denied access, or does it mean that the authentication experienced a breach in protocol (bug)?
I Love Computers ... Sometimes
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP