On Fri, Feb 05, 2021 at 02:37:18PM -0500, Wietse Venema wrote: > > The feature to conditionally suppress case folding for some LDAP maps > > has not been implemented. Care to contribute a patch? > > > > src/global/dict_ldap.c > > Should not this be controlled one level up, in the maps_finmd() layer?
I've not looked to closely at the layering lately, but I do think that the control to enable/disable lookup key folding for LDAP should be per-map. Whether that's at the LDAP driver layer (via the LDAP map properties) or some higher layer syntax is not completely clear. For example, with pipemap:{...} is case folding a feature of the pipeline as a whole, or each stage? What configuration syntax is available to tweak such properties outside the table driver? My naive thought was "dict_ldap_open" could participate in setting the appropriate external flags as part of constructing the table. But perhaps this could be done entirely outside the table driver in the middle layers. That would be more general, if there's some reasonable way to do that. -- Viktor.