[PATCH] default values
Geert Jansen
geert at boskant.nl
Tue Aug 21 22:55:44 CEST 2007
Hi,
the attached patch allows you to use default values for the
functions/arguments below. This is helpful in an environment where
/etc/openldap/ldap.conf is kept up to date with correct information.
ldap.initialize(uri)
LDAPObject.search_*(base, scope)
The semantics are identical to the command-line "ldapsearch" tool. This
means:
- uri <- "HOST" from /etc/openldap.conf
- base <- "BASE" from /etc/openldap.conf
- scope <- SCOPE_SUBTREE
The patch is against the latest CVS and has been tested.
Regards, Geert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-ldap-CVS-defaults.patch
Type: text/x-patch
Size: 7267 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20070821/19ea7560/attachment.bin>
More information about the python-ldap
mailing list