reverted jeremy's c++-like security descriptor modifications as the
authorLuke Leighton <lkcl@samba.org>
Tue, 3 Aug 1999 20:30:25 +0000 (20:30 +0000)
committerLuke Leighton <lkcl@samba.org>
Tue, 3 Aug 1999 20:30:25 +0000 (20:30 +0000)
commit8598bf2a7f0f71ae7a023aac054c4df42b969ce6
tree53352e656e5d01de5a2711b62ac1239979f6d53f
parent9c593512155a4e1d9eb01ac63d4458df59b7357d
reverted jeremy's c++-like security descriptor modifications as the
simplest method to get rpcclient's reggetsec command working.  the
buffers passed as arguments in do_reg_get_key_sec() do need to be
locally allocated not dynamically allocated, as two calls to
reg_get_key_sec() are needed.  on the first, the server fills in the
size of the security descriptor buffer needed.  on the second, the
server fills in the security descriptor buffer.
(This used to be commit b2d9cbef6f65bb696df8d8f49aa0c240e0bb1f50)
source3/include/proto.h
source3/include/rpc_secdes.h
source3/lib/util_sid.c
source3/rpc_client/cli_reg.c
source3/rpc_parse/parse_misc.c
source3/rpc_parse/parse_reg.c
source3/rpc_parse/parse_sec.c
source3/rpcclient/cmd_reg.c
source3/rpcclient/display.c