[Freeipa-devel] [PATCH] Allow specifying search scope in {ldap, servercore}.search

Jakub Hrozek jhrozek at redhat.com
Fri Feb 6 17:03:18 UTC 2009


This patch allows specifying the search scope for
ipaserver.plugins.b_ldap.search(). The previously hardcoded
ldap.SCOPE_SUBTREE is still the default, so no existing code should
break.

My rationale for this was searching on application containers - where
the toplevel container and the application containers beneath them are
the same objectclass, so search with SCOPE_SUBTREE could hit the
toplevel container..but I guess that there can be more applications of
this.

Jakub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-specifying-search-scope-in-ldap-servercore-.s.patch
Type: text/x-patch
Size: 3457 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090206/813dbc3a/attachment.bin>


More information about the Freeipa-devel mailing list