diff options
author | Volker Lendecke <vl@samba.org> | 2008-04-21 10:39:37 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-04-25 11:12:50 +0200 |
commit | 9e9d40d0977add05ac65d35251c1a5986c721e48 (patch) | |
tree | 59ccf2c1c948d54ed8d062223a97b744473675ed /source3/rpcclient | |
parent | 501562f15cf1aa7798b0acefc7fb283cfb8c2b62 (diff) | |
download | samba-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.c | 6 |
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; } |