summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-01 00:11:55 +0200
committerGünther Deschner <gd@samba.org>2008-04-01 00:26:32 +0200
commit003472ae23d921d26b126afb32d8b2abb72e0659 (patch)
treee35dd17747fafa9e88c9802c3642e6362142a6fa
parenta3991c9ef40b221ecd36344d65e723e357d8b3c7 (diff)
downloadsamba-003472ae23d921d26b126afb32d8b2abb72e0659.tar.gz
samba-003472ae23d921d26b126afb32d8b2abb72e0659.tar.bz2
samba-003472ae23d921d26b126afb32d8b2abb72e0659.zip
Fix SRVSVC NetShareInfo level 502 client-side.
Guenther (This used to be commit 8b4eac0ab186c02666693d3f007f0c98d60e0eda)
-rw-r--r--source3/utils/net_rpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 85a3f87b35..25c1f4261e 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -4044,7 +4044,7 @@ static NTSTATUS rpc_share_migrate_security_internals(const DOM_SID *domain_sid,
info502.name, info502.path, info502.comment);
if (opt_verbose)
- display_sec_desc(info502.sd);
+ display_sec_desc(info502.sd_buf.sd);
/* FIXME: shouldn't we be able to just set the security descriptor ? */
info.info502 = &info502;
@@ -4723,7 +4723,7 @@ static void show_userlist(struct rpc_pipe_client *pipe_hnd,
return;
}
- share_sd = info.info502->sd;
+ share_sd = info.info502->sd_buf.sd;
if (share_sd == NULL) {
DEBUG(1, ("Got no secdesc for share %s\n",
netname));