1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Fix SRVSVC NetShareInfo level 502 client-side.

Guenther
(This used to be commit 8b4eac0ab1)
This commit is contained in:
Günther Deschner 2008-04-01 00:11:55 +02:00
parent a3991c9ef4
commit 003472ae23

View File

@ -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));