Re: s4u2proxy



What happens if you use the constructor that just takes the UPN? I'm not
actually sure what the second parameter does in the other constructor (docs
are very vague), but the I know you can do S4U login with the other one.

Another thing you might consider is using NegotiateStream instead of calling
AcquireCredentialsHandle/InitSecurityContext directly, but I'm not sure that
makes a big difference. It should just be easier.

Joe K.

"pmoore" <pmoore@xxxxxxxxxxxxx> wrote in message
news:FC833A5B-01EB-43E5-A3C9-4AAE6BA67376@xxxxxxxxxxxxxxxx
I want to access a remote service using creds obtained via protocol
transition.

I get the s4u user creds fine (WindowsIndentity("joe", "Kerberos"))
I impersonate
the I call AcquireCredentialsHandle (becuase I want to do InitSecContext
next)
The Call fails with 80090305 - unknown security package ("Kerberos"), the
call works fine if I take out the impersonate, (but then I am running as
the
local user not joe)


.



Relevant Pages

  • Re: Why dosnt this work?
    ... On Tue, 30 Mar 2004, Joe wrote: ... > Yes it does, that is my constructor. ... Please read the posting guidelines for this group, ... say that you should post a small *but complete* program demonstrating the ...
    (comp.lang.perl.misc)
  • Re: faq: use position of CList can find the element?
    ... You are kind of violating the "contract" of CList. ... Joe already answered you in very clear form in a previous post: ... constructed with a default constructor, ...
    (microsoft.public.vc.mfc)
  • Re: Passing array argument to constructor
    ... The CREATESTRUCT is only used by the document/view architecture (where your CView derived classes must have a default constructor because it is the CDocTemplate class that creates your view class). ... Plain old dialogs are usually created by your code, so you can use whatever constructors you like. ... All you have to do is to swap the parameters of your constructor, so that the pointer to the parent window is the second parameter. ...
    (microsoft.public.vc.mfc)
  • Re: COpy object
    ... Joe, ... TDaily* Copy; // Copy constructor ... an assignment operator should return a reference: ... involve TDaily's and TDaily references, ...
    (comp.lang.cpp)
  • Re: Wrong Constructor Called
    ... "Joe" wrote in message ... It's because you aren't calling the constructor with a - you are ... calling it with "TIMESTAMP" which is a (char const*). ... Create a new constructor CColumn (CString columnType,CObject *aOwner, ...
    (comp.lang.cpp)

Quantcast