I ran into a problem using the tools for z/OS MVSNFS. IBM NFS support
apparently does not considered Linux a supported platform for the z/OS NFS
tools. However, I was able to get IBM to document the fix in apar II13061
as follows:
.
.
.
The instructions appear to not work on the S390 LINUX platform,
but the provided examples are from two customers with different
LINUX products being applied as Linux clients on the z-series.
.
This customer made the following changes for altering the
NFSTARB code using Red Hat 7.2 which allowed the 'make'
process to work in their case.
.
Making the following changes to gfsawlin.c and gfsawlou.c
allowed the 'make' to work :
.
CHANGING :
.
#ifdef MVS /[EMAIL PROTECTED]
#pragma comment(copyright,"GFSCWLOUHDZ11TC ")
#pragma options(RENT)
#pragma strings(readonly)
#pragma csect(CODE,"GFSCWLOU")
.
#include
#include
#include "gfscwmnt.h"
#else
#include
#include "gfsawmnt.h"
#endif
.
TO :
.
#include <<<<<<<
/*#include */ <<<<<< <<<<<<<
/*#include */ <<<<<<
#include "gfsawmnt.h"
#endif
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Then in gfsawlin.c Change the following lines in the
scramble(p) routine (about line#534) to compile with out
errors.
.
#ifdef MVS
.
*p = (*p ^ zchar); //<<<< SUBMITTER: TO MESSAGE CIRCUMVENTION:
CODES: RTN SRLS: MACROS: MODULES x COMMENTS: FIX: TEMPORARY CONCLUSION:
PROBLEM SUMMARY: LOCAL #endif character XOR ?^? <<<
I have created an RPM for the z/OS NFS tools if anyone is interested (use
at own risk). It was built from z/OS Version 1.5 NFS sources under SLES 8,
SP03.
Peter
David Boyes <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[email protected]>
03/03/2005 09:33 AM
Please respond to
Linux on 390 Port <[email protected]>
To
[email protected]
cc
Subject
Re: NFS and MVSLOGIN
> I would like to know if is possible to import via NFS
> a file system from z/OS to zLinux using RACF security
> check via MVSLOGIN programs.
The z/OS NFS server uses the security system you've configured on z/OS
to authenticate userid/pwd info passed by mvslogin, same as any other
z/OS app.
> If so... where is possibile to download a binary
> version of it for Linux for zSeries? Or... is there a
> source of it?
The source is included with the z/OS NFS feature. See the NFS server
configuration documentation for the location. When you compile it on
Linux, follow the process for AIX (since you don't say which version of
z/OS you're running, some of the older versions didn't have a Linux
build target in the makefile. The AIX one works for both.).
Before you do this, make certain that the UIDs (the numeric uid values;
don't care about the userid) you use on Linux and the POSIX UIDs you use
on z/OS match. Even with the additional identification mvslogin
provides, you want this as a general rule whenever NFS is involved.
-- db
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
This Email message and any attachment may contain information that is
proprietary, legally privileged, confidential and/or subject to copyright
belonging to Pepco Holdings, Inc. or its affiliates ("PHI"). This Email is
intended solely for the use of the person(s) to which it is addressed. If
you are not an intended recipient, or the employee or agent responsible for
delivery of this Email to the intended recipient(s), you are hereby notified
that any dissemination, distribution or copying of this Email is strictly
prohibited. If you have received this message in error, please immediately
notify the sender and permanently delete this Email and any copies. PHI
policies expressly prohibit employees from making defamatory or offensive
statements and infringing any copyright or any other legal right by Email
communication. PHI will not accept any liability in respect of such
communications.
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390