diff options
Diffstat (limited to 'source4/auth/ntlm')
-rw-r--r-- | source4/auth/ntlm/auth.c | 5 | ||||
-rw-r--r-- | source4/auth/ntlm/auth_server_service.c | 26 | ||||
-rw-r--r-- | source4/auth/ntlm/wscript_build | 9 |
3 files changed, 33 insertions, 7 deletions
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c index b5f3afc86d..3f1ee669c9 100644 --- a/source4/auth/ntlm/auth.c +++ b/source4/auth/ntlm/auth.c @@ -645,8 +645,3 @@ _PUBLIC_ NTSTATUS auth_init(void) return NT_STATUS_OK; } - -NTSTATUS server_service_auth_init(void) -{ - return auth_init(); -} diff --git a/source4/auth/ntlm/auth_server_service.c b/source4/auth/ntlm/auth_server_service.c new file mode 100644 index 0000000000..df47117ba4 --- /dev/null +++ b/source4/auth/ntlm/auth_server_service.c @@ -0,0 +1,26 @@ +/* + Unix SMB/CIFS implementation. + Password and authentication handling + Copyright (C) Andrew Bartlett 2010 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#include "includes.h" +#include "auth/auth.h" + +NTSTATUS server_service_auth_init(void) +{ + return auth_init(); +} diff --git a/source4/auth/ntlm/wscript_build b/source4/auth/ntlm/wscript_build index 03a812f577..673b5fc7fe 100644 --- a/source4/auth/ntlm/wscript_build +++ b/source4/auth/ntlm/wscript_build @@ -52,12 +52,17 @@ bld.SAMBA_SUBSYSTEM('PAM_ERRORS', ) -bld.SAMBA_MODULE('auth', +bld.SAMBA_SUBSYSTEM('auth', source='auth.c auth_util.c auth_simple.c', autoproto='auth_proto.h', + deps='LIBSAMBA-UTIL LIBSECURITY SAMDB CREDENTIALS UTIL_TEVENT', + ) + +bld.SAMBA_MODULE('auth_server_service', + source='auth_server_service.c', subsystem='service', init_function='server_service_auth_init', - deps='LIBSAMBA-UTIL LIBSECURITY SAMDB CREDENTIALS UTIL_TEVENT', + deps='auth', internal_module=True ) |