summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-04-27 00:48:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:19 -0500
commit4aaffcf8664e638f20c0071a05e7877cc3491c7b (patch)
treefe0274d5fe5b8419ace9f8d6e279a43e01124859 /source4
parent90be367a18af0afad598d3c62d5b39238ed591a4 (diff)
downloadsamba-4aaffcf8664e638f20c0071a05e7877cc3491c7b.tar.gz
samba-4aaffcf8664e638f20c0071a05e7877cc3491c7b.tar.bz2
samba-4aaffcf8664e638f20c0071a05e7877cc3491c7b.zip
r6498: Add comments in line with those I already added to 3.0.
Please don't re-invent security=server :-) Andrew Bartlett (This used to be commit b3a38e9c8ce9758db31aec53db29290a240868be)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/auth.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/auth/auth.h b/source4/auth/auth.h
index f64017832d..1ac0b82e17 100644
--- a/source4/auth/auth.h
+++ b/source4/auth/auth.h
@@ -103,8 +103,15 @@ struct auth_method_context;
struct auth_operations {
const char *name;
+ /* 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. */
+
NTSTATUS (*get_challenge)(struct auth_method_context *ctx, TALLOC_CTX *mem_ctx, DATA_BLOB *challenge);
+ /* Given the user supplied info, check a password */
+
NTSTATUS (*check_password)(struct auth_method_context *ctx, TALLOC_CTX *mem_ctx,
const struct auth_usersupplied_info *user_info,
struct auth_serversupplied_info **server_info);