mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
idmap_autorid: Slightly simplify idmap_autorid_unixids_to_sids
Avoid an else branch where it's not necessary Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
321dca7820
commit
5ee846fabf
@ -340,7 +340,8 @@ static NTSTATUS idmap_autorid_unixids_to_sids(struct idmap_domain *dom,
|
||||
|
||||
if (num_tomap == num_mapped) {
|
||||
return NT_STATUS_OK;
|
||||
} else if (num_mapped == 0) {
|
||||
}
|
||||
if (num_mapped == 0) {
|
||||
return NT_STATUS_NONE_MAPPED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user