Re: authentication with python-ldap

2013-05-25 Thread Jorge Alberto Diaz Orozco
I have been doing the same thing and I tried to use java for testing the credentials and they are correct. It works perfectly with java. I really don´t know what we´re doing wrong. You are accessing a protected operation of the LDAP server and it (the server) rejects it due to invalid

examples of pyraknet

2013-04-24 Thread Jorge Alberto Diaz Orozco
do anyone has examples of pyraknet??? I've being seen these ones (http://nullege.com/codes/search/pyraknet) but I still don't understand lot of things about it and I can't find anything else. http://www.uci.cu -- http://mail.python.org/mailman/listinfo/python-list

pyrudp

2013-01-30 Thread Jorge Alberto Diaz Orozco
can someone give me a link to download pyrudp. I tried here http://code.google.com/p/pyrudp/ but didn´t worked. if someone can give me another idea it will be great to. I´m traying to make a reliable udp connection help will be really appreciated --

Re: pyrudp

2013-01-30 Thread Jorge Alberto Diaz Orozco
I´ve tried it but it´s not reliable. Datagrams can arive disorganised or just not arive. Some programmers said I most use TCP, but I need to use UDP. that´s why I need pyrudp, but I can not find it. On Jan 30, 2013, at 8:12 AM, Jorge Alberto Diaz Orozco What about the native socket call

Re: pyrudp

2013-01-30 Thread Jorge Alberto Diaz Orozco
I want to use a reliable UDP connection like you say, a TCP like connection but over UDP. thaks for your recomendation, if I get good results I promise to share them. - Original Message - From: Michael Torrie torr...@gmail.com To: python-list@python.org Sent: Wednesday, January 30, 2013

Re: pyrudp

2013-01-30 Thread Jorge Alberto Diaz Orozco
I have restrictions in my system that does not allow me to use TCP, so I want to make a pipe over UDP imitating TCP behavior. I have control over both endpoints, and I´m writing both of them. I just don´t want to re-invent the wheel and I´m looking for a reliable UDP sockets implementation for

python ldap bind error

2012-12-17 Thread Jorge Alberto Diaz Orozco
hi there. I'm working with python ldap and I need to authenticate my user. this is the code I'm using. import ldap ldap.set_option(ldap.OPT_REFERRALS,0) ldap.protocol_version = 3 conn = ldap.initialize(ldap://ldap.domain.cu;) conn.simple_bind_s(u...@domain.cu,password) every time I do this it

ntlm authentication for urllib2

2012-11-29 Thread Jorge Alberto Diaz Orozco
Hi there: I'm working with urllib2 to open some urls and grab some data. The url will be inserted by the user and my script will open it and parse the page for results. the thing is I'm behind a ntlm proxy, and I've tried with a lot of things to authenticate but it still doesn't work at all.

proxy??

2012-11-20 Thread Jorge Alberto Diaz Orozco
Hi there. Does anyone knows how to manage headers using a simple proxy??? I'm doing this but It gives me problems In some pages. import SocketServer import SimpleHTTPServer import urllib2 PORT = class Proxy(SimpleHTTPServer.SimpleHTTPRequestHandler): def do_GET(self): try:

Re: proxy??

2012-11-20 Thread Jorge Alberto Diaz Orozco
When I try to open facebook or search something using google it is just not working. gives me forbidden or not found errors. that's why I think the problem is about the headers of the request. On 20/11/12 15:29, Joshua Landau wrote: On 20 November 2012 14:48, Jorge Alberto Diaz Orozco jaoro