samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r13594 - in branches/SAMBA_3_0/source/utils: .

Subject: svn commit: samba r13594 - in branches/SAMBA_3_0/source/utils: .
From:
Date: Tue, 21 Feb 2006 17:00:00 +0000 GMT
Author: jra
Date: 2006-02-21 17:00:00 +0000 (Tue, 21 Feb 2006)
New Revision: 13594

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13594

Log:
Got sense of NTSTATUS check reversed.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/utils/net_usershare.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_usershare.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_usershare.c     2006-02-21 16:46:21 UTC 
(rev 13593)
+++ branches/SAMBA_3_0/source/utils/net_usershare.c     2006-02-21 17:00:00 UTC 
(rev 13594)
@@ -368,8 +368,8 @@
 
                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);
                        }

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r13594 - in branches/SAMBA_3_0/source/utils: ., jra <=