Re: [python-win32] Dismounting a USB flash drive

2006-01-16 Thread Paul Moore
On 1/13/06, Tim Golden <[EMAIL PROTECTED]> wrote: > Well, according to this message: > > http://groups.google.com/group/microsoft.public.win32.programmer.wmi/msg/799622aef19f9a3c > > it's not supported in WMI. Which is a shame because > it would be quite useful. Maybe someone more win32 > API-orien

Re: [python-win32] Dismounting a USB flash drive

2006-01-16 Thread Tim Golden
Well, according to this message: http://groups.google.com/group/microsoft.public.win32.programmer.wmi/msg/799622aef19f9a3c it's not supported in WMI. Which is a shame because it would be quite useful. Maybe someone more win32 API-oriented might have some idea. TJG __

Re: [python-win32] pywinauto 0.1.1

2006-01-16 Thread Mark Mc Mahon
On 1/14/06, Jeff Bauer <[EMAIL PROTECTED]> wrote: > Mark McMahon has released a new package based on > ctypes, a gui driver for NT/W2K/XP systems: > >http://tinyurl.com/dpgq3 > Hi Jeff, Thanks for passing on the information :-) > I'm presently doing something similar by making python > calls

Re: [python-win32] Atomically creating user in Active Directory andassigning permissions to directories

2006-01-16 Thread Suzuki Alex
> However, this seems to fail as well. I'm out of ideas here, and I'm > sure somebody must have encountered this problem as well. > [snip] Sorry, it was a permission problem that prevented setting the new owner. Everything works fine now. Sorry again for the trouble. Regards, Alex

[python-win32] Atomically creating user in Active Directory and assigning permissions to directories

2006-01-16 Thread Suzuki Alex
Hello, I am tasked with adding Active Directory support to an existing tool that manages users among other things. One process involves creating a new user. This user is first created in a legacy database, then in Active Directory (using COM/ADSI). This works well. However, the environment also

Re: [python-win32] Converting objectSid attribute value to a PySID

2006-01-16 Thread Suzuki Alex
Thanks Roger, This works well. I was a bit confused since I only looked at the win32security.SID documentation, and there the constructor does not have any documented parameters. However, my real problem is not solved. It involves the creation of folders and assigning appropriate permissions for