The branch, master has been updated via e45e0912d99 s3-libads: use dns name to open a ldap session from 4d784590a9c [s4] possible memleak in torture vfs-fruit
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit e45e0912d99335f4feec7f937180ea21f7f62a72 Author: Björn Baumbach <b...@sernet.de> Date: Mon Feb 10 19:19:44 2020 +0100 s3-libads: use dns name to open a ldap session Required for working certificate verification. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13124 Signed-off-by: Björn Baumbach <b...@sernet.de> Reviewed-by: Bjoern Jacke <bja...@samba.org> Autobuild-User(master): Björn Baumbach <b...@sernet.de> Autobuild-Date(master): Thu Mar 5 12:29:26 UTC 2020 on sn-devel-184 ----------------------------------------------------------------------- Summary of changes: source3/libads/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changeset truncated at 500 lines: diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index a630c5a0345..01e10c1260c 100755 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -669,7 +669,7 @@ got_connection: /* Otherwise setup the TCP LDAP session */ - ads->ldap.ld = ldap_open_with_timeout(addr, + ads->ldap.ld = ldap_open_with_timeout(ads->config.ldap_server_name, &ads->ldap.ss, ads->ldap.port, lp_ldap_timeout()); if (ads->ldap.ld == NULL) { -- Samba Shared Repository