diff options
author | Tim Potter <tpot@samba.org> | 2000-06-23 05:53:18 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-06-23 05:53:18 +0000 |
commit | 218653764f55b5fe16ffbda93d415a1495460956 (patch) | |
tree | 4d6ce4a1c02e160b817dbe2773726f29e5f83a5d /source3/rpc_server/srv_pipe_hnd.c | |
parent | 8005c837f5425397131b0a798d63521f61e25375 (diff) | |
download | samba-218653764f55b5fe16ffbda93d415a1495460956.tar.gz samba-218653764f55b5fe16ffbda93d415a1495460956.tar.bz2 samba-218653764f55b5fe16ffbda93d415a1495460956.zip |
Removed save directory argument to become_root() calls. Probably most of
this stuff doesn't need to be done as root anyway.
(This used to be commit c3cad0ff6482784f95fd54ba51ee5be2354bb95d)
Diffstat (limited to 'source3/rpc_server/srv_pipe_hnd.c')
-rw-r--r-- | source3/rpc_server/srv_pipe_hnd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index e01ecf82a2..b11c76b75d 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -144,9 +144,9 @@ static void attempt_remote_rpc_connect(pipes_struct *p) make_creds_nt_sec(&usr.nts); */ - become_root(False); /* to connect to pipe */ + become_root(); /* to connect to pipe */ p->m = msrpc_use_add(p->name, sys_getpid(), &usr, False); - unbecome_root(False); + unbecome_root(); if (p->m == NULL) DEBUG(10,("attempt_remote_rpc_connect: msrpc redirect failed - using local implementation.\n")); |