Re: [python-win32] Releasing a Com object

2009-01-20 Thread Mark Hammond
On 21/01/2009 6:13 AM, Gary Scorby wrote: You are correct, it no longer refers to the object. I should have added a few more details. Windows still believes the object is in use, in this case it’s a dll. Nothing else can be done with the dll until Python is completely shut down. None of the othe

Re: [python-win32] User transparent authentication with PDC

2009-01-20 Thread Mark Hammond
On 21/01/2009 3:35 AM, le dahut wrote: I thought using some sort of NTLM like in squid. Your example deals with NTLM but reading "Lib/site-packages/win32/lib/sspi.py" I don't understand everything. > > Can you enlight me ? > In general, NTLM auth is tricky, but enlightenment can probably only

Re: [python-win32] Releasing a Com object

2009-01-20 Thread Dahlstrom, Roger
If you open it in another thread, will it die upon the thread dying? From: python-win32-bounces+rdahlstrom=directedge@python.org [mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of Gary Scorby Sent: Tuesday, January 20, 2009 5:37 P

Re: [python-win32] Releasing a Com object

2009-01-20 Thread Gary Scorby
That was my original attempt. No luck with that either. This sucker has nine lives. Thanks for your response. Gary From: python-win32-bounces+gary.scorby=harlandfs@python.org [mailto:python-win32-bounces+gary.scorby=harlandfs@python.org] On Behalf Of Greg Antal Sent: Tuesday,

Re: [python-win32] Releasing a Com object

2009-01-20 Thread Greg Antal
Try     del xxx Even when you invoke whatever "stop" or "close" methods that object offers, you sometimes still have to delete the object to make the application shut down. - Greg Antal Gregory W. Antal Senior Technical Advisor ATA Engineering, Inc. 11995 El Camino Real, Suite 200 San Diego

Re: [python-win32] Releasing a Com object

2009-01-20 Thread Gary Scorby
You are correct, it no longer refers to the object. I should have added a few more details. Windows still believes the object is in use, in this case it's a dll. Nothing else can be done with the dll until Python is completely shut down. None of the other dll com objects I have used in the past

Re: [python-win32] Releasing a Com object

2009-01-20 Thread bob gailer
Gary Scorby wrote: You are correct, it no longer refers to the object.  I should have added a few more details.  Windows still believes the object is in use, in this case it’s a dll.  Nothing else can be done with the dll until Python is completely shut down.  None of the other

Re: [python-win32] Releasing a Com object

2009-01-20 Thread bob gailer
Gary Scorby wrote: I’m having trouble releasing a com object.  In the past I’ve always set the instance to None and life is good, as in the example below.  I’m currently working with an object I can’t release with this method.  Anybody have a different/better way to handle this?

[python-win32] Releasing a Com object

2009-01-20 Thread Gary Scorby
I'm having trouble releasing a com object. In the past I've always set the instance to None and life is good, as in the example below. I'm currently working with an object I can't release with this method. Anybody have a different/better way to handle this? Thanks Gary # example xxx

Re: [python-win32] User transparent authentication with PDC

2009-01-20 Thread Tim Golden
le dahut wrote: Thank you, it looks like something good. But I was not precise enough in my first post, my PDC is a Linux/Samba system. The client/server app I've written uses twisted-perspective broker. I don't trust the client side, so it should send to the server some informations it can c

Re: [python-win32] User transparent authentication with PDC

2009-01-20 Thread le dahut
Thank you, it looks like something good. But I was not precise enough in my first post, my PDC is a Linux/Samba system. The client/server app I've written uses twisted-perspective broker. I don't trust the client side, so it should send to the server some informations it can check against the