summaryrefslogtreecommitdiff
path: root/source3/include/auth.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-12-14 19:43:59 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-05-13 10:12:26 +1000
commit468fb4fee49aa0cd1919fcd3803d2490e2ac568d (patch)
tree06393dc661170c07be8d583b5a7a31d5e3c66b06 /source3/include/auth.h
parent1101c6214415675fbd32377d539276ca19c4407f (diff)
downloadsamba-468fb4fee49aa0cd1919fcd3803d2490e2ac568d.tar.gz
samba-468fb4fee49aa0cd1919fcd3803d2490e2ac568d.tar.bz2
samba-468fb4fee49aa0cd1919fcd3803d2490e2ac568d.zip
s3:auth Make get_ntlm_challenge more like Samba4
This helps with the upcoming NTLMSSP merge, and allows errors to be returned. Andrew Bartlett
Diffstat (limited to 'source3/include/auth.h')
-rw-r--r--source3/include/auth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/auth.h b/source3/include/auth.h
index efae56ae52..09ad631936 100644
--- a/source3/include/auth.h
+++ b/source3/include/auth.h
@@ -91,8 +91,8 @@ struct auth_context {
/* What order are the various methods in? Try to stop it changing under us */
struct auth_methods *auth_method_list;
- void (*get_ntlm_challenge)(struct auth_context *auth_context,
- uint8_t chal[8]);
+ NTSTATUS (*get_ntlm_challenge)(struct auth_context *auth_context,
+ uint8_t chal[8]);
NTSTATUS (*check_ntlm_password)(const struct auth_context *auth_context,
const struct auth_usersupplied_info *user_info,
struct auth_serversupplied_info **server_info);