summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samba3rpc.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-29 21:04:31 +0100
committerGünther Deschner <gd@samba.org>2008-10-31 02:44:29 +0100
commit0b95cb251ce0043e393139a22a0f3ac6121406c5 (patch)
tree8bc527f53d2abf8c8768ac7d581c3cf9ba0a5280 /source4/torture/rpc/samba3rpc.c
parent4b8606f616cdd2fe885729a044d6139fc0001780 (diff)
downloadsamba-0b95cb251ce0043e393139a22a0f3ac6121406c5.tar.gz
s4-srvsvc: merge srvsvc_NetShareInfo502 from s3.
Apparently both s3 and s4 are not entirely correct one this. metze is looking into hand-marshalling security descriptors so this will fix this finally. For now, just keep the two in sync. Guenther
Diffstat (limited to 'source4/torture/rpc/samba3rpc.c')
-rw-r--r--source4/torture/rpc/samba3rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c
index c53c4b72c7c..5aff213533b 100644
--- a/source4/torture/rpc/samba3rpc.c
+++ b/source4/torture/rpc/samba3rpc.c
@@ -2153,7 +2153,7 @@ static struct security_descriptor *get_sharesec(TALLOC_CTX *mem_ctx,
return NULL;
}
- result = talloc_steal(mem_ctx, r.out.info.info502->sd);
+ result = talloc_steal(mem_ctx, r.out.info.info502->sd_buf.sd);
talloc_free(tmp_ctx);
return result;
}