summaryrefslogtreecommitdiff
path: root/source4/auth/credentials
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-11 02:05:03 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-11 02:06:03 +0000
commitd74e0adb3041036e8e89d4265a67a455354bc308 (patch)
tree85a53b4562514652fd11e9c60b36d33ecb3a8fb1 /source4/auth/credentials
parentc5ae0991528dfeb3dbd1539f5c9c2ed2f19990b9 (diff)
downloadsamba-d74e0adb3041036e8e89d4265a67a455354bc308.tar.gz
samba-d74e0adb3041036e8e89d4265a67a455354bc308.tar.bz2
samba-d74e0adb3041036e8e89d4265a67a455354bc308.zip
credentials: Split up into several subsystems.
Diffstat (limited to 'source4/auth/credentials')
-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_build22
2 files changed, 17 insertions, 5 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'
)