summaryrefslogtreecommitdiff
path: root/source3/include/passdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/passdb.h')
-rw-r--r--source3/include/passdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index 89cb35bd14..302e69105f 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -49,6 +49,10 @@ struct passdb_ops {
BOOL (*update_sam_account) (SAM_ACCOUNT* sampass, BOOL override);
BOOL (*delete_sam_account) (char* username);
BOOL (*add_sam_account) (SAM_ACCOUNT* sampass);
+
+ /* authenticate a user */
+ SAM_ACCOUNT* (*logon_user) (char* username, char* domain, char* lm_pw,
+ int lm_pw_len, char* nt_pw, int nt_pw_len, char* clear_pass);
};