× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks Chuck, I have, again, learned something new today.


Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
CRPence
Sent: Tuesday, June 23, 2015 8:04 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Accessing a Windows share folder using QNTC

On 23-Jun-2015 16:42 -0600, paultherrien wrote:
On 23-Jun-2015 16:27 -0600, CRPence wrote:
On 23-Jun-2015 14:17 -0600, paultherrien wrote:
On 23-Jun-2015 13:52 -0600, Alan Cassidy wrote:
<<SNIP>>
But we need to create this share every day with a job to be
included in the Startup. We tried SBMJOB with USER(USERID) to run
the program that creates the /QNTC subdirectory that accesses the
Windows share. Nonetheless, the program backfires with this
message:

Not authorized to object. Object is /QNTC/10.11.12.14/ABC. (I used
MKDIR to "create" the link in QNTC.


What happens when you submit when you are signed on as the user in
the USERID parm?
Running a job with USERID(userid) is not the same thing as running a
job as that user.


First a clarification, the Submit Job (SBMJOB) has a User (USER)
parameter, as in the OP, not USERID(). Second, in what way is SBMJOB
USER(userid) "not the same thing as running a job as that user"? Is
that solely an allusion to the *CURRENT default values?
Seems anything in that regard would not interfere with
/authorization/, especially unlikely affecting to the request merely
to Make Directory (MKDIR).?


Perhaps I misunderstand the use of the user parm. Wouldn't you need
the USER'S credentials. Especially when accessing a /QNTC share?


AFaIK the credentials exchanged are obtained according to the Current
User Profile of the job; from the UID [number] of that UsrPrf perhaps?
As I recall the capability to access /QNTC was available no matter how the
USER() was established for the job, be that by USER() on SBMJOB or even if
by effective PASSWORD(*NONE) [¿the *NOPWDCHK special value?] using a
SwapUser capability. The use of SBMJOB USER() is claimed or alluded as
functional in the following archived messages:
[http://archive.midrange.com/midrange-l/201107/msg00443.html]
[http://archive.midrange.com/midrange-l/200110/msg00466.html]
[http://archive.midrange.com/midrange-l/200507/msg00350.html]
[http://archive.midrange.com/midrange-l/201306/msg00101.html]

--
Regards, Chuck

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.