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

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

2006-01-10 Thread Suzuki Alex
Hi everyone, I'm working with users in Active Directory, and I would like to use their SID for subsequent file system operations (i.e. assigning permissions to folders). I would like to use the SID saved in the objectSid attribute, but I do not know how to convert it to a win32security.PySID objec

Re: [python-win32] Creating an Exchange mailbox for an Active Dir ectory user

2005-09-02 Thread Suzuki Alex
MailBox("CN=Postfachspeicher (W2K03GE01),CN=Erste Speichergruppe,CN=InformationStore,CN=W2K03GE01,CN=Servers,CN=Erste administrative Gruppe,CN=Administrative Groups,CN=Exchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=kt,DC=ktzh,DC=ch") jolie.SetInfo() --<-- -Original Me

Re: [python-win32] Creating an Exchange mailbox for an Active Dir ectory user

2005-09-02 Thread Suzuki Alex
> I'm trying to create an Exchange mailbox for an existing user in the > Active Directory. Never mind, I figured it out. cheers, A. ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Creating an Exchange mailbox for an Active Directory user

2005-09-01 Thread Suzuki Alex
Hi all, I'm trying to create an Exchange mailbox for an existing user in the Active Directory. Apparently the CDOEXM.IMailBoxStore interface method CreateMailBox does this. My problem is I don't know how to get an object that supports this interface. Until now, I managed to do all Active Directory