search for: cldap_socket_init

Displaying 9 results from an estimated 9 matches for "cldap_socket_init".

2016 Oct 17
2
Bug 6870 resurfaced in Samba 4.2.10
...gt; > > > Hi, > > > > So I did some digging into the source code, and I think I've found the > > issue. Around line 120 of source3/libads/cldap.c: > > > > for (i=0; i<num_servers; i++) { > > NTSTATUS status; > > > > status = cldap_socket_init(state->cldap, > > NULL, /* local_addr */ > > state->servers[i], > > &state->cldap[i]); > > > > if (tevent_req_nterror(req, status)) { > > return tevent_req_post(req, ev); > > } > > > > /* Code omitted for b...
2009 Mar 19
1
Updated sources and clean build gives linker error in cldapd.o
...s_string' cldap_server.c:(.text+0x233): undefined reference to `cldap_error_reply' bin/mergedobj/cldapd.o: In function `cldapd_add_socket': cldap_server.c:(.text+0x337): undefined reference to `_tsocket_address_inet_from_strings' cldap_server.c:(.text+0x3f6): undefined reference to `cldap_socket_init' cldap_server.c:(.text+0x448): undefined reference to `tsocket_address_string' cldap_server.c:(.text+0x496): undefined reference to `cldap_set_incoming_handler' bin/mergedobj/cldapd.o: In function `cldapd_netlogon_request': (.text+0x1ccb): undefined reference to `tsocket_address_ine...
2016 Oct 17
0
Bug 6870 resurfaced in Samba 4.2.10
...05:13:08PM +0100, Rebecca Gellman via samba wrote: > > Hi, > > So I did some digging into the source code, and I think I've found the > issue. Around line 120 of source3/libads/cldap.c: > > for (i=0; i<num_servers; i++) { > NTSTATUS status; > > status = cldap_socket_init(state->cldap, > NULL, /* local_addr */ > state->servers[i], > &state->cldap[i]); > > if (tevent_req_nterror(req, status)) { > return tevent_req_post(req, ev); > } > > /* Code omitted for brevity */ > > } > > This is in cldap_multi_netlogon...
2016 Oct 17
2
Bug 6870 resurfaced in Samba 4.2.10
...> > > > Hi, > > > > So I did some digging into the source code, and I think I've found the > > issue. Around line 120 of source3/libads/cldap.c: > > > > for (i=0; i<num_servers; i++) { > > NTSTATUS status; > > > > status = cldap_socket_init(state->cldap, > > NULL, /* local_addr */ > > state->servers[i], > > &state->cldap[i]); > > > > if (tevent_req_nterror(req, status)) { > > return tevent_req_post(req, ev); > > } > > > > /* Code omitted for brevity */ > >...
2016 Oct 17
2
Bug 6870 resurfaced in Samba 4.2.10
Hi, So I did some digging into the source code, and I think I've found the issue. Around line 120 of source3/libads/cldap.c: for (i=0; i<num_servers; i++) { NTSTATUS status; status = cldap_socket_init(state->cldap, NULL, /* local_addr */ state->servers[i], &state->cldap[i]); if (tevent_req_nterror(req, status)) { return tevent_req_post(req, ev); } /* Code omitted for brevity */ } This is in cldap_multi_netlogon_send(), a function that sends CLDAP reques...
2016 Oct 17
0
Bug 6870 resurfaced in Samba 4.2.10
...M +0100, Rebecca Gellman via samba wrote: > > > Hi, > > So I did some digging into the source code, and I think I've found the > issue. Around line 120 of source3/libads/cldap.c: > > for (i=0; i<num_servers; i++) { > NTSTATUS status; > > status = cldap_socket_init(state->cldap, > NULL, /* local_addr */ > state->servers[i], > &state->cldap[i]); > > if (tevent_req_nterror(req, status)) { > return tevent_req_post(req, ev); > } > > /* Code omitted for brevity */ > > } > > This is i...
2019 Oct 21
5
winbind : suspend nightmare
...referred server list: "fichdc01.samdom.com, *" 07:44:45 Successfully contacted LDAP server 172.16.0.30 07:44:45 Connected to LDAP server fichdc01.samdom.com 07:46:40 connection_ok: Connection to fichdc01.samdom.com for domain SAMDOM is not connected 07:46:40 cldap_multi_netlogon_send: cldap_socket_init failed for ipv4:172.16.0.30:389 error NT_STATUS_NETWORK_UNREACHABLE 07:46:40 ads_cldap_netlogon: did not get a reply 07:46:40 ads_try_connect: CLDAP request 172.16.0.30 failed. 07:46:40 get_dc_list: preferred server list: ", *" 07:46:40 ads_find_dc: failed to find a valid DC on our s...
2019 Oct 23
0
winbind : suspend nightmare
...ot;fichdc01.samdom.com, *" > 07:44:45 Successfully contacted LDAP server 172.16.0.30 > 07:44:45 Connected to LDAP server fichdc01.samdom.com > 07:46:40 connection_ok: Connection to fichdc01.samdom.com for domain > SAMDOM is not connected > 07:46:40 cldap_multi_netlogon_send: cldap_socket_init failed for > ipv4:172.16.0.30:389 error NT_STATUS_NETWORK_UNREACHABLE OK, the above line is the problem. Why does that happen if above we have: 07:44:45 Successfully contacted LDAP server 172.16.0.30 cldap_multi_netlogon_send() does a UDP cldap ping to the server (172.16.0.30). Getting NT_S...
2016 Oct 13
3
Bug 6870 resurfaced in Samba 4.2.10
According to this bugzilla entry, bug 6870 has been fixed as of at least version 3.5: https://bugzilla.samba.org/show_bug.cgi?id=6870 However, I assert that it is present in 4.2.10, which ships with Debian Jessie. On my home network (IPv4 and IPv6), a box with Samba 4.2.10 with IPv6 disabled (via sysctl), will fail to contact a DC because the IPv6 connect fails immediately before the v4