Re: [python-win32] granting SeServiceLogonRight on a network account with pywin32?

2010-10-15 Thread Mike Driscoll
On 1:59 PM, Tim Roberts wrote: Tim Roberts wrote: However, I admit that NT security is a twisty maze of little passages, all different, so it's quite possible this is just a wrong turn. And I wonder how many of you are old enough to get the reference in that sentence... I'm pretty sure I

Re: [python-win32] granting SeServiceLogonRight on a network account with pywin32?

2010-10-15 Thread Aahz
On Thu, Oct 14, 2010, Tim Roberts wrote: Tim Roberts wrote: However, I admit that NT security is a twisty maze of little passages, all different, so it's quite possible this is just a wrong turn. And I wonder how many of you are old enough to get the reference in that sentence... It's a

Re: [python-win32] granting SeServiceLogonRight on a network account with pywin32?

2010-10-14 Thread Tim Roberts
Bill Janssen wrote: I've got an MSI installer for installing my UpLib server. I use the following bit of code in a custom action to grant the user the right to log on as a service, so that the service can run under their user-id: import win32api, win32security username =

Re: [python-win32] granting SeServiceLogonRight on a network account with pywin32?

2010-10-14 Thread Bill Janssen
Tim Roberts t...@probo.com wrote: Bill Janssen wrote: I've got an MSI installer for installing my UpLib server. I use the following bit of code in a custom action to grant the user the right to log on as a service, so that the service can run under their user-id: import win32api,