summaryrefslogtreecommitdiff
path: root/source3/auth/auth_domain.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-24 23:03:46 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-24 23:03:46 +0000
commit6d6f1c0522201792412b4618098536bcc45f4919 (patch)
tree9a35a31e8c33dcd93d1fc5531a50c1dc7eab35cb /source3/auth/auth_domain.c
parentcdfe4b9b85441678067c37e438ed1c29ee5fa1cf (diff)
downloadsamba-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_domain.c')
-rw-r--r--source3/auth/auth_domain.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index 7cf7ed1199..9ca2f4e190 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -545,3 +545,10 @@ NTSTATUS auth_init_trustdomain(struct auth_context *auth_context, const char* pa
(*auth_method)->auth = check_trustdomain_security;
return NT_STATUS_OK;
}
+
+int auth_domain_init(void)
+{
+ smb_register_auth("trustdomain", auth_init_trustdomain, AUTH_INTERFACE_VERSION);
+ smb_register_auth("ntdomain", auth_init_ntdomain, AUTH_INTERFACE_VERSION);
+ return True;
+}