]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb: Remove a pointless variable assignment
authorVolker Lendecke <vl@samba.org>
Mon, 5 Aug 2024 15:31:15 +0000 (17:31 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 20 Aug 2024 09:34:39 +0000 (09:34 +0000)
We right away overwrite this

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/passchange.c

index 998b7cfd9a5d73ab11a90b073173f0e0100c95a1..145c51f53732fd750f364ebb393b17fbff43a5a7 100644 (file)
@@ -269,9 +269,6 @@ NTSTATUS remote_password_change(const char *remote_machine,
        /* OK, that failed, so try again... */
        TALLOC_FREE(pipe_hnd);
 
-       /* Try anonymous NTLMSSP... */
-       result = NT_STATUS_UNSUCCESSFUL;
-
        /* OK, this is ugly, but... try an anonymous pipe. */
        result = cli_rpc_pipe_open_noauth(cli, &ndr_table_samr,
                                          &pipe_hnd);