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/auth/auth_server.c | |
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/auth/auth_server.c')
-rw-r--r-- | source3/auth/auth_server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c index bcb7d5059b..0d366a4c0d 100644 --- a/source3/auth/auth_server.c +++ b/source3/auth/auth_server.c @@ -357,14 +357,14 @@ use this machine as the password server.\n")); return(nt_status); } -BOOL auth_init_smbserver(struct auth_context *auth_context, auth_methods **auth_method) +NTSTATUS auth_init_smbserver(struct auth_context *auth_context, const char* param, auth_methods **auth_method) { if (!make_auth_methods(auth_context, auth_method)) { - return False; + return NT_STATUS_NO_MEMORY; } (*auth_method)->auth = check_smbserver_security; (*auth_method)->get_chal = auth_get_challenge_server; (*auth_method)->send_keepalive = send_server_keepalive; (*auth_method)->free_private_data = free_server_private_data; - return True; + return NT_STATUS_OK; } |