summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-21 10:39:37 +0200
committerVolker Lendecke <vl@samba.org>2008-04-25 11:12:50 +0200
commit9e9d40d0977add05ac65d35251c1a5986c721e48 (patch)
tree59ccf2c1c948d54ed8d062223a97b744473675ed /source3/rpcclient
parent501562f15cf1aa7798b0acefc7fb283cfb8c2b62 (diff)
downloadsamba-9e9d40d0977add05ac65d35251c1a5986c721e48.tar.gz
samba-9e9d40d0977add05ac65d35251c1a5986c721e48.tar.bz2
samba-9e9d40d0977add05ac65d35251c1a5986c721e48.zip
Refactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_client
(This used to be commit f665afaaa3eff9ef54112e08ed034a6e1bb30edc)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index ebd38044b8..10a1741207 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -334,8 +334,10 @@ static NTSTATUS cmd_set_ss_level(void)
continue;
}
- if (tmp_set->rpc_pipe->auth.auth_type != pipe_default_auth_type ||
- tmp_set->rpc_pipe->auth.auth_level != pipe_default_auth_level) {
+ if ((tmp_set->rpc_pipe->auth->auth_type
+ != pipe_default_auth_type)
+ || (tmp_set->rpc_pipe->auth->auth_level
+ != pipe_default_auth_level)) {
TALLOC_FREE(tmp_set->rpc_pipe);
tmp_set->rpc_pipe = NULL;
}