From 81f56139b6964ddbe2c03232475f87f474136490 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 11 Oct 2001 07:42:52 +0000 Subject: initial kerberos/ADS/SPNEGO support in libsmb and smbclient. To activate you need to: - install krb5 libraries - run configure - build smbclient - run kinit to get a TGT - run smbclient with the -k option to choose kerberos auth (This used to be commit d33057585644e1337bac743e25ed7653bfb39eef) --- source3/smbd/negprot.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index e3a6701dce..d20f713113 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -128,8 +128,8 @@ static int reply_lanman2(char *outbuf) if (!cli) { generate_next_challenge(cryptkey); } else { - memcpy(cryptkey, cli->cryptkey, 8); - set_challenge(cli->cryptkey); + memcpy(cryptkey, cli->secblob.data, 8); + set_challenge(cryptkey); } } @@ -191,8 +191,8 @@ static int reply_nt1(char *outbuf) if (!cli) { generate_next_challenge(cryptkey); } else { - memcpy(cryptkey, cli->cryptkey, 8); - set_challenge(cli->cryptkey); + memcpy(cryptkey, cli->secblob.data, 8); + set_challenge(cryptkey); } } -- cgit