Accessing files outside netserver’s domain with /qntc??

110 pts.
Tags:
AS/400
QNTC File System
RPGLE
V5R4
I am using the /qntc file system to access files (from rpgle) that are within the same domain (bdomain) as the iseries netserver. does anyone know of a way to access files in another domain (tdomain) using /qntc? the files i want to access are in one of our other facilities, and are visible across our windows network. i had hoped i could create a share in bdomain that "points to" directories/files in tdomain, but my network people tell me i can't do it. thanks in advance, rick

Software/Hardware used:
os400 v5r4,
ASKED: July 26, 2010  6:03 PM
UPDATED: July 29, 2010  7:15 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    ...but my network people tell me i can't do it. Are your network people stopping you from doing it? Or do they simply not know how to make cross-domain shares work? Perhaps you can look into making a NFS share work instead of Microsoft networking? Tom
    125,585 pointsBadges:
    report
  • RickMe
    Tom, Are your network people stopping you from doing it? Or do they simply not know how to make cross-domain shares work? they're telling me it can't be done. i don't know how whether or not that's true, and just wondered if anyone else had done it. thanks for the idea about the nfs share. i'll look into it. rick
    110 pointsBadges:
    report
  • TomLiotta
    In order to access /QNTC objects, you need valid authentication first. I.e., you have to present appropriate user/password or other credentials. This is most often done simply by creating users on both ends with same name/password. On your AS/400, it is the 'current user' that is passed to Windows, so the profile swapping APIs can be handy -- swap to the necessary user, do the /QNTC work and then swap back to the job user identity. Nothing unusual in that. Of course, the swaps must be done under sufficient authority for all profiles involved. That can often be handled by routines compiled as USRPRF(*OWNER) and owned by a powerful profile. But to get to a different domain... Note that you can use IP addresses to create /QNTC directory mappings. If the domains themselves allow outsiders to come in, you might be able to run MKDIR and reference an IP address for the remote server if you can determine the address:
    md '/qntc/10.0.1.183'
    This can sometimes let you get to remote locations that aren't so obvious. Authentication and authorization are still necessary, of course. Tom
    125,585 pointsBadges:
    report
  • RickMe
    Tom, I have not been able to "make the directory" in /qntc and get to data outside of the domain, but the NFS share does work very nicely. it's a little strange to me because i've never heard of it before you mentioned it, but it appears that it is exactly what i need for this project. Thank you!! i appreciate you taking the time to respond to these questions. rick metzger DTR Industries, Inc. Bluffton, OH
    110 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following