> Does windows OS have a standard dialog box I can call from python that
> queries the username/password, and returns a token?
Not that I am aware of. It would be a bad idea anyway. A better idea would
be to use the Windows SSPI functions so that the client and server can use
NTLM or Kerberos to
Hi,
Not an answer to this thread but a related win32 authorization question?
Does windows OS have a standard dialog box I can call from python that
queries the username/password, and returns a token?
I'd like not to have to worry about other peoples plain text passwords
being in variables in m
Matt Herbert (matherbe) wrote:
>> -Original Message-
>> Tim Roberts wrote:
>>
>> Matt Herbert (matherbe) wrote:
>>
>>> Is there a way to make impersonation follow threads?
>>>
>> What operating system are you running? On XP SP2 and later, a new
>> thread should inherit the imp
> -Original Message-
> Tim Roberts wrote:
>
> Matt Herbert (matherbe) wrote:
> > Is there a way to make impersonation follow threads?
>
> What operating system are you running? On XP SP2 and later, a new
> thread should inherit the impersonation token of the calling thread,
> unless th
Matt Herbert (matherbe) wrote:
> Is there a way to make impersonation follow threads?
What operating system are you running? On XP SP2 and later, a new
thread should inherit the impersonation token of the calling thread,
unless the caller passes a specific security descriptor into
CreateThread
Hey all,
Is there a way to make impersonation follow threads? Given this simple
example:
import win32api
import win32security
import win32con
from threading import Thread
class Test(Thread):
def run(self):
print "Username (in thread): ", win32api.GetUserName()
print "Username (befo