diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/idmap/sss_idmap_conv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/idmap/sss_idmap_conv.c b/src/lib/idmap/sss_idmap_conv.c index a33604226..ef93f2a9f 100644 --- a/src/lib/idmap/sss_idmap_conv.c +++ b/src/lib/idmap/sss_idmap_conv.c @@ -289,7 +289,7 @@ enum idmap_error_code sss_idmap_sid_to_dom_sid(struct sss_idmap_ctx *ctx, } do { - if (dom_sid->num_auths > SID_SUB_AUTHS) { + if (dom_sid->num_auths >= SID_SUB_AUTHS) { err = IDMAP_SID_INVALID; goto done; } |