
LDAP module for Python
======================

This module provides access to the UM LDAP library, available from
ftp://terminator.rs.itd.umich.edu/ldap/ldap.tar.Z (I used version 3.3)

See the module's documentation in the Doc directory.

Quick build instructions:
    sh configure
    make
    make install  (possibly)

Quick usage example:
    import ldap
    l = ldap.open("my_ldap_server.my_domain")
    l.simple_bind_s("","")
    l.search_s("o=My Organisation, c=AU", ldap.SCOPE_SUBTREE, "objectclass=*")

Not included:
   Direct BER support
   CLDAP 

Author contact:
   David Leonard
   David.Leonard@csee.uq.edu.au
   http://www.csee.uq.edu.au/~leonard/dc-prj/ldapmodule/


NOTES ON BUILDING UM LDAP (ldap-3.3)
   Here are some quick notes on building UM's LDAP library for sole use
   with this Python module.

   1. Download and extract ftp://terminator.rs.itd.umich.edu/ldap/ldap.tar.Z
      It unpacked into a directory called ldap-3.3 for me.
   2. Create a directory such as /tmp/ldap that will be used to hold the 
      built libraries.
   3. edit Make-common in ldap-3.3, changing INSTROOT to /tmp/ldap
   4. make makeconfig			     # bootstrap future makes
   5. cd libraries/liblber; make install     # build the BER library
   6. cd ../libldap; make install  	     # build the LDAP library
   7. cd ../../include; make install

   You now have the basic LDAP library and its header files in /tmp/ldap.
   At this point you should go back into the ldapmodule directory and
   tell configure where it is with:

   	sh configure --with-ldap=/tmp/ldap

   If you have problems building shared libraries, remove the '*shared*'
   from the Setup file.

Standard disclaimer:
   This software is made available by the author to the public for free
   and "as is".  All users of this free software are solely and entirely
   responsible for their own choice and use of this software for their
   own purposes.  By using this software, each user agrees that the
   author shall not be liable for damages of any kind in relation to
   its use or performance.

$Id: README,v 1.6 1998/07/13 02:16:58 leonard Exp $
