summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-19 10:50:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:55 -0500
commite82cd437cc3c93e25f56d3326d6ba527a33ebfbf (patch)
treeaff6b968a38ccb4ef86c22a1676659bcf08d0f6b /source3/rpc_server
parentcbc03ec6df1865fa980d1bc64769f8920cbd1d82 (diff)
downloadsamba-e82cd437cc3c93e25f56d3326d6ba527a33ebfbf.tar.gz
samba-e82cd437cc3c93e25f56d3326d6ba527a33ebfbf.tar.bz2
samba-e82cd437cc3c93e25f56d3326d6ba527a33ebfbf.zip
r19778: Make regkey_open_internal take a talloc ctx
(This used to be commit cb7f4211b8441642dce9594522dc9588475a7719)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_eventlog_nt.c5
-rw-r--r--source3/rpc_server/srv_winreg_nt.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_eventlog_nt.c b/source3/rpc_server/srv_eventlog_nt.c
index ec07981de9..ba366ed983 100644
--- a/source3/rpc_server/srv_eventlog_nt.c
+++ b/source3/rpc_server/srv_eventlog_nt.c
@@ -411,9 +411,8 @@ static BOOL sync_eventlog_params( EVENTLOG_INFO *info )
pstr_sprintf( path, "%s/%s", KEY_EVENTLOG, elogname );
- wresult =
- regkey_open_internal( &keyinfo, path, get_root_nt_token( ),
- REG_KEY_READ );
+ wresult = regkey_open_internal(
+ NULL, &keyinfo, path, get_root_nt_token(), REG_KEY_READ );
if ( !W_ERROR_IS_OK( wresult ) ) {
DEBUG( 4,
diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c
index 1a130f19b6..ebf825b684 100644
--- a/source3/rpc_server/srv_winreg_nt.c
+++ b/source3/rpc_server/srv_winreg_nt.c
@@ -86,7 +86,9 @@ static WERROR open_registry_key( pipes_struct *p, POLICY_HND *hnd,
/* now do the internal open */
- result = regkey_open_internal( keyinfo, keypath, p->pipe_user.nt_user_token, access_desired );
+ result = regkey_open_internal( NULL, keyinfo, keypath,
+ p->pipe_user.nt_user_token,
+ access_desired );
if ( !W_ERROR_IS_OK(result) )
return result;