STEP03c: HACK s3 client use dcerpc_security_get_auth_info
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Jan 2014 10:51:10 +0000 (11:51 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 10:45:39 +0000 (12:45 +0200)
source3/rpc_client/cli_pipe.c

index 1e66ba3cc8a7cb7a3a9d60ddee8933f05d35613f..7abcd516744ee9be4674db902afc5efa1cb92b4f 100644 (file)
@@ -243,8 +243,8 @@ static void rpccli_bh_auth_info(struct dcerpc_binding_handle *h,
                return;
        }
 
-       *auth_type = hs->rpc_cli->auth->auth_type;
-       *auth_level = hs->rpc_cli->auth->auth_level;
+       dcerpc_security_get_auth_info(hs->rpc_cli->auth->sec,
+                                     auth_type, auth_level);
 }
 
 struct rpccli_bh_raw_call_state {