[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/servers/slapd backend.c controls.c

Kurt D. Zeilenga wrote:

The best way I can think of handling this is just to have
backend_check_controls, if the control is not serviced by the
backend (and/or overlay), to check to see if the control is
serviced by the frontend. This can be done by just checking
the list (bervals would be nice) or though use of some bit array.

Mmmmh, if a control is not listed there, we wouldn't even get to backend_check_controls() because likely there wouldn't be a parser for that control, so the check would always succeed. At least, by adding a supported control to all databases, a global overlay commits to serving it.


   SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497