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

Re: commit: ldap/servers/slapd/back-sock config.c



> hyc@OpenLDAP.org wrote:
>> Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-sock
>>
>> Modified Files:
>> 	config.c  1.11 ->  1.12
>>
>> Log Message:
>> As an overlay, always return SLAP_CB_CONTINUE
>
> Alternatively, we can use the actual return code from the external
> program,
> and document that those programs should return SLAP_CB_CONTINUE if they
> don't
> want to override the normal flow of processing. Thoughts?

I favor this second option: if one uses back-sock (back-perl) he needs to
know what he's doing, so carefully reading the documentation is mandatory.

p.

> We could write a similar wrapper for back-perl, but a few other loose ends
> need to be addressed there still. First, this business of arbitrary junk
> in
> slapd.conf being fed into the perl module - I suggest this be replaced by
> an
> actual "perlconfig" directive whose arguments are passed on. Then we can
> convert all of that to cn=config without any further mess.
>
> --
>    -- Howard Chu
>    CTO, Symas Corp.           http://www.symas.com
>    Director, Highland Sun     http://highlandsun.com/hyc/
>    Chief Architect, OpenLDAP  http://www.openldap.org/project/
>
>