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

Add: ora_e in frontend->database flow (Was: commit: ldap/servers/slapd/slapi slapi_ops.c)



lukeh@OpenLDAP.org wrote:

Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/slapi

Modified Files:
	slapi_ops.c  1.103 -> 1.104

Log Message:
Back out previous commit, appears not to match frontend - still
investigating




Luke,

not sure if this is the case, but regarding ora_e overlays need to have a slightly different behavior if they're global instead of per-database, because at present the filed ora_e is set by fe_op_add(), that is __after__ the global overlays are invoked. I didn't anticipate it to do_add() because its generation in the original code occurred __after__ the database was selected; I the reason was the need to exploit some per-database restrictions or consistency checks. As a consequence, global overlays need to prepare ora_e themselves if they need it. The only example you can find right now is in back-ldap/chain.c; hope this clarifies the issue.

Ciao, p.


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