Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-01-06 | s4: Fix result check for getaddrinfo() | Kamen Mazdrashki | 1 | -6/+11 | |
I think this completes commit 50feca550eed7828198b7c0fc5f0e5ddc863313d. Now result should be handled correctly both for systems that support EAI_NODATA but returns EAI_NONAME (as my Ubuntu 9.x) and systems that doesn't support EAI_NODATA at all. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-09-19 | s4-resolve: fixed a crash bug on timeout | Andrew Tridgell | 1 | -3/+5 | |
We were creating the name resolution context as a child of lp_ctx, which meant when we gave up on a connection the timer on name resolution kept running, and when it timed out the callback crashed as the socket was already removed. | |||||
2009-09-11 | s4/libcli: when we get a DNS lookup failure show the name | Andrew Tridgell | 1 | -0/+2 | |
When tracking down complex connection problems its useful knowing what name lookups failed. | |||||
2009-06-12 | s4:heimdal: import lorikeet-heimdal-200906080040 (commit ↵ | Andrew Bartlett | 1 | -16/+16 | |
904d0124b46eed7a8ad6e5b73e892ff34b6865ba) Also including the supporting changes required to pass make test A number of heimdal functions and constants have changed since we last imported a tree (for the better, but inconvenient for us). Andrew Bartlett | |||||
2009-02-02 | s4:resolve/dns_ex: undefine class because it's used in ↵ | Stefan Metzmacher | 1 | -0/+5 | |
heimdal/lib/roken/resolve.h metze | |||||
2008-12-30 | s4: simplify some overly-complicated logic | Tim Prouty | 1 | -1/+1 | |
2008-12-29 | s4:lib/tevent: rename structs | Stefan Metzmacher | 8 | -14/+14 | |
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze | |||||
2008-12-22 | s4: Fix a getaddrinfo/EAI_NODATA portability issue | Tim Prouty | 1 | -0/+4 | |
FreeBSD has explicitly deprecated EAI_NODATA as a return value from getaddrinfo by removing it from netdb.h. On systems that don't have EAI_NODATA, EAI_NONAME should be used instead. | |||||
2008-12-18 | s4:libcli/replace: add some RESOLVE_NAME_FLAG* flags | Stefan Metzmacher | 4 | -18/+43 | |
metze | |||||
2008-12-17 | s4:libcli/resolve: specify the port for the resulting socket_addresses | Stefan Metzmacher | 8 | -9/+25 | |
metze | |||||
2008-12-17 | s4:libcli/resolve: optionally return the name that belongs to the returned ↵ | Stefan Metzmacher | 8 | -23/+82 | |
address E.g. this helps for DNS CNAME and SRV results. metze | |||||
2008-12-17 | s4:libcli/resolve: pass down flags to the resolver backends | Stefan Metzmacher | 8 | -8/+29 | |
metze | |||||
2008-12-17 | s4:libcli/resolve: remove all backend specific sync functions | Stefan Metzmacher | 5 | -85/+0 | |
metze | |||||
2008-12-17 | s4:libcli/resolve: let the "host" module use the dns_ex.c code | Stefan Metzmacher | 1 | -183/+11 | |
That means we now return all ip addresses instead of just the first one. metze | |||||
2008-12-17 | s4:libcli/resolve: add getaddrinfo()/dns_looup() resolving | Stefan Metzmacher | 1 | -0/+484 | |
This "dns_ex" module provides flexible lookup methods for dns lookups. The getaddrinfo() part looks at /etc/hosts and dns. As it handles CNAME replies badly we fallback to use dns_lookup(name, "A"). The dns_lookup() makes DNS SRV lookups possible. This module is not a real resolve module, it's just a generic helper as the nbtlist.c code is. The next step will be that the "host" module will use the dns_ex.c code. metze | |||||
2008-12-17 | s4:libcli/resolve: don't use __RESOLVE_H__ it might be used by system ↵ | Stefan Metzmacher | 1 | -3/+3 | |
headers too metze | |||||
2008-12-17 | s4: fix LIBEVENTS dependencies and use more forward declarations | Stefan Metzmacher | 2 | -1/+1 | |
We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze | |||||
2008-12-11 | s4:libcli/resolve: add resolve_name_all*() which return all addresses not ↵ | Stefan Metzmacher | 7 | -49/+115 | |
only the first one metze | |||||
2008-11-16 | s4:libcli/resolve: don't ignore SIGCHLD anymore | Stefan Metzmacher | 1 | -7/+15 | |
This broke ldbedit against a LDAP server, as the editor is called by "system()" which relies on getting something useful out of waitpid(). TODO: we should create a generic infrastructure to handle temporary forks and integrate the signal handling with signal events there. metze | |||||
2008-11-02 | Use global iconv convenience rather than global loadparm. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-24 | Remove unused include param/param.h. | Jelmer Vernooij | 1 | -1/+0 | |
2008-10-20 | Make sure prototypes are always included, make some functions static and | Jelmer Vernooij | 1 | -0/+1 | |
remove some unused functions. | |||||
2008-10-12 | Use common strlist implementation in Samba 3 and Samba 4. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-11 | Fix include paths to new location of libutil. | Jelmer Vernooij | 1 | -1/+1 | |
2008-09-30 | - make bcast name resolution match other name resolution modules for | Andrew Tridgell | 2 | -2/+8 | |
host not found errors - when we have no resolve context return NT_STATUS_OBJECT_NAME_NOT_FOUND | |||||
2008-09-29 | return a more useful error message when no name resolution methods are | Andrew Tridgell | 1 | -0/+4 | |
available | |||||
2008-09-23 | s4-nbt: use ../libcli/nbt | Günther Deschner | 3 | -3/+3 | |
Guenther | |||||
2008-09-23 | s4-nbt: use private_data instead of private. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2008-05-14 | Fix an uninitialized variable introduced by 3045d391 | Volker Lendecke | 1 | -2/+1 | |
Simo, please check! Volker (This used to be commit 0c09d28acf42400d26cc27675e37226060de26d3) | |||||
2008-04-21 | Remove more event_context_init() uses from function calls within deep down ↵ | Simo Sorce | 3 | -12/+5 | |
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9) | |||||
2008-02-21 | Remove more global_loadparm instance.s | Jelmer Vernooij | 1 | -1/+2 | |
(This used to be commit a1280252ce924df69d911e597b7f65d8038abef9) | |||||
2008-02-21 | Remove yet more uses of global_loadparm. | Jelmer Vernooij | 3 | -7/+18 | |
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd) | |||||
2007-12-21 | r26437: remove another use of global_loadparm. | Jelmer Vernooij | 4 | -14/+54 | |
(This used to be commit 703f17bc0986775bf3fe489eb5c876937dabaa9d) | |||||
2007-12-21 | r26426: Remove uses of global_loadparm. | Jelmer Vernooij | 1 | -5/+6 | |
(This used to be commit e1d177c8c1101965479f7ade2270490cd6fae4f2) | |||||
2007-12-21 | r26402: Require a talloc context in libnetif. | Jelmer Vernooij | 2 | -2/+3 | |
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50) | |||||
2007-12-21 | r26401: Don't cache interfaces context in libnetif. | Jelmer Vernooij | 3 | -6/+14 | |
(This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153) | |||||
2007-12-21 | r26397: Fix circular dependency in samba-socket. | Jelmer Vernooij | 3 | -22/+47 | |
(This used to be commit 801c8c766cb6a104751be8829593e0e123508134) | |||||
2007-12-21 | r26391: samba4 doesn't support 'lmhosts' as resolve module | Stefan Metzmacher | 1 | -1/+1 | |
metze (This used to be commit cdb64b41018928122898257f65d2573109b473cc) | |||||
2007-12-21 | r26378: Remove use of global_loadparm. | Jelmer Vernooij | 2 | -5/+6 | |
(This used to be commit 81333de5353ce70512a3ed1d4960c09aa78954c6) | |||||
2007-12-21 | r26376: Add context for libcli_resolve. | Jelmer Vernooij | 6 | -45/+112 | |
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc) | |||||
2007-12-21 | r26325: Remove use of global_loadparm in netif. | Jelmer Vernooij | 2 | -4/+5 | |
(This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6) | |||||
2007-12-21 | r26309: Move specification of port higher up the all stack. | Jelmer Vernooij | 1 | -0/+1 | |
(This used to be commit 7de55cde7c7fe0141c05c8a38248667ebf3a9033) | |||||
2007-12-21 | r26264: pass name resolve order explicitly, use torture context for settings ↵ | Jelmer Vernooij | 1 | -4/+2 | |
in dssync tests. (This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b) | |||||
2007-12-21 | r25903: Move more files out of torture/ | Jelmer Vernooij | 1 | -0/+90 | |
(This used to be commit f734df3144cdd9ff280ee1cac2c3a7f972716f5d) | |||||
2007-12-21 | r25624: Remove ipv4_addr hack. Only causes 4 extra includes of ↵ | Jelmer Vernooij | 2 | -4/+5 | |
system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf) | |||||
2007-10-10 | r25554: Convert last instances of BOOL, True and False to the standard types. | Jelmer Vernooij | 3 | -5/+5 | |
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9) | |||||
2007-10-10 | r25430: Add the loadparm context to all parametric options. | Jelmer Vernooij | 1 | -1/+1 | |
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58) | |||||
2007-10-10 | r25398: Parse loadparm context to all lp_*() functions. | Jelmer Vernooij | 2 | -2/+2 | |
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238) | |||||
2007-10-10 | r25035: Fix some more warnings, use service pointer rather than service ↵ | Jelmer Vernooij | 1 | -1/+1 | |
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f) | |||||
2007-10-10 | r25026: Move param/param.h out of includes.h | Jelmer Vernooij | 3 | -0/+3 | |
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31) |