From 4aaffcf8664e638f20c0071a05e7877cc3491c7b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 27 Apr 2005 00:48:39 +0000 Subject: 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) --- source4/auth/auth.h | 7 +++++++ 1 file changed, 7 insertions(+) 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); -- cgit