New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit of 1024 characters for nsMatchingRule #55
Comments
Comment from mreynolds (@mreynolds389) at 2012-01-21 00:49:45 The buffer can be increased, but not easily set to unlimited. Are you really using OIDs that are longer 1024 characters? Just curious, as I've never seen an OID even close to this length. Thanks, |
Comment from nhosoi (@nhosoi) at 2012-01-21 01:02:49 Replying to [comment:6 mreynolds389]:
You could dynamically allocate a necessary sized buffer tmpMatchingRulesStr instead of using an static array on the stack? (and free it when it's done?) |
Comment from rmeggins (@richm) at 2012-01-21 01:09:49 Replying to [comment:6 mreynolds389]:
It's not just a single OID - the nsMatchingRule attribute value can be used to specify multiple different indexes - I ran into this issue when doing matching rule index testing e.g. try to specify a matching rule index for every supported language * each type of index (eq, substring, etc.) |
Comment from rmeggins (@richm) at 2012-01-27 22:37:52 static int ldbm_index_parse_entry(ldbm_instance *inst, Slapi_Entry *e, ldbm_instance_index_config_modify_callback ldbm_instance_config_add_index_entry |
Comment from rmeggins (@richm) at 2012-02-02 01:04:15 one minor comment:
should use slapi_attr_get_numvalues() instead. Otherwise, looks good. |
Comment from mreynolds (@mreynolds389) at 2012-02-02 01:40:46 final final revision |
Comment from mreynolds (@mreynolds389) at 2012-02-02 01:43:16 Made the change, and pushed. Thanks for the review Rich! [mareynol@localhost slapd]$ git merge ticket55 |
Comment from rmeggins (@richm) at 2012-02-02 08:53:59 commit changeset:2a0b622d1cce006712b10b278f78e78a68044548/389-ds-base |
Comment from nkinder (@nkinder) at 2012-08-28 04:14:26 Added initial screened field value. |
Comment from rmeggins (@richm) at 2017-02-11 22:52:39 Metadata Update from @richm:
|
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/55
https://bugzilla.redhat.com/show_bug.cgi?id=697081
The text was updated successfully, but these errors were encountered: