summaryrefslogtreecommitdiffstats
path: root/source4/libcli/resolve
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:libcli/replace: add some RESOLVE_NAME_FLAG* flagsStefan Metzmacher2008-12-184-18/+43
| | | | metze
* s4:libcli/resolve: specify the port for the resulting socket_addressesStefan Metzmacher2008-12-178-9/+25
| | | | metze
* s4:libcli/resolve: optionally return the name that belongs to the returned ↵Stefan Metzmacher2008-12-178-23/+82
| | | | | | | | address E.g. this helps for DNS CNAME and SRV results. metze
* s4:libcli/resolve: pass down flags to the resolver backendsStefan Metzmacher2008-12-178-8/+29
| | | | metze
* s4:libcli/resolve: remove all backend specific sync functionsStefan Metzmacher2008-12-175-85/+0
| | | | metze
* s4:libcli/resolve: let the "host" module use the dns_ex.c codeStefan Metzmacher2008-12-171-183/+11
| | | | | | That means we now return all ip addresses instead of just the first one. metze
* s4:libcli/resolve: add getaddrinfo()/dns_looup() resolvingStefan Metzmacher2008-12-171-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
* s4:libcli/resolve: don't use __RESOLVE_H__ it might be used by system ↵Stefan Metzmacher2008-12-171-3/+3
| | | | | | headers too metze
* s4: fix LIBEVENTS dependencies and use more forward declarationsStefan Metzmacher2008-12-172-1/+1
| | | | | | | We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
* s4:libcli/resolve: add resolve_name_all*() which return all addresses not ↵Stefan Metzmacher2008-12-117-49/+115
| | | | | | only the first one metze
* s4:libcli/resolve: don't ignore SIGCHLD anymoreStefan Metzmacher2008-11-161-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
* Use global iconv convenience rather than global loadparm.Jelmer Vernooij2008-11-021-1/+1
|
* Remove unused include param/param.h.Jelmer Vernooij2008-10-241-1/+0
|
* Make sure prototypes are always included, make some functions static andJelmer Vernooij2008-10-201-0/+1
| | | | remove some unused functions.
* Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij2008-10-121-1/+1
|
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-111-1/+1
|
* - make bcast name resolution match other name resolution modules forAndrew Tridgell2008-09-302-2/+8
| | | | | | host not found errors - when we have no resolve context return NT_STATUS_OBJECT_NAME_NOT_FOUND
* return a more useful error message when no name resolution methods areAndrew Tridgell2008-09-291-0/+4
| | | | available
* s4-nbt: use ../libcli/nbtGünther Deschner2008-09-233-3/+3
| | | | Guenther
* s4-nbt: use private_data instead of private.Günther Deschner2008-09-231-2/+2
| | | | Guenther
* Fix an uninitialized variable introduced by 3045d391Volker Lendecke2008-05-141-2/+1
| | | | | | | Simo, please check! Volker (This used to be commit 0c09d28acf42400d26cc27675e37226060de26d3)
* Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2008-04-213-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)
* Remove more global_loadparm instance.sJelmer Vernooij2008-02-211-1/+2
| | | | (This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
* Remove yet more uses of global_loadparm.Jelmer Vernooij2008-02-213-7/+18
| | | | (This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
* r26437: remove another use of global_loadparm.Jelmer Vernooij2007-12-214-14/+54
| | | | (This used to be commit 703f17bc0986775bf3fe489eb5c876937dabaa9d)
* r26426: Remove uses of global_loadparm.Jelmer Vernooij2007-12-211-5/+6
| | | | (This used to be commit e1d177c8c1101965479f7ade2270490cd6fae4f2)
* r26402: Require a talloc context in libnetif.Jelmer Vernooij2007-12-212-2/+3
| | | | (This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
* r26401: Don't cache interfaces context in libnetif.Jelmer Vernooij2007-12-213-6/+14
| | | | (This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
* r26397: Fix circular dependency in samba-socket.Jelmer Vernooij2007-12-213-22/+47
| | | | (This used to be commit 801c8c766cb6a104751be8829593e0e123508134)
* r26391: samba4 doesn't support 'lmhosts' as resolve moduleStefan Metzmacher2007-12-211-1/+1
| | | | | metze (This used to be commit cdb64b41018928122898257f65d2573109b473cc)
* r26378: Remove use of global_loadparm.Jelmer Vernooij2007-12-212-5/+6
| | | | (This used to be commit 81333de5353ce70512a3ed1d4960c09aa78954c6)
* r26376: Add context for libcli_resolve.Jelmer Vernooij2007-12-216-45/+112
| | | | (This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
* r26325: Remove use of global_loadparm in netif.Jelmer Vernooij2007-12-212-4/+5
| | | | (This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
* r26309: Move specification of port higher up the all stack.Jelmer Vernooij2007-12-211-0/+1
| | | | (This used to be commit 7de55cde7c7fe0141c05c8a38248667ebf3a9033)
* r26264: pass name resolve order explicitly, use torture context for settings ↵Jelmer Vernooij2007-12-211-4/+2
| | | | | | in dssync tests. (This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b)
* r25903: Move more files out of torture/Jelmer Vernooij2007-12-211-0/+90
| | | | (This used to be commit f734df3144cdd9ff280ee1cac2c3a7f972716f5d)
* r25624: Remove ipv4_addr hack. Only causes 4 extra includes of ↵Jelmer Vernooij2007-12-212-4/+5
| | | | | | system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-103-5/+5
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r25430: Add the loadparm context to all parametric options.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
* r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij2007-10-102-2/+2
| | | | (This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
* r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij2007-10-101-1/+1
| | | | | | number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-103-0/+3
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r25001: Fix more C++ and other warnings, fix some of the indentation with ↵Jelmer Vernooij2007-10-102-4/+6
| | | | | | ts=4 lines that I accidently added earlier. (This used to be commit 0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7)
* r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-106-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)
* r21594: give the same error in all resolve backendsStefan Metzmacher2007-10-101-2/+2
| | | | | metze (This used to be commit 5534ba591deb362e30e40afff923af4b890ab7a9)
* r21593: give a more useful error, when we can't resolve a long nameStefan Metzmacher2007-10-101-0/+9
| | | | | | | via broadcast of wins metze (This used to be commit 49591d699653e48f2e9540359e5b4ae97786511c)
* r19645: don't pass NULL as mem_ctx...Stefan Metzmacher2007-10-105-24/+30
| | | | | metze (This used to be commit 643a38bc30a0df1582035b8d264e0dbbc2d2e152)
* r19642: convert host.c to new composite apiStefan Metzmacher2007-10-101-35/+26
| | | | | metze (This used to be commit a5d36a6ddefb8c24e748b839391241da41e31440)
* r19639: convert nbtlist.c to new composite apiStefan Metzmacher2007-10-101-55/+44
| | | | | metze (This used to be commit 800999733eb2f35486a62fb8fa9d179c8ca312fa)