diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-16 12:13:07 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-16 12:13:07 +0000 |
commit | a8c95d79f83b4097ee20d5f3f1005c38ccf00186 (patch) | |
tree | 266efebe2aa517548513d2eee9a673f16b79d5af /source3/auth/auth_domain.c | |
parent | cf00ce3e87a0d714fb38f709f9635b8a045866e3 (diff) | |
download | samba-a8c95d79f83b4097ee20d5f3f1005c38ccf00186.tar.gz samba-a8c95d79f83b4097ee20d5f3f1005c38ccf00186.tar.bz2 samba-a8c95d79f83b4097ee20d5f3f1005c38ccf00186.zip |
Add support for the new modules system to auth/ (merge from HEAD)
(This used to be commit c7a1de090db35835be1a1623bfc80c04065c5dd9)
Diffstat (limited to 'source3/auth/auth_domain.c')
-rw-r--r-- | source3/auth/auth_domain.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c index 534af2257d..24a5bb562c 100644 --- a/source3/auth/auth_domain.c +++ b/source3/auth/auth_domain.c @@ -24,7 +24,7 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_AUTH -BOOL global_machine_password_needs_changing = False; +extern BOOL global_machine_password_needs_changing; extern userdom_struct current_user_info; @@ -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; +} |