]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r1581: 'NULL' NTLMSSP is both a pain to get right, and compleatly and utterly
authorAndrew Bartlett <abartlet@samba.org>
Sat, 24 Jul 2004 23:57:07 +0000 (23:57 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:15 +0000 (10:52 -0500)
pointless.  With a well-known session key, we may as well put the
password change directly on the wire, with it's own 'crypted with old
password' as the protection.

This should fix some 'long password change' issues, against Samba in
particular.

Andrew Bartlett

source/libsmb/passchange.c

index 9f46c131fee54b423f8a4a7e13d9e640593c9cc6..8bce9c86a1e336460e62b414d6d9876e10f834b6 100644 (file)
@@ -144,6 +144,8 @@ BOOL remote_password_change(const char *remote_machine, const char *user_name,
        init_creds(&creds, "", "", NULL);
        cli_init_creds(&cli, &creds);
        
+       cli.pipe_auth_flags = 0;
+
        result = NT_STATUS_UNSUCCESSFUL;
        
        /* OK, this is ugly, but... */