summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/credentials/wscript_build19
-rw-r--r--source4/auth/gensec/wscript_build63
-rw-r--r--source4/auth/kerberos/wscript_build11
-rw-r--r--source4/auth/ntlm/wscript_build64
-rw-r--r--source4/auth/ntlmssp/wscript_build13
-rw-r--r--source4/auth/wscript_build53
6 files changed, 223 insertions, 0 deletions
diff --git a/source4/auth/credentials/wscript_build b/source4/auth/credentials/wscript_build
new file mode 100644
index 0000000000..bdd9fa529c
--- /dev/null
+++ b/source4/auth/credentials/wscript_build
@@ -0,0 +1,19 @@
+# AUTOGENERATED by mktowscript.pl from ../../source4/auth/credentials/config.mk
+# Please remove this notice if hand editing
+
+
+bld.SAMBA_SUBSYSTEM('CREDENTIALS',
+ source='credentials.c credentials_files.c credentials_ntlm.c credentials_krb5.c ../kerberos/kerberos_util.c',
+ autoproto='credentials_proto.h',
+ public_deps='LIBCLI_AUTH SECRETS LIBCRYPTO KERBEROS UTIL_LDB HEIMDAL_GSSAPI',
+ public_headers='credentials.h',
+ deps='SECRETS SAMDB'
+ )
+
+
+bld.SAMBA_PYTHON('pycredentials',
+ source='pycredentials.c',
+ public_deps='CREDENTIALS LIBCMDLINE_CREDENTIALS PYTALLOC pyparam_util',
+ realname='samba/credentials.so'
+ )
+
diff --git a/source4/auth/gensec/wscript_build b/source4/auth/gensec/wscript_build
new file mode 100644
index 0000000000..a504e38689
--- /dev/null
+++ b/source4/auth/gensec/wscript_build
@@ -0,0 +1,63 @@
+# AUTOGENERATED by mktowscript.pl from ../../source4/auth/gensec/config.mk
+# Please remove this notice if hand editing
+
+
+bld.SAMBA_LIBRARY('gensec',
+ source='gensec.c socket.c',
+ # PC_FILES='gensec.pc',
+ autoproto='gensec_proto.h',
+ public_deps='CREDENTIALS LIBSAMBA-UTIL LIBCRYPTO ASN1_UTIL samba_socket LIBPACKET LIBTSOCKET UTIL_TEVENT',
+ public_headers='gensec.h',
+ vnum='0.0.1'
+ )
+
+
+bld.SAMBA_MODULE('gensec_krb5',
+ source='gensec_krb5.c',
+ subsystem='gensec',
+ init_function='gensec_krb5_init',
+ deps='CREDENTIALS KERBEROS auth_session'
+ )
+
+
+bld.SAMBA_MODULE('gensec_gssapi',
+ source='gensec_gssapi.c',
+ subsystem='gensec',
+ init_function='gensec_gssapi_init',
+ deps='HEIMDAL_GSSAPI CREDENTIALS KERBEROS'
+ )
+
+
+bld.SAMBA_MODULE('cyrus_sasl',
+ source='cyrus_sasl.c',
+ subsystem='gensec',
+ init_function='gensec_sasl_init',
+ deps='CREDENTIALS SASL'
+ )
+
+
+bld.SAMBA_MODULE('gensec_spnego',
+ source='spnego.c ../../../libcli/auth/spnego_parse.c',
+ autoproto='spnego_proto.h',
+ subsystem='gensec',
+ init_function='gensec_spnego_init',
+ deps='ASN1_UTIL CREDENTIALS'
+ )
+
+
+bld.SAMBA_MODULE('gensec_schannel',
+ source='schannel.c ../../../libcli/auth/schannel_sign.c',
+ subsystem='gensec',
+ deps='COMMON_SCHANNELDB NDR_SCHANNEL CREDENTIALS LIBNDR auth_session',
+ output_type='MERGED_OBJ',
+ autoproto='schannel_proto.h',
+ init_function='gensec_schannel_init'
+ )
+
+
+bld.SAMBA_PYTHON('pygensec',
+ source='pygensec.c',
+ deps='gensec PYTALLOC pyparam_util',
+ realname='samba/gensec.so'
+ )
+
diff --git a/source4/auth/kerberos/wscript_build b/source4/auth/kerberos/wscript_build
new file mode 100644
index 0000000000..77f9799a8b
--- /dev/null
+++ b/source4/auth/kerberos/wscript_build
@@ -0,0 +1,11 @@
+# AUTOGENERATED by mktowscript.pl from ../../source4/auth/kerberos/config.mk
+# Please remove this notice if hand editing
+
+
+bld.SAMBA_SUBSYSTEM('KERBEROS',
+ source='kerberos.c clikrb5.c kerberos_heimdal.c kerberos_pac.c gssapi_parse.c krb5_init_context.c keytab_copy.c',
+ autoproto='proto.h',
+ public_deps='HEIMDAL_KRB5 NDR_KRB5PAC samba_socket LIBCLI_RESOLVE',
+ deps='ASN1_UTIL auth_sam_reply tevent LIBPACKET LIBNDR'
+ )
+
diff --git a/source4/auth/ntlm/wscript_build b/source4/auth/ntlm/wscript_build
new file mode 100644
index 0000000000..2632e25a8f
--- /dev/null
+++ b/source4/auth/ntlm/wscript_build
@@ -0,0 +1,64 @@
+# AUTOGENERATED by mktowscript.pl from ../../source4/auth/ntlm/config.mk
+# Please remove this notice if hand editing
+
+
+bld.SAMBA_MODULE('auth_sam_module',
+ source='auth_sam.c',
+ subsystem='auth',
+ init_function='auth_sam_init',
+ deps='SAMDB auth_sam ntlm_check'
+ )
+
+
+bld.SAMBA_MODULE('auth_anonymous',
+ source='auth_anonymous.c',
+ subsystem='auth',
+ init_function='auth_anonymous_init'
+ )
+
+
+bld.SAMBA_MODULE('auth_server',
+ source='auth_server.c',
+ subsystem='auth',
+ init_function='auth_server_init',
+ deps='LIBSAMBA-UTIL LIBCLI_SMB'
+ )
+
+
+bld.SAMBA_MODULE('auth_winbind',
+ source='auth_winbind.c',
+ subsystem='auth',
+ init_function='auth_winbind_init',
+ deps='NDR_WINBIND MESSAGING LIBWINBIND-CLIENT LIBWBCLIENT'
+ )
+
+
+bld.SAMBA_MODULE('auth_developer',
+ source='auth_developer.c',
+ subsystem='auth',
+ init_function='auth_developer_init'
+ )
+
+
+bld.SAMBA_MODULE('auth_unix',
+ source='auth_unix.c',
+ subsystem='auth',
+ init_function='auth_unix_init',
+ deps='CRYPT PAM PAM_ERRORS NSS_WRAPPER UID_WRAPPER LIBTSOCKET'
+ )
+
+
+bld.SAMBA_SUBSYSTEM('PAM_ERRORS',
+ source='pam_errors.c'
+ )
+
+
+bld.SAMBA_MODULE('auth',
+ source='auth.c auth_util.c auth_simple.c',
+ autoproto='auth_proto.h',
+ subsystem='service',
+ init_function='server_service_auth_init',
+ deps='LIBSAMBA-UTIL LIBSECURITY SAMDB CREDENTIALS UTIL_TEVENT',
+ output_type='MERGED_OBJ'
+ )
+
diff --git a/source4/auth/ntlmssp/wscript_build b/source4/auth/ntlmssp/wscript_build
new file mode 100644
index 0000000000..625762029d
--- /dev/null
+++ b/source4/auth/ntlmssp/wscript_build
@@ -0,0 +1,13 @@
+# AUTOGENERATED by mktowscript.pl from ../../source4/auth/ntlmssp/config.mk
+# Please remove this notice if hand editing
+
+
+bld.SAMBA_MODULE('gensec_ntlmssp',
+ source='ntlmssp.c ntlmssp_sign.c ntlmssp_client.c ntlmssp_server.c',
+ autoproto='proto.h',
+ subsystem='gensec',
+ init_function='gensec_ntlmssp_init',
+ deps='MSRPC_PARSE CREDENTIALS',
+ output_type='MERGED_OBJ'
+ )
+
diff --git a/source4/auth/wscript_build b/source4/auth/wscript_build
new file mode 100644
index 0000000000..5985551511
--- /dev/null
+++ b/source4/auth/wscript_build
@@ -0,0 +1,53 @@
+# AUTOGENERATED by mktowscript.pl from ../../source4/auth/config.mk
+# Please remove this notice if hand editing
+
+bld.BUILD_SUBDIR('gensec')
+bld.BUILD_SUBDIR('kerberos')
+bld.BUILD_SUBDIR('ntlmssp')
+bld.BUILD_SUBDIR('ntlm')
+bld.BUILD_SUBDIR('credentials')
+
+bld.SAMBA_SUBSYSTEM('auth_session',
+ source='session.c',
+ autoproto='session_proto.h',
+ public_deps='CREDENTIALS',
+ public_headers='session.h',
+ deps='SAMDB'
+ )
+
+
+bld.SAMBA_SUBSYSTEM('samba_server_gensec',
+ source='samba_server_gensec.c',
+ public_deps='CREDENTIALS gensec auth'
+ )
+
+
+bld.SAMBA_SUBSYSTEM('auth_system_session',
+ source='system_session.c',
+ autoproto='system_session_proto.h',
+ public_deps='CREDENTIALS',
+ deps='auth_session LIBSAMBA-UTIL LIBSECURITY'
+ )
+
+
+bld.SAMBA_SUBSYSTEM('auth_sam',
+ source='sam.c',
+ autoproto='auth_sam.h',
+ public_deps='SAMDB UTIL_LDB LIBSECURITY',
+ deps=''
+ )
+
+
+bld.SAMBA_SUBSYSTEM('auth_sam_reply',
+ source='auth_sam_reply.c',
+ autoproto='auth_sam_reply.h'
+ )
+
+
+bld.SAMBA_PYTHON('pyauth',
+ source='pyauth.c',
+ public_deps='auth_system_session',
+ deps='SAMDB PYTALLOC pyparam_util',
+ realname='samba/auth.so'
+ )
+