1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/libads
Andrew Bartlett a427652010 s3-libads: Use ldap_init_fd() to connect to AD server in socket_wrapper
This means that we control the connection setup, don't rely on signals
for timeouts and the connection uses socket_wrapper where that is
required in our test environment.

According to bug reports, this method is also used by curl and other
tools, so we are not the first to (ab)use the OpenLDAP libs in this
way.

It is ONLY enabled for socket_wrapper at this time, as this is the
best way to get 'make test' working for S3 winbind tests in an S4
domain.

Andrew Bartlett
2011-04-28 05:30:21 +02:00
..
ads_ldap_protos.h s3-prototypes: remove protos of some dead functions. 2011-03-24 00:52:01 +01:00
ads_proto.h s3-libads: make ndr_print_ads_auth_flags() static. 2011-02-25 01:55:26 +01:00
ads_status.c s3-build: stop including ldap and lber headers everywhere in the code. 2011-03-16 10:54:50 +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: Fix some nonempty blank lines 2011-01-12 19:04:24 +01:00
authdata.c libcli/auth Move PAC parsing and verification in common. 2011-04-20 04:31:07 +02:00
cldap.c s3-libads Pass a struct sockaddr_storage to cldap routines 2011-04-28 05:30:20 +02:00
cldap.h s3-libads Pass a struct sockaddr_storage to cldap routines 2011-04-28 05:30:20 +02:00
disp_sec.c s3-libndr: add ../librpc/ndr/libndr.h include in some places. 2011-03-31 00:14:01 +02:00
dns.c s3-libsmb Use 'resolv:hosts file' as a DNS emulation when specified. 2011-04-27 11:40:18 +10:00
dns.h libcli/dns Improve dns_hosts_file, using Samba3's struct dns_rr_srv 2011-04-26 17:16:34 +10:00
kerberos_keytab.c s3-waf: try to fix the non-ldap-but-krb5 build. 2011-04-15 12:37:55 +02: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 libcli/auth Move PAC parsing and verification in common. 2011-04-20 04:31:07 +02:00
kerberos.c s3-includes: only include system/filesys.h when needed. 2011-03-30 01:13:07 +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-build: only include asn1 headers where actually needed. 2011-03-16 23:46:18 +01:00
ldap_printer.c s3-rpc_client: add and use rpc_client/rpc_client.h. 2011-04-13 22:23:59 +02:00
ldap_schema.c s3: Remove unused ads_get_attrname_by_oid 2010-11-20 14:42:44 +01:00
ldap_schema.h s3: Remove unused ads_get_attrname_by_oid 2010-11-20 14:42:44 +01:00
ldap_user.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
ldap_utils.c s3: Make ads_ranged_search_internal static 2010-11-20 14:42:44 +01:00
ldap.c s3-libads: Use ldap_init_fd() to connect to AD server in socket_wrapper 2011-04-28 05:30:21 +02:00
ndr.c s3-libads: make ndr_print_ads_auth_flags() static. 2011-02-25 01:55:26 +01:00
sasl_wrapping.c s3: avoid global include of ads.h. 2010-08-05 00:32:02 +02:00
sasl.c s3-libads: make ads_guess_service_principal static. 2011-02-11 12:22:41 +01: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-libads: make ads_guess_service_principal static. 2011-02-11 12:22:41 +01:00