svn commit: samba r6498 - in branches/SAMBA_4_0/source/auth: .
abartlet at samba.org
abartlet at samba.org
Wed Apr 27 00:48:39 GMT 2005
Author: abartlet
Date: 2005-04-27 00:48:39 +0000 (Wed, 27 Apr 2005)
New Revision: 6498
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6498
Log:
Add comments in line with those I already added to 3.0.
Please don't re-invent security=server :-)
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/auth/auth.h
Changeset:
Modified: branches/SAMBA_4_0/source/auth/auth.h
===================================================================
--- branches/SAMBA_4_0/source/auth/auth.h 2005-04-26 23:52:21 UTC (rev 6497)
+++ branches/SAMBA_4_0/source/auth/auth.h 2005-04-27 00:48:39 UTC (rev 6498)
@@ -103,8 +103,15 @@
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);
More information about the samba-cvs
mailing list