summaryrefslogtreecommitdiff
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
commit2ea185b3ab6d7d0c3a7294577b4627d4ba7e00b1 (patch)
tree04b58ccbbc2488ec416ae87acc3d16c0c843266e
parent9b1e5a71180f340a1f6327d53e68bb9b661ec894 (diff)
downloadsamba-2ea185b3ab6d7d0c3a7294577b4627d4ba7e00b1.tar.gz
samba-2ea185b3ab6d7d0c3a7294577b4627d4ba7e00b1.tar.bz2
samba-2ea185b3ab6d7d0c3a7294577b4627d4ba7e00b1.zip
r4976: Try to scare people off from trying to write authentication modules
that only acheive as much as 'security=server' does. Andrew Bartlett (This used to be commit fb694f2b1a809d221f48f9b9b0e54e9512325bae)
-rw-r--r--source3/include/auth.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/auth.h b/source3/include/auth.h
index 188cf58643..91751e7180 100644
--- a/source3/include/auth.h
+++ b/source3/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);