Linux, Python 2.5.2, serverless binding LDAP?

Kevin Cole dc.loco at gmail.com
Thu Nov 12 20:39:55 EST 2009


On Nov 12, 8:01 pm, alex23 <wuwe... at gmail.com> wrote:
> On Nov 13, 10:47 am, Kevin Cole <dc.l... at gmail.com> wrote:
>
>
>
> > Hi,
>
> > I recently asked our IT department how to gain access to an
> > addressbook.  After carefully explaining that I was on a Linux system
> > using Python, I got the reply:
>
> > "You should use our LDAP. With LDAP you can pull any data you want
> > from Active Directory. On our network, the serverless binding address
> > for our LDAP is ldap://dc=...,dc=...,dc=...,dc=..."
>
> > with the actual "..." filled in.
>
> > I don't know squat about LDAP, but installed the python-ldap deb, and
> > started glancing at the documentation on-line. I didn't see anything
> > obvious for working with the URI above.  Can I work w/ it?  If so, a
> > short example, please?
>
> > Thanx.
>
> http://www.python-ldap.org/doc/html/ldapurl.html#example

On second thought... That didn't help at all.  The example just shows
how to parse a URI.  I'm trying to connect to a service (if I
understand correctly) that is NOT on my Linux box, but somewhere out
in our IT department's ether, and I do not have host/domain to work
with.  I interpreted "serverless binding" to mean that I was
connecting by some means other than host.domain:port.  Yes?



More information about the Python-list mailing list