summaryrefslogtreecommitdiff
path: root/source4/libcli/resolve
AgeCommit message (Collapse)AuthorFilesLines
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher8-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-22s4: Fix a getaddrinfo/EAI_NODATA portability issueTim Prouty1-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-18s4:libcli/replace: add some RESOLVE_NAME_FLAG* flagsStefan Metzmacher4-18/+43
metze
2008-12-17s4:libcli/resolve: specify the port for the resulting socket_addressesStefan Metzmacher8-9/+25
metze
2008-12-17s4:libcli/resolve: optionally return the name that belongs to the returned ↵Stefan Metzmacher8-23/+82
address E.g. this helps for DNS CNAME and SRV results. metze
2008-12-17s4:libcli/resolve: pass down flags to the resolver backendsStefan Metzmacher8-8/+29
metze
2008-12-17s4:libcli/resolve: remove all backend specific sync functionsStefan Metzmacher5-85/+0
metze
2008-12-17s4:libcli/resolve: let the "host" module use the dns_ex.c codeStefan Metzmacher1-183/+11
That means we now return all ip addresses instead of just the first one. metze
2008-12-17s4:libcli/resolve: add getaddrinfo()/dns_looup() resolvingStefan Metzmacher1-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-17s4:libcli/resolve: don't use __RESOLVE_H__ it might be used by system ↵Stefan Metzmacher1-3/+3
headers too metze
2008-12-17s4: fix LIBEVENTS dependencies and use more forward declarationsStefan Metzmacher2-1/+1
We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
2008-12-11s4:libcli/resolve: add resolve_name_all*() which return all addresses not ↵Stefan Metzmacher7-49/+115
only the first one metze
2008-11-16s4:libcli/resolve: don't ignore SIGCHLD anymoreStefan Metzmacher1-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-02Use global iconv convenience rather than global loadparm.Jelmer Vernooij1-1/+1
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-0/+1
remove some unused functions.
2008-10-12Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij1-1/+1
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-09-30- make bcast name resolution match other name resolution modules forAndrew Tridgell2-2/+8
host not found errors - when we have no resolve context return NT_STATUS_OBJECT_NAME_NOT_FOUND
2008-09-29return a more useful error message when no name resolution methods areAndrew Tridgell1-0/+4
available
2008-09-23s4-nbt: use ../libcli/nbtGünther Deschner3-3/+3
Guenther
2008-09-23s4-nbt: use private_data instead of private.Günther Deschner1-2/+2
Guenther
2008-05-14Fix an uninitialized variable introduced by 3045d391Volker Lendecke1-2/+1
Simo, please check! Volker (This used to be commit 0c09d28acf42400d26cc27675e37226060de26d3)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce3-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-21Remove more global_loadparm instance.sJelmer Vernooij1-1/+2
(This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
2008-02-21Remove yet more uses of global_loadparm.Jelmer Vernooij3-7/+18
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
2007-12-21r26437: remove another use of global_loadparm.Jelmer Vernooij4-14/+54
(This used to be commit 703f17bc0986775bf3fe489eb5c876937dabaa9d)
2007-12-21r26426: Remove uses of global_loadparm.Jelmer Vernooij1-5/+6
(This used to be commit e1d177c8c1101965479f7ade2270490cd6fae4f2)
2007-12-21r26402: Require a talloc context in libnetif.Jelmer Vernooij2-2/+3
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
2007-12-21r26401: Don't cache interfaces context in libnetif.Jelmer Vernooij3-6/+14
(This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
2007-12-21r26397: Fix circular dependency in samba-socket.Jelmer Vernooij3-22/+47
(This used to be commit 801c8c766cb6a104751be8829593e0e123508134)
2007-12-21r26391: samba4 doesn't support 'lmhosts' as resolve moduleStefan Metzmacher1-1/+1
metze (This used to be commit cdb64b41018928122898257f65d2573109b473cc)
2007-12-21r26378: Remove use of global_loadparm.Jelmer Vernooij2-5/+6
(This used to be commit 81333de5353ce70512a3ed1d4960c09aa78954c6)
2007-12-21r26376: Add context for libcli_resolve.Jelmer Vernooij6-45/+112
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21r26325: Remove use of global_loadparm in netif.Jelmer Vernooij2-4/+5
(This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
2007-12-21r26309: Move specification of port higher up the all stack.Jelmer Vernooij1-0/+1
(This used to be commit 7de55cde7c7fe0141c05c8a38248667ebf3a9033)
2007-12-21r26264: pass name resolve order explicitly, use torture context for settings ↵Jelmer Vernooij1-4/+2
in dssync tests. (This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b)
2007-12-21r25903: Move more files out of torture/Jelmer Vernooij1-0/+90
(This used to be commit f734df3144cdd9ff280ee1cac2c3a7f972716f5d)
2007-12-21r25624: Remove ipv4_addr hack. Only causes 4 extra includes of ↵Jelmer Vernooij2-4/+5
system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij3-5/+5
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-1/+1
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij2-2/+2
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij3-0/+3
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r25001: Fix more C++ and other warnings, fix some of the indentation with ↵Jelmer Vernooij2-4/+6
ts=4 lines that I accidently added earlier. (This used to be commit 0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-1/+1
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell6-18/+12
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r21594: give the same error in all resolve backendsStefan Metzmacher1-2/+2
metze (This used to be commit 5534ba591deb362e30e40afff923af4b890ab7a9)
2007-10-10r21593: give a more useful error, when we can't resolve a long nameStefan Metzmacher1-0/+9
via broadcast of wins metze (This used to be commit 49591d699653e48f2e9540359e5b4ae97786511c)
2007-10-10r19645: don't pass NULL as mem_ctx...Stefan Metzmacher5-24/+30
metze (This used to be commit 643a38bc30a0df1582035b8d264e0dbbc2d2e152)