summaryrefslogtreecommitdiffstats
path: root/source4/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-17 13:12:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:23 -0500
commit5b19286df08d6cf10654d6e20c323ba44f7d2054 (patch)
tree922bdf3301089611449f501e83e3489881427021 /source4/include
parenta4bb5ae30c1abcf385f02493e778755b09710d95 (diff)
downloadsamba-5b19286df08d6cf10654d6e20c323ba44f7d2054.tar.gz
samba-5b19286df08d6cf10654d6e20c323ba44f7d2054.tar.xz
samba-5b19286df08d6cf10654d6e20c323ba44f7d2054.zip
r7690: Move the NT hash generation into the credentials system, rather than
in all the callers. This also allows us to be more flexible in the type of password we store. Andrew Bartlett (This used to be commit 00b8588c68526e1d86fda0bd81c0b86f690b62c3)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/credentials.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/include/credentials.h b/source4/include/credentials.h
index 309fff056e0..511b775795a 100644
--- a/source4/include/credentials.h
+++ b/source4/include/credentials.h
@@ -45,6 +45,8 @@ struct cli_credentials {
const char *domain;
const char *realm;
+ struct samr_Password *nt_hash;
+
const char *(*workstation_cb) (struct cli_credentials *);
const char *(*password_cb) (struct cli_credentials *);
const char *(*username_cb) (struct cli_credentials *);