summaryrefslogtreecommitdiff
path: root/source4/include/credentials.h
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/credentials.h
parenta4bb5ae30c1abcf385f02493e778755b09710d95 (diff)
downloadsamba-5b19286df08d6cf10654d6e20c323ba44f7d2054.tar.gz
samba-5b19286df08d6cf10654d6e20c323ba44f7d2054.tar.bz2
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/credentials.h')
-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 309fff056e..511b775795 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 *);