summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-04-05 16:57:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:06 -0500
commita5dde6c5cc2fce655ed1dd7c701fdaf5ed96edfc (patch)
tree621b970d90d096e78b91c1dea1d2ff29763f1418 /source3/smbd
parenta15393a3d9cdefc776cd7adb42ff50f61b9eff69 (diff)
downloadsamba-a5dde6c5cc2fce655ed1dd7c701fdaf5ed96edfc.tar.gz
samba-a5dde6c5cc2fce655ed1dd7c701fdaf5ed96edfc.tar.bz2
samba-a5dde6c5cc2fce655ed1dd7c701fdaf5ed96edfc.zip
r59: revert session key problem
(This used to be commit 40b5794ae0919c6c6f1b8a451871dcc95bbab5cc)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sesssetup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 902db2d288..abb9c24d41 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -881,8 +881,8 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,
return ERROR_NT(nt_status_squash(nt_status));
}
- if (server_info->user_session_key.data) {
- session_key = data_blob(server_info->user_session_key.data, server_info->user_session_key.length);
+ if (server_info->nt_session_key.data) {
+ session_key = data_blob(server_info->nt_session_key.data, server_info->nt_session_key.length);
} else {
session_key = data_blob(NULL, 0);
}