mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
r13594: Got sense of NTSTATUS check reversed.
Jeremy.
(This used to be commit cd82107989
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
6a09da5d9e
commit
b9c73cb520
@ -368,8 +368,8 @@ static int info_fn(struct file_list *fl, void *priv)
|
||||
|
||||
ntstatus = net_lookup_name_from_sid(ctx, &psd->dacl->ace[num_aces].trustee, &domain, &name);
|
||||
|
||||
if (!NT_STATUS_IS_OK(ntstatus)) {
|
||||
if (*domain) {
|
||||
if (NT_STATUS_IS_OK(ntstatus)) {
|
||||
if (domain && *domain) {
|
||||
pstrcat(acl_str, domain);
|
||||
pstrcat(acl_str, sep_str);
|
||||
}
|
||||
|
Reference in New Issue
Block a user