Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 24631 invoked by uid 500); 9 Jul 2001 23:12:53 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 24613 invoked from network); 9 Jul 2001 23:12:50 -0000 Date: Tue, 10 Jul 2001 01:12:09 +0200 From: Luke Kenneth Casson Leighton To: Sander Striker Cc: Cliff Woolley , dev@apr.apache.org Subject: Re: exploration of APR goes on Message-ID: <20010710011209.N18140@angua.rince.de> Mail-Followup-To: Sander Striker , Cliff Woolley , dev@apr.apache.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from striker@apache.org on Tue, Jul 10, 2001 at 01:15:48AM +0200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N hey, guys, unless it's like bugging you or captivated your interest, don't worry about it: i have a fix, albeit not a nice one :) On Tue, Jul 10, 2001 at 01:15:48AM +0200, Sander Striker wrote: > > On Tue, 10 Jul 2001, Luke Kenneth Casson Leighton wrote: > > > > > ImpersonateLoggedOnUser? same thing as ImpersonateNamedPipeClient. > > > > > > i.e. you can only impersonate an existing user IF you have a handle > > > to that user. > > > > The other problem with ImpersonateLoggedOnUser AFAICT is that you can > > apparently call RevertToSelf() which does what it sounds like. That's > > generally undesirable in the contexts we're talking about... > > Ok, well maybe OpenThreadToken() and SetThreadToken() could be usefull? > As you can see, I'm just going over the API, looking for leads :( > Maybe someone out there knows how it's done? > > > --Cliff > > Sander