Johan Jakus writes:
And, in the new version, I can no longer use : AttributeName* attName = op->oq_search.rs_attrs; int iAtt; for( iAtt=0; attName[iAtt].an_name.bv_val != NULL; iAtt++ ) { if ( attName[iAtt].an_name.bv_val[0] == dupPp->pp_symbol[0] ) ...
Because when there is a symbol ( _, §, £, ...) before the attribute,
I don't understand what you mean with "( _, §, £, ...)", but:
the 'attName[iAtt].an_name.bv_val' gives "1.1" instead of "_*attributename*"
Are you sure there is a problem? It's standard for clients to ask for attribute "1.1" when they want no attributes returned: Asking for any attribute suppresses the default behavior of returning all user attrs. And there should be no attribute with OID "1.1". So when slapd looks it up, that'll fail and be treated as any other unrecognized attribute.
And I need to recover at least the attribute name to make my overlay work. Any ideas? Thanks!