diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-05-24 03:43:52 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-05-24 03:43:52 +0000 |
commit | 40669777a5f74617fdd80dea3ff5a45a9e9a1aa4 (patch) | |
tree | 5b9f16db2a15723ae6623b7bd5cacd91f25d21b5 /source3/include/auth.h | |
parent | b270d2d3ababe0b84e3e7f05573bf673082ba6b8 (diff) | |
download | samba-40669777a5f74617fdd80dea3ff5a45a9e9a1aa4.tar.gz samba-40669777a5f74617fdd80dea3ff5a45a9e9a1aa4.tar.xz samba-40669777a5f74617fdd80dea3ff5a45a9e9a1aa4.zip |
Move the authenticaion subsystem over to the same 'module:options' syntax
that the passdb code now uses. Similarly, move the 'pluggable' stuff
over from passdb as well, allowing runtime loading of new authenticaion
modules.
(NOTE: The interfaces here can *and do* change - module writers are
not assured source-level compatibilty, and certainly not binary
compatibility).
(This used to be commit 3897cf5e048f50be91ae434f636affc6d539d0d1)
Diffstat (limited to 'source3/include/auth.h')
-rw-r--r-- | source3/include/auth.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/include/auth.h b/source3/include/auth.h index 5c8bc8edfe..66b317d643 100644 --- a/source3/include/auth.h +++ b/source3/include/auth.h @@ -141,11 +141,12 @@ typedef struct auth_methods } auth_methods; -struct auth_init_function { +typedef NTSTATUS (*auth_init_function)(struct auth_context *, const char *, struct auth_methods **); + +struct auth_init_function_entry { char *name; /* Function to create a member of the authmethods list */ - BOOL (*init)(struct auth_context *auth_context, struct auth_methods **auth_method); -}; - + auth_init_function init; +}; #endif /* _SMBAUTH_H_ */ |