1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/libsmb
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
..
async_smb.c If the timeout has been set to zero, don't register an end time. 2010-03-30 13:45:53 -07:00
cliconnect.c s3: Remove some pointless wrapper functions 2010-08-05 13:57:31 +02:00
clidfs.c s3: Explicitly pass flags2 to clistr_pull_talloc 2010-08-05 14:53:54 +02:00
clidgram.c s3: only use netlogon/nbt header when needed. 2010-05-31 11:32:37 +02:00
clidgram.h s3: only use netlogon/nbt header when needed. 2010-05-31 11:32:37 +02:00
clientgen.c s3:libsmb: don't let cli_shutdown() segfault with a NULL cli_state 2010-03-29 18:11:14 +02:00
clierror.c s3:libsmb: add cli_state_is_connected() function 2010-03-29 18:11:15 +02:00
clifile.c s3: Explicitly pass flags2 to clistr_pull_talloc 2010-08-05 14:53:54 +02:00
clifsinfo.c s3: Save the received trans2 from the inbuf in cli_trans 2010-08-05 13:57:29 +02:00
clikrb5.c s3-krb5 Only build ADS support if arcfour-hmac-md5 is available 2010-08-13 09:08:27 -04:00
clilist.c s3: Remove some direct cli->inbuf references in interpret_long_filename 2010-08-05 14:53:54 +02:00
climessage.c s3: Explicitly handle inbuf in cli_message_start_done 2010-02-22 23:23:20 +01:00
clioplock.c s3: Add a talloc_move for the inbuf to cli_smb_recv 2010-02-22 23:23:18 +01:00
cliprint.c s3: Remove some pointless wrapper functions 2010-08-05 13:57:31 +02:00
cliquota.c s3-build: only use ndr_security.h where needed. 2010-05-31 11:32:37 +02:00
clirap2.c s3-rap: include svcctl.h where needed. 2010-08-06 15:43:37 +02:00
clirap.c s3: Remove some pointless wrapper functions 2010-08-05 13:57:31 +02:00
clireadwrite.c s3-libsmb: fix argument order for tevent_req_default_print in cli_pull_print(). 2010-05-09 00:42:54 +02:00
clisecdesc.c s3: Save the received trans2 from the inbuf in cli_trans 2010-08-05 13:57:29 +02:00
clisigning.c s3:libsmb: use new simplified smb_signing code for the client side 2009-03-23 12:21:14 +01:00
clispnego.c s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keys 2010-07-20 20:02:09 -04:00
clistr.c s3: Remove a pointless wrapper function 2010-08-05 14:53:54 +02:00
clitrans.c s3: Save the received trans2 from the inbuf in cli_trans 2010-08-05 13:57:29 +02:00
conncache.c s3: Fix some nonempty blank lines 2009-12-26 12:26:06 +01:00
dsgetdcname.c s3-libads: move ads_dns out of main includes. 2010-07-01 23:20:40 +02:00
errormap.c Rename 282 -> ERReasnotsupported. 2009-12-21 11:05:11 -08:00
libsmb_cache.c s3: Convert cli_tdis to the async API 2010-01-03 21:14:57 +01:00
libsmb_compat.c s3: Fix some nonempty blank lines 2009-11-21 23:19:50 +01:00
libsmb_context.c s3-secrets: only include secrets.h when needed. 2010-08-05 10:12:25 +02:00
libsmb_dir.c s3-popt: Only include popt-common.h when needed. 2010-08-05 12:08:31 +02:00
libsmb_file.c s3: Convert cli_qpathinfo2 to cli_qpathinfo_send 2010-07-26 23:01:37 +02:00
libsmb_misc.c s3: Fix some nonempty blank lines 2009-11-21 23:19:50 +01:00
libsmb_path.c s3-libsmbclient: Fix crash bug in SMBC_parse_path(). 2010-01-14 19:48:33 +01:00
libsmb_printjob.c s3: Fix some nonempty blank lines 2009-11-21 23:19:50 +01:00
libsmb_server.c s3-rpc_client: move protos to cli_lsarpc.h 2010-05-18 21:42:41 +02:00
libsmb_setget.c s3-libsmbclient: Add smbc_setOptionUseCCache() 2010-01-24 20:32:17 +01:00
libsmb_stat.c s3: Fix some nonempty blank lines 2009-11-21 23:19:50 +01:00
libsmb_thread_impl.c Provide a libsmbclient interface for programs requiring threads 2009-05-10 22:45:12 -04:00
libsmb_thread_posix.c s3: fix detection and flags for using pthread 2010-01-26 00:19:10 +01:00
libsmb_xattr.c s3:dom_sid Global replace of DOM_SID with struct dom_sid 2010-05-21 10:39:59 +02:00
namecache.c s3:libsmb/namecache Remove namecache_enable() 2010-05-13 10:12:26 +10:00
namequery_dc.c s3-libsmb: include nbt.h in namequery_dc code. 2010-08-06 15:43:37 +02:00
namequery.c s3-libads: move ads_dns out of main includes. 2010-07-01 23:20:40 +02:00
nmblib.c s3-lib: use TYPESAFE_QSORT() in remaining s3 library code 2010-02-14 18:44:20 +11:00
nterr.c error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo. 2010-03-19 09:30:36 +01:00
ntlmssp_wrap.c s3-auth: Add auth_ntlmssp wrapper for client side 2010-07-20 15:52:34 +10:00
ntlmssp.c libcli/auth Make the source3/ implementation of the NTLMSSP server common 2010-08-10 16:22:04 +02:00
passchange.c s3-passdb: include samr.h where needed. 2010-08-06 15:43:37 +02:00
samlogon_cache.c s3:dom_sid Global replace of DOM_SID with struct dom_sid 2010-05-21 10:39:59 +02:00
smb_seal.c s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it. 2010-07-19 14:19:47 +10:00
smb_share_modes.c s3: Add extid to the dev/inode pair 2009-02-19 20:58:26 -08:00
smb_signing.c s3-crypto: only include crypto headers when crypto is done. 2010-05-18 00:44:27 +02:00
smberr.c Some pstring removal 2007-11-11 21:34:40 -08:00
trustdom_cache.c s3:dom_sid Global replace of DOM_SID with struct dom_sid 2010-05-21 10:39:59 +02:00
trusts_util.c s3-secrets: only include secrets.h when needed. 2010-08-05 10:12:25 +02:00
unexpected.c s3: Convert unexpected.tdb to use tdb_wrap_open 2010-03-13 20:20:37 +01:00