summaryrefslogtreecommitdiffstats
path: root/source/include/auth.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-01-25 02:58:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:10 -0500
commitfb694f2b1a809d221f48f9b9b0e54e9512325bae (patch)
tree933f18a1a356c93b0b03e7523301b5fbaf03179f /source/include/auth.h
parent1eabfa050b661168b42892c2d841c7891e59cf5f (diff)
downloadsamba-fb694f2b1a809d221f48f9b9b0e54e9512325bae.tar.gz
samba-fb694f2b1a809d221f48f9b9b0e54e9512325bae.tar.xz
samba-fb694f2b1a809d221f48f9b9b0e54e9512325bae.zip
r4976: Try to scare people off from trying to write authentication modules
that only acheive as much as 'security=server' does. Andrew Bartlett
Diffstat (limited to 'source/include/auth.h')
-rw-r--r--source/include/auth.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/include/auth.h b/source/include/auth.h
index 188cf58643d..91751e71804 100644
--- a/source/include/auth.h
+++ b/source/include/auth.h
@@ -112,6 +112,10 @@ typedef struct auth_methods
const struct auth_usersupplied_info *user_info,
auth_serversupplied_info **server_info);
+ /* If you are using this interface, then you are probably
+ * getting something wrong. This interface is only for
+ * security=server, and makes a number of compromises to allow
+ * that. It is not compatible with being a PDC. */
DATA_BLOB (*get_chal)(const struct auth_context *auth_context,
void **my_private_data,
TALLOC_CTX *mem_ctx);