1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-24 15:33:20 +03:00

r21894: Some refactoring of server side encryption context. Support

"raw" NTLM auth (no spnego).
Jeremy.
(This used to be commit 6b5ff7bd59)
This commit is contained in:
Jeremy Allison
2007-03-20 22:01:02 +00:00
committed by Gerald (Jerry) Carter
parent f1ffc96a24
commit 6b0dcfa62d
3 changed files with 149 additions and 29 deletions

View File

@@ -282,3 +282,15 @@ NTSTATUS cli_encrypt_message(struct cli_state *cli, char **buf_out)
{
return common_encrypt_buffer(cli->trans_enc_state, cli->outbuf, buf_out);
}
/******************************************************************************
Start a raw ntlmssp encryption.
******************************************************************************/
NTSTATUS cli_ntlm_smb_encryption_on(struct cli_state *cli,
const char *user,
const char *pass,
const char *workgroup)
{
}