blob_string_sid_to_sid() immediately checks the size is within 5-191, so the 1-10000
just gives you a different message in chircumstances you'll never see.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
v = claim->values[offset].sid_value;
- if (v->length == 0 || v->length > CONDITIONAL_ACE_MAX_LENGTH) {
- DBG_WARNING("claim has SID string of unexpected length %zu, "
- "(expected range 1 - %u)\n",
- v->length, CONDITIONAL_ACE_MAX_LENGTH);
- return false;
- }
-
ok = blob_string_sid_to_sid(v, &result->data.sid.sid);
if (! ok) {
DBG_WARNING("claim has invalid SID string of length %zu.\n",