summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-12-04 01:58:22 +0000
committerAndrew Tridgell <tridge@samba.org>2000-12-04 01:58:22 +0000
commit0e494d7ec6793968337c753fc312b6e56efa2114 (patch)
tree58aee9947e5d4f56a6ac3bfc02897b6ff8a36575 /source3/rpc_client
parentd93d218c6d4e3b98a38125a80f7fa9ccab6465d7 (diff)
downloadsamba-0e494d7ec6793968337c753fc312b6e56efa2114.tar.gz
samba-0e494d7ec6793968337c753fc312b6e56efa2114.tar.bz2
samba-0e494d7ec6793968337c753fc312b6e56efa2114.zip
no longer pass the type to make_sec_desc(), instead the type is
derived from the other arguments (This used to be commit 9ec4b1fa48fbae937fdf78db06005a7b0cd52d89)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_reg.c b/source3/rpc_client/cli_reg.c
index 13a9b26515..b45ac0d033 100644
--- a/source3/rpc_client/cli_reg.c
+++ b/source3/rpc_client/cli_reg.c
@@ -708,7 +708,7 @@ BOOL do_reg_create_key(struct cli_state *cli, POLICY_HND *hnd,
DEBUG(4,("REG Create Key: %s %s 0x%08x\n", key_name, key_class,
sam_access != NULL ? sam_access->mask : 0));
- if((sec = make_sec_desc( 1, SEC_DESC_SELF_RELATIVE, NULL, NULL, NULL, NULL, &sec_len)) == NULL) {
+ if((sec = make_sec_desc( 1, NULL, NULL, NULL, NULL, &sec_len)) == NULL) {
DEBUG(0,("make_sec_desc : malloc fail.\n"));
return False;
}