× 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.


  • Subject: Re: QNTC userid/password change?
  • From: "Peter Dow" <pcdow@xxxxxxxxx>
  • Date: Thu, 19 Jul 2001 23:23:07 -0700

Hi Tom,

Thanks! I'll give it a try when I have a moment or three. I think I read
about this awhile back when wondering how those QZDASOINIT jobs did  it.
Hmm. Are you saying that even though I release the profile handles, they are
not reused?

Peter Dow
Dow Software Services, Inc.
909 425-0194 voice
909 425-0196 fax


----- Original Message -----
From: <thomas@inorbit.com>
To: <MIDRANGE-L@midrange.com>
Sent: Thursday, July 19, 2001 7:00 PM
Subject: Re: QNTC userid/password change?


> Peter:
>
> On Wed, 18 July 2001, "Peter Dow" wrote:
>
> > No, I didn't; thanks for the suggestion. What's the api?
>
> The basic process uses Security APIs approximately as follows:
>
> 1. Call QSYGETPH to get a profile handle for current user.
> 2. Call QSYGETPH to get profile handle for swap-to user.
> 3. Call QWTSETP to set to run under the swap-to user.
> 4. Do whatever processing is needed.
> 5. Call QWTSETP to set to run under previous current user.
> 6. Call QSYRLSPH to release profile handle for current user.
> 7. Call QSYRLSPH to release profile handle for swap-to user.
>
> Sequence can vary slightly and there are things to watch for, but the
manuals cover most stuff. It is apparently possible to deplete the supply of
profile handles after many tens of thousands of swaps (have to check for
absolute details) but the risk is minimal and the supply is refreshed at
IPL. Very rare to hear about it.
>
> Tom Liotta
>
>
> --
> Tom Liotta
> The PowerTech Group, Inc.
> 19426 68th Avenue South
> Kent, WA 98032
> Phone  253-872-7788
> Fax  253-872-7904
> http://www.400Security.com
>
>
> ___________________________________________________
> The ALL NEW CS2000 from CompuServe
>  Better!  Faster! More Powerful!
>  250 FREE hours! Sign-on Now!
>  http://www.compuserve.com/trycsrv/cs2000/webmail/
>
>
>
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.