1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/libads
Björn Baumbach c8080bbd70 s3-libads: use ldap_init_fd() to initialize a ldap session if possible
Use the known ip address of the ldap server to open the connection and
initialize the ldap session with ldap_init_fd().

This avoid unnecessary DNS lookups which might block or prevent the
successful connection.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13124

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-06-11 01:21:30 +00:00
..
ads_ldap_protos.h Convert all uses of uint8/16/32 to uint8/16/32_t in the libads code. 2015-04-22 06:22:29 +02:00
ads_proto.h Add msDS-AdditionalDnsHostName entries to the keytab 2020-05-29 12:11:29 +00:00
ads_status.c krb5_wrap: move source3/libads/krb5_errs.c to lib/krb5_wrap/krb5_errs.c 2020-02-10 16:32:37 +00:00
ads_status.h Convert all uses of uint8/16/32 to uint8/16/32_t in the libads code. 2015-04-22 06:22:29 +02:00
ads_struct.c s3:libnet: Require sealed LDAP SASL connections for joining 2019-10-09 07:06:35 +00:00
authdata.c krb5_wrap: move source3/libads/krb5_errs.c to lib/krb5_wrap/krb5_errs.c 2020-02-10 16:32:37 +00:00
cldap.c s3/libads: clang: Fix Array access results in a null pointer dereference 2019-09-25 09:47:32 +00:00
cldap.h libads: Check cldap flags in libads/ldap 2017-05-30 08:06:06 +02:00
disp_sec.c s3/libads: cppcheck fix error: shiftTooManyBitsSigned: error 2019-05-29 10:10:23 +00:00
kerberos_keytab.c Add msDS-AdditionalDnsHostName entries to the keytab 2020-05-29 12:11:29 +00:00
kerberos_proto.h auth/kerberos: add auth4_context_{for,get}_PAC_DATA_CTR() helpers 2020-02-10 16:32:36 +00:00
kerberos_util.c s3:libads: let kerberos_kinit_password_ext() return the canonicalized principal/realm 2019-09-24 18:30:37 +00:00
kerberos.c krb5_wrap: move source3/libads/krb5_errs.c to lib/krb5_wrap/krb5_errs.c 2020-02-10 16:32:37 +00:00
krb5_setpw.c s3:libads: Do not turn on canonicalization flag for MIT Kerberos 2019-10-12 17:39:13 +00:00
ldap_printer.c werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/libads/ldap_printer.c 2016-09-28 00:04:18 +02:00
ldap_schema_oids.h libads: Factor out ldap_schema_oids.h 2016-02-03 15:04:11 +01:00
ldap_schema.c libads: Factor out ldap_schema_oids.h 2016-02-03 15:04:11 +01:00
ldap_schema.h libads: Factor out ldap_schema_oids.h 2016-02-03 15:04:11 +01:00
ldap_user.c
ldap_utils.c s3/libads: clang: Fix 'Value stored during initialization is never read' 2019-09-26 18:41:27 +00:00
ldap.c s3-libads: use ldap_init_fd() to initialize a ldap session if possible 2020-06-11 01:21:30 +00:00
ndr.c libads: abstract out SASL wrapping code 2017-05-17 23:02:09 +02:00
net_ads_setspn.c s3:utils: add new 'net ads setspn delete' subcommand 2018-03-02 14:07:14 +01:00
sasl_wrapping.c libads: abstract out SASL wrapping code 2017-05-17 23:02:09 +02:00
sasl.c s3:libads: remove unused "GSSAPI" support 2020-06-09 17:24:30 +00:00
sitename_cache.c lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
sitename_cache.h Add a talloc context to sitename_fetch(). 2013-09-05 09:17:27 -07:00
util.c Spelling fixes s/convertion/conversion/ 2019-09-01 22:21:26 +00:00