diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-03-24 23:03:46 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-03-24 23:03:46 +0000 |
commit | 6d6f1c0522201792412b4618098536bcc45f4919 (patch) | |
tree | 9a35a31e8c33dcd93d1fc5531a50c1dc7eab35cb /source3/auth/auth_sam.c | |
parent | cdfe4b9b85441678067c37e438ed1c29ee5fa1cf (diff) | |
download | samba-6d6f1c0522201792412b4618098536bcc45f4919.tar.gz samba-6d6f1c0522201792412b4618098536bcc45f4919.tar.bz2 samba-6d6f1c0522201792412b4618098536bcc45f4919.zip |
- Add support to auth/ for the new modules system
- Quite some small fixes (also fixes the build)
(This used to be commit 3defbd5e0633acfa4631531b49601c7706072d86)
Diffstat (limited to 'source3/auth/auth_sam.c')
-rw-r--r-- | source3/auth/auth_sam.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/auth/auth_sam.c b/source3/auth/auth_sam.c index 48fabba0a2..aa399f33e2 100644 --- a/source3/auth/auth_sam.c +++ b/source3/auth/auth_sam.c @@ -562,3 +562,11 @@ NTSTATUS auth_init_samstrict_dc(struct auth_context *auth_context, const char *p (*auth_method)->name = "samstrict_dc"; return NT_STATUS_OK; } + +int auth_sam_init(void) +{ + smb_register_auth("samstrict_dc", auth_init_samstrict_dc, AUTH_INTERFACE_VERSION); + smb_register_auth("samstrict", auth_init_samstrict, AUTH_INTERFACE_VERSION); + smb_register_auth("sam", auth_init_sam, AUTH_INTERFACE_VERSION); + return True; +} |