I am attempting to use python-ldap to connect to our company ldap server.  I
have downloaded and installed python-ldap 2.3.2 on my Ubuntu system and have
been working through the "LDAP Programming with Python" documentation.  I am
confused because the documentation states that "After an LDAP object is
created and before any other operations can be attempted over the
connection, a bind operation must be performed" (p7), but in the example in
section 1.1.5, it shows using the ldap.initialize() statement then a
search_s() statement; with no bind().  I've keep getting a "Can't contact
LDAP server" error when running in iPython, but I can hit the LDAP server
using PHP.

Do I need to run a bind statement of some sort after initialize()?

Thanks,
--greg
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to