tests/krb5: Calculate correct gMSA password to fix flapping test
[samba.git] / source4 / auth / kerberos / wscript_build
index 4cb9d799b6fb5445b6ec5b9545922c70fafc8edc..a26cfaf3772f96c7d31e8fbc2d90fccf79b0fd1a 100644 (file)
@@ -1,9 +1,26 @@
 #!/usr/bin/env python
 
-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'
+bld.SAMBA_SUBSYSTEM('KRB_INIT_CTX',
+                   source='krb5_init_context.c',
+                   deps='gssapi krb5samba dbwrap samba-util'
+                  )
+
+bld.SAMBA_LIBRARY('authkrb5',
+                  source='kerberos_pac.c',
+                  autoproto='proto.h',
+                  public_deps='ndr-krb5pac krb5samba samba_socket LIBCLI_RESOLVE',
+                  deps='common_auth tevent LIBPACKET ndr ldb krb5samba KRB_INIT_CTX KRB5_PAC samba-errors',
+                  private_library=True
+                  )
+
+bld.SAMBA_SUBSYSTEM('KERBEROS_UTIL',
+       autoproto='kerberos_util.h',
+       source='kerberos_util.c',
+       deps='authkrb5 krb5samba com_err CREDENTIALS_KRB5',
        )
 
+bld.SAMBA_SUBSYSTEM('KERBEROS_SRV_KEYTAB',
+       autoproto='kerberos_srv_keytab.h',
+       source='srv_keytab.c',
+       deps='authkrb5',
+       )