From: Andrew Bartlett Date: Tue, 25 Jan 2005 02:58:31 +0000 (+0000) Subject: r4976: Try to scare people off from trying to write authentication modules X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5354 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb694f2b1a809d221f48f9b9b0e54e9512325bae;p=thirdparty%2Fsamba.git r4976: Try to scare people off from trying to write authentication modules that only acheive as much as 'security=server' does. Andrew Bartlett --- diff --git a/source/include/auth.h b/source/include/auth.h index 188cf58643d..91751e71804 100644 --- a/source/include/auth.h +++ b/source/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);