]> git.sur5r.net Git - openldap/commit
all-operational overlay: allows to configure part of te DIT so that requests
authorPierangelo Masarati <ando@openldap.org>
Sat, 20 Aug 2005 11:48:13 +0000 (11:48 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 20 Aug 2005 11:48:13 +0000 (11:48 +0000)
commit95f65ff3521809de5b4a049afcb491f6a18b98e7
tree808f4839ab3c7592e593825c976fb6e1e95bbfc2
parent9205f4fdb282bdec3aa752bf836d97b52541fa44
all-operational overlay: allows to configure part of te DIT so that requests
with requested attribute lists empty or containing "*" are expanded
to contain "+" as well, so that all operational attributes are returned.
This may be required to work around dumb clients that interrogate
the rootDSE requesting "*" and expecting operational attributes to be
returned as well.  To make it a bit more generic, it can be configured
to do the same for an arbitrary search described by an URI.  For example,

overlay allop
allop-URI ldap:///??sub

before any database instantiation causes all searches to return "*","+"
when ors_attrs is NULL or countains "*".
servers/slapd/overlays/allop.c [new file with mode: 0644]