git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6568c9c
)
r13594: Got sense of NTSTATUS check reversed.
author
Jeremy Allison
<jra@samba.org>
Tue, 21 Feb 2006 17:00:00 +0000
(17:00 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:10:18 +0000
(11:10 -0500)
Jeremy.
source/utils/net_usershare.c
patch
|
blob
|
history
diff --git
a/source/utils/net_usershare.c
b/source/utils/net_usershare.c
index 586d1646a982c5e2d3fa895cbd3971c46cacf070..b4d04bf33883d1cf6fcbb0f6640c3d3bd5e454d0 100644
(file)
--- a/
source/utils/net_usershare.c
+++ b/
source/utils/net_usershare.c
@@
-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);
}