Refactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_client
[mat/samba.git] / source3 / libsmb / trusts_util.c
index 20ac0143fd74bbebf794890cbc85e287a0224aa2..6b3bbaf1d82991543a78ced654f0c581bdd0e937 100644 (file)
@@ -39,7 +39,7 @@ static NTSTATUS just_change_the_password(struct rpc_pipe_client *cli, TALLOC_CTX
        /* Check if the netlogon pipe is open using schannel. If so we
           already have valid creds. If not we must set them up. */
 
-       if (cli->auth.auth_type != PIPE_AUTH_TYPE_SCHANNEL) {
+       if (cli->auth->auth_type != PIPE_AUTH_TYPE_SCHANNEL) {
                uint32_t neg_flags = NETLOGON_NEG_AUTH2_ADS_FLAGS;
 
                result = rpccli_netlogon_setup_creds(cli,