Signed-off-by: Simo Sorce <idra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
enum lsa_SidType type;
uint32_t num_sids = 0;
struct dom_sid *user_sids = NULL;
+ bool is_null;
bool ok;
tmp_ctx = talloc_stackframe();
}
/* Make sure we have a valid group sid */
- ok = !is_null_sid(&group_sid);
- if (!ok) {
+ is_null = is_null_sid(&group_sid);
+ if (is_null) {
status = NT_STATUS_NO_SUCH_USER;
goto done;
}