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

2009-03-11 Thread le dahut
I come back with this subject because I still experience some difficulties. I understand well now the principle of "sspi.py". The problem is that the server is a Linux box, I can obviously not use pywin32 on it so how can I manage to do the same thing ? I'm thinking about a ntlm compatible pro

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] 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

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

2009-01-19 Thread Mark Hammond
On 20/01/2009 1:35 AM, le dahut wrote: Hello, I've written a python network app in which the server runs on a Samba-PDC (NT Domain controler) and the client on the windows NTdomain clients. I want to authenticate the connexions to the python server using a transparent method. Is there a way to

[python-win32] User transparent authentication with PDC

2009-01-19 Thread le dahut
Hello, I've written a python network app in which the server runs on a Samba-PDC (NT Domain controler) and the client on the windows NTdomain clients. I want to authenticate the connexions to the python server using a transparent method. Is there a way to get a user NTdomain authentication