1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
samba-mirror/source3/libads
Andrew Bartlett 71d80e6be0 s3-krb5 Only build ADS support if arcfour-hmac-md5 is available
Modern Kerberos implementations have either defines or enums for these
key types, which makes doing #ifdef difficult.  This shows up in files
such as libnet_samsync_keytab.c, the bulk of which is not compiled on
current Fedora 12, for example.

The downside is that this makes Samba unconditionally depend on the
arcfour-hmac-md5 encryption type at build time.  We will no longer
support libraries that only support the DES based encryption types.
However, the single-DES types that are supported in common with AD are
already painfully weak - so much so that they are disabled by default
in modern Kerberos libraries.

If not found, ADS support will not be compiled in.

This means that our 'net ads join' will no longer set the
ACB_USE_DES_KEY_ONLY flag, and we will always try to use
arcfour-hmac-md5.

A future improvement would be to remove the use of the DES encryption
types totally, but this would require that any ACB_USE_DES_KEY_ONLY
flag be removed from existing joins.

Andrew Bartlett

Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-13 09:08:27 -04:00
..
ads_ldap_protos.h s3-libads: move ads_protos.h to ads_ldap_protos.h. 2010-07-01 23:20:39 +02:00
ads_proto.h s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
ads_status.c s3-kerberos: only use krb5 headers where required. 2009-11-27 16:36:00 +01:00
ads_status.h s3-libads: move ads_status to a separate header file. 2010-07-01 23:20:39 +02:00
ads_struct.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
ads_utils.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
authdata.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
cldap.c s3: only use netlogon/nbt header when needed. 2010-05-31 11:32:37 +02:00
cldap.h s3: only use netlogon/nbt header when needed. 2010-05-31 11:32:37 +02:00
disp_sec.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
dns.c s3-libads: move ads_dns out of main includes. 2010-07-01 23:20:40 +02:00
dns.h s3-libads: move ads_dns out of main includes. 2010-07-01 23:20:40 +02:00
kerberos_keytab.c s3-krb5 Only build ADS support if arcfour-hmac-md5 is available 2010-08-13 09:08:27 -04:00
kerberos_proto.h s3-krb5: include krb5pac.h where needed. 2010-08-06 15:43:37 +02:00
kerberos_util.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
kerberos_verify.c s3-krb5 Only build ADS support if arcfour-hmac-md5 is available 2010-08-13 09:08:27 -04:00
kerberos.c s3-secrets: only include secrets.h when needed. 2010-08-05 10:12:25 +02:00
krb5_errs.c s3-kerberos: only use krb5 headers where required. 2009-11-27 16:36:00 +01:00
krb5_setpw.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
ldap_printer.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
ldap_schema.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
ldap_schema.h s3-libads: move ldap posix schema defines to their own header file. 2010-07-01 23:20:40 +02:00
ldap_user.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
ldap_utils.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
ldap.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
ndr.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
sasl_wrapping.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
sasl.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
sitename_cache.c s3 move the sitename cache in its own file 2010-02-23 12:46:26 -05:00
sitename_cache.h s3 move the sitename cache in its own file 2010-02-23 12:46:26 -05:00
util.c s3-secrets: only include secrets.h when needed. 2010-08-05 10:12:25 +02:00