summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-07-24 23:57:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:15 -0500
commit2a6ab279559da7e79229461c39c2c2bf09bb5ca8 (patch)
tree9ac8a3d36ecbbb3ddd4957d1e151b80bccd75c80
parentdeb6d8990750a7c176c2a070966a4e54cf893e5a (diff)
downloadsamba-2a6ab279559da7e79229461c39c2c2bf09bb5ca8.tar.gz
samba-2a6ab279559da7e79229461c39c2c2bf09bb5ca8.tar.bz2
samba-2a6ab279559da7e79229461c39c2c2bf09bb5ca8.zip
r1581: 'NULL' NTLMSSP is both a pain to get right, and compleatly and utterly
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 (This used to be commit 554a9132872187077a9c00abb18b9d809c59b7f1)
-rw-r--r--source3/libsmb/passchange.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/passchange.c b/source3/libsmb/passchange.c
index 9f46c131fe..8bce9c86a1 100644
--- a/source3/libsmb/passchange.c
+++ b/source3/libsmb/passchange.c
@@ -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... */