1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

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 b3a38e9c8c)
This commit is contained in:
Andrew Bartlett 2005-04-27 00:48:39 +00:00 committed by Gerald (Jerry) Carter
parent 90be367a18
commit 4aaffcf866

View File

@ -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);