[Tutor] ldap access from Python Help

Baris Metin baris.metin@frontsite.com.tr
Tue Jul 15 12:10:17 2003


--PZYVFYZbFYjzBslI
Content-Type: text/plain; charset=iso-8859-9
Content-Disposition: inline

Tue, Jul 15, 2003 at 10:08:00AM -0400 , Lloyd Kvam :
> Just saw a link to this article:
> http://www.linuxjournal.com//article.php?sid=6988
> LDAP Programming in Python
>
> Should fit the bill.
> (I remembered you request because I may soon face a similar need.)
                                                                                                                                               
> >I would like to use Python to access LDAP server to get email address
> >and other info from our local ldap server. Can someone suggest what
> >all
> >the things I need to do to access. Do I need to install any modules
> >or
> >some other software.
> >
> >I am running Debian (testing) GNU/Linux and Python 2.2.3
                                                                                                                                               
Just install the python-ldap package. (apt-get install python-ldap).
                                                                                                                                               
For an example you can take a look at my test script:
ftp://ev.metin.org/ldapekle.py (be carefull with the bad code :).
                                                                                                                                               
regards,
--
 __________
|          |
|          |  Baris Metin
|          |  Software developer, IT consultant
|    FRONT |
|==========|  FrontSITE Bilgi Teknolojisi A.S.
|_____SITE_|  http://www.frontsite.com.tr

--PZYVFYZbFYjzBslI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: http://metin.org

iD8DBQE/FCccxyezEhU1oVARAmKUAJ94bEMgaE8JrzUAIArsKVCLdxHuAACcDRZ1
EqQ74y9o5wQvIoA5xfJEgsw=
=kDAK
-----END PGP SIGNATURE-----

--PZYVFYZbFYjzBslI--