diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/auth.h | 7 |
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); |