svn commit: samba r1883 - branches/SAMBA_4_0/source/libcli/raw

metze at samba.org metze at samba.org
Wed Aug 18 13:43:53 GMT 2004


Author: metze
Date: 2004-08-18 13:43:53 +0000 (Wed, 18 Aug 2004)
New Revision: 1883

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1883&nolog=1

Log:
I don't know why this was broken...

tridge: can you please check if this is correct,
        I have only compiled it, but haven'T run it.

metze

Modified:
   branches/SAMBA_4_0/source/libcli/raw/rawacl.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/raw/rawacl.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/raw/rawacl.c	2004-08-18 13:04:04 UTC (rev 1882)
+++ branches/SAMBA_4_0/source/libcli/raw/rawacl.c	2004-08-18 13:43:53 UTC (rev 1883)
@@ -84,7 +84,7 @@
 	}
 	status = ndr_pull_security_descriptor(ndr, NDR_SCALARS|NDR_BUFFERS, query->out.sd);
 
-	return NT_STATUS_OK;
+	return status;
 }
 
 
@@ -130,12 +130,12 @@
 	ndr = ndr_push_init();
 	if (!ndr) return NULL;
 
-//	status = ndr_push_security_descriptor(ndr, set->in.sd);
+	status = ndr_push_security_descriptor(ndr, NDR_SCALARS|NDR_BUFFERS, set->in.sd);
 	if (!NT_STATUS_IS_OK(status)) {
 		ndr_push_free(ndr);
 		return NULL;
 	}
-	
+
 	nt.in.data = ndr_push_blob(ndr);
 
 	req = smb_raw_nttrans_send(tree, &nt);



More information about the samba-cvs mailing list