diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-10-11 02:05:03 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-11 02:06:03 +0000 |
commit | d74e0adb3041036e8e89d4265a67a455354bc308 (patch) | |
tree | 85a53b4562514652fd11e9c60b36d33ecb3a8fb1 /source4 | |
parent | c5ae0991528dfeb3dbd1539f5c9c2ed2f19990b9 (diff) | |
download | samba-d74e0adb3041036e8e89d4265a67a455354bc308.tar.gz samba-d74e0adb3041036e8e89d4265a67a455354bc308.tar.xz samba-d74e0adb3041036e8e89d4265a67a455354bc308.zip |
credentials: Split up into several subsystems.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/credentials/credentials_secrets.c (renamed from source4/auth/credentials/credentials_files.c) | 0 | ||||
-rw-r--r-- | source4/auth/credentials/wscript_build | 22 | ||||
-rw-r--r-- | source4/auth/gensec/wscript_build | 6 | ||||
-rw-r--r-- | source4/auth/kerberos/wscript_build | 2 | ||||
-rw-r--r-- | source4/auth/ntlm/wscript_build | 2 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/wscript_build | 2 | ||||
-rw-r--r-- | source4/dsdb/wscript_build | 2 | ||||
-rw-r--r-- | source4/lib/cmdline/wscript_build | 2 | ||||
-rw-r--r-- | source4/smbd/wscript_build | 2 |
9 files changed, 26 insertions, 14 deletions
diff --git a/source4/auth/credentials/credentials_files.c b/source4/auth/credentials/credentials_secrets.c index 4a9ccf5358..4a9ccf5358 100644 --- a/source4/auth/credentials/credentials_files.c +++ b/source4/auth/credentials/credentials_secrets.c diff --git a/source4/auth/credentials/wscript_build b/source4/auth/credentials/wscript_build index a8ef95fc14..38e007aa31 100644 --- a/source4/auth/credentials/wscript_build +++ b/source4/auth/credentials/wscript_build @@ -1,17 +1,29 @@ #!/usr/bin/env python bld.SAMBA_SUBSYSTEM('CREDENTIALS', - source='credentials.c credentials_files.c credentials_ntlm.c credentials_krb5.c', - autoproto='credentials_proto.h', - public_deps='LIBCLI_AUTH SECRETS LIBCRYPTO KERBEROS KERBEROS_UTIL UTIL_LDB gssapi com_err', + source='credentials.c', public_headers='credentials.h', - deps='SECRETS SAMDB' + deps='LIBCRYPTO LIBSAMBA-ERRORS LIBEVENTS LIBCLI_AUTH LIBSECURITY', ) +bld.SAMBA_SUBSYSTEM('CREDENTIALS_KRB5', + source='credentials_krb5.c', + deps='KERBEROS_UTIL gssapi CREDENTIALS', + public_deps='com_err KERBEROS', + ) + +bld.SAMBA_SUBSYSTEM('CREDENTIALS_SECRETS', + source='credentials_secrets.c', + deps='SECRETS CREDENTIALS_KRB5 CREDENTIALS_NTLM ldb', + ) + +bld.SAMBA_SUBSYSTEM('CREDENTIALS_NTLM', + source='credentials_ntlm.c', + deps='CREDENTIALS') bld.SAMBA_PYTHON('pycredentials', source='pycredentials.c', - public_deps='CREDENTIALS LIBCMDLINE_CREDENTIALS PYTALLOC pyparam_util', + public_deps='CREDENTIALS LIBCMDLINE_CREDENTIALS PYTALLOC pyparam_util CREDENTIALS_KRB5 CREDENTIALS_SECRETS', realname='samba/credentials.so' ) diff --git a/source4/auth/gensec/wscript_build b/source4/auth/gensec/wscript_build index cf3d783350..dff85d6b80 100644 --- a/source4/auth/gensec/wscript_build +++ b/source4/auth/gensec/wscript_build @@ -4,18 +4,18 @@ bld.SAMBA_LIBRARY('gensec', source='gensec.c socket.c gensec_tstream.c', pc_files='gensec.pc', autoproto='gensec_proto.h', - public_deps='CREDENTIALS LIBSAMBA-UTIL LIBCRYPTO ASN1_UTIL samba_socket LIBPACKET LIBTSOCKET UTIL_TEVENT', + public_deps='UTIL_TEVENT LIBSAMBA-UTIL LIBSAMBA-ERRORS LIBPACKET auth_system_session', public_headers='gensec.h', deps='com_err', 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' + deps='CREDENTIALS KERBEROS auth_session', + internal_module=False, ) diff --git a/source4/auth/kerberos/wscript_build b/source4/auth/kerberos/wscript_build index f5f615c004..8736b24366 100644 --- a/source4/auth/kerberos/wscript_build +++ b/source4/auth/kerberos/wscript_build @@ -10,6 +10,6 @@ bld.SAMBA_SUBSYSTEM('KERBEROS', bld.SAMBA_SUBSYSTEM('KERBEROS_UTIL', autoproto='kerberos_util.h', source='kerberos_util.c', - deps='KERBEROS com_err ldb SECRETS', + deps='KERBEROS com_err ldb CREDENTIALS_KRB5 SECRETS', ) diff --git a/source4/auth/ntlm/wscript_build b/source4/auth/ntlm/wscript_build index c3ce364077..936e6f5d8a 100644 --- a/source4/auth/ntlm/wscript_build +++ b/source4/auth/ntlm/wscript_build @@ -19,7 +19,7 @@ bld.SAMBA_MODULE('auth_server', source='auth_server.c', subsystem='auth', init_function='auth_server_init', - deps='LIBSAMBA-UTIL LIBCLI_SMB' + deps='LIBSAMBA-UTIL LIBCLI_SMB CREDENTIALS_NTLM' ) diff --git a/source4/dsdb/samdb/ldb_modules/wscript_build b/source4/dsdb/samdb/ldb_modules/wscript_build index 03b138b2ac..57a9f77ef9 100644 --- a/source4/dsdb/samdb/ldb_modules/wscript_build +++ b/source4/dsdb/samdb/ldb_modules/wscript_build @@ -223,7 +223,7 @@ bld.SAMBA_MODULE('ldb_update_keytab', subsystem='ldb', init_function='LDB_MODULE(update_keytab)', internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'), - deps='talloc LIBEVENTS CREDENTIALS ldb com_err' + deps='talloc LIBEVENTS CREDENTIALS ldb com_err KERBEROS_UTIL' ) diff --git a/source4/dsdb/wscript_build b/source4/dsdb/wscript_build index 4ad3e13473..15ca7f9174 100644 --- a/source4/dsdb/wscript_build +++ b/source4/dsdb/wscript_build @@ -6,7 +6,7 @@ bld.SAMBA_SUBSYSTEM('SAMDB', source='samdb/samdb.c samdb/samdb_privilege.c samdb/cracknames.c repl/replicated_objects.c', autoproto='samdb/samdb_proto.h', public_deps='krb5', - deps='LIBNDR NDR_DRSUAPI NDR_DRSBLOBS NSS_WRAPPER auth_system_session LIBCLI_AUTH LIBNDR SAMDB_SCHEMA LDBSAMBA SAMDB_COMMON LIBCLI_DRSUAPI LIBCLI_LDAP_NDR LIBSAMBA-UTIL com_err KERBEROS CREDENTIALS' + deps='LIBNDR NDR_DRSUAPI NDR_DRSBLOBS NSS_WRAPPER auth_system_session LIBCLI_AUTH LIBNDR SAMDB_SCHEMA LDBSAMBA SAMDB_COMMON LIBCLI_DRSUAPI LIBCLI_LDAP_NDR LIBSAMBA-UTIL com_err KERBEROS CREDENTIALS CREDENTIALS_SECRETS' ) diff --git a/source4/lib/cmdline/wscript_build b/source4/lib/cmdline/wscript_build index ac1ff2a0a8..6ef84ce297 100644 --- a/source4/lib/cmdline/wscript_build +++ b/source4/lib/cmdline/wscript_build @@ -17,7 +17,7 @@ bld.SAMBA_SUBSYSTEM('POPT_SAMBA', bld.SAMBA_SUBSYSTEM('POPT_CREDENTIALS', source='popt_credentials.c', autoproto='popt_credentials.h', - public_deps='CREDENTIALS LIBCMDLINE_CREDENTIALS popt', + public_deps='CREDENTIALS CREDENTIALS_SECRETS LIBCMDLINE_CREDENTIALS popt', deps='LIBSAMBA-UTIL' ) diff --git a/source4/smbd/wscript_build b/source4/smbd/wscript_build index 622e5f96af..e56a5107cb 100644 --- a/source4/smbd/wscript_build +++ b/source4/smbd/wscript_build @@ -19,7 +19,7 @@ bld.SAMBA_BINARY('samba', manpages='samba.8', subsystem_name='service', deps='''LIBEVENTS process_model service LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL POPT_SAMBA PIDFILE - popt gensec registry ntptr ntvfs share CLUSTER DCESRV COMMON_SCHANNELDB''', + popt gensec registry ntptr ntvfs share CLUSTER DCESRV COMMON_SCHANNELDB SECRETS''', pyembed=True, install_path='${SBINDIR}' ) |