Re: [python-win32] Technique to limit number of instances of our application under Terminal Server

2010-03-11 Thread Christopher Nilsson
Hi all, On 12 March 2010 02:31, Tim Golden wrote: > > The advantage of mutex's over semaphores would be that applications that >> terminate abnormally would have their mutex released, while applications >> using semaphors that terminated abnormally would leave their semaphore >> with an incorre

Re: [python-win32] active_directory.py: enumerating membership of groups with more than 1500 members.

2010-03-11 Thread Mike Diehn
As you probably just read, Microsoft say that if I query for the "member" attribute in the case of a group with a large membership, say 9000, the domain controller (DC) will send me back two attributes: an empty "member" attribute and a 1500 item attribute named "member;range=0-1499". Apparently,

Re: [python-win32] Technique to limit number of instances of our application under Terminal Server

2010-03-11 Thread Tim Golden
On 10/03/2010 21:16, pyt...@bdurham.com wrote: Hi Tim, It's not quite clear whether you want something which you can build into the application itself Yes, since I control the source code, this is a feature I would like to build into my applications. ... in which case, the answer's probabl

Re: [python-win32] active_directory.py: enumerating membership of groups with more than 1500 members.

2010-03-11 Thread Tim Golden
On 11/03/2010 14:51, Mike Diehn wrote: Thanks, Tim. I've just subscribed to the python-win32 mailing list and I'll copy this post to it. So, my task, in this instance is to retrieve the membership list of a 1650 member AD security group. That means the group has a 1650 item multi-value attribu

Re: [python-win32] active_directory.py: enumerating membership of groups with more than 1500 members.

2010-03-11 Thread Mike Diehn
Thanks, Tim. I've just subscribed to the python-win32 mailing list and I'll copy this post to it. So, my task, in this instance is to retrieve the membership list of a 1650 member AD security group. That means the group has a 1650 item multi-value attribute. It's refusing to send more than 1500

Re: [python-win32] Technique to limit number of instances of our application under Terminal Server

2010-03-11 Thread Lincoln Yeoh
At 09:19 PM 3/9/2010, pyt...@bdurham.com wrote: I'm looking for simple ways to monitor and limit the number of instances of our Python application that gets run on our in-house Terminal Servers (2003 and 2008). The purpose of this restriction is to make sure we don't overload our servers. Thi