Re: [python-win32] Using LogonUser with Guest account

2008-03-28 Thread Tim Golden
Giampaolo Rodola' wrote: > Roger Upole wrote: >> I think you're looking for win32security.ImpersonateAnonymousToken. >> Note that Anonymous is not the same thing as the Guest account. > > By reading MSDN it seems it should be used with threads (while I'm in > an asynchronous environment) and I'm n

Re: [python-win32] Using LogonUser with Guest account

2008-03-28 Thread Giampaolo Rodola'
Roger Upole wrote: >> Hi, >> I'm trying to write a plug-in for a ftp server of mine to permit the >> integration with accounts defined on the Windows system. >> What I basically need is impersonating a user, execute e filesystem >> call (e.g. create a directory via os.mkdir()) and then switch back

[python-win32] Using LogonUser with Guest account

2008-03-22 Thread Giampaolo Rodola'
Hi, I'm trying to write a plug-in for a ftp server of mine to permit the integration with accounts defined on the Windows system. What I basically need is impersonating a user, execute e filesystem call (e.g. create a directory via os.mkdir()) and then switch back to the original user (Administrato