summaryrefslogtreecommitdiff
path: root/source3/libsmb/namequery.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-23Move source3/libads/dns.c to lib/addnsSimo Sorce1-1/+1
2012-05-23s3-ads-dns: Break dependency on lp_parmSimo Sorce1-3/+8
In preparation of making this code common to s3 and s4
2012-05-22Added torture test for bug #8910. Test remove_duplicate_addrs2().Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 22 01:31:17 CEST 2012 on sn-devel-104
2012-04-30Fix the loop unrolling inside resolve_ads(). If we don't getJeremy Allison1-34/+73
an IP list don't use interpret_string_addr(), as this only returns one address, use interpret_string_addr_internal() instead. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 30 23:21:16 CEST 2012 on sn-devel-104
2012-04-30Protect all of the name resolution methods from returning null addrs. Ensure ↵Jeremy Allison1-9/+19
all returns go through remove_duplicate_addrs2().
2012-04-30Fix convert_ss2service() to filter out zero addresses.Jeremy Allison1-12/+33
2012-04-30Fix remove_duplicate_addrs2 to do exactly what it says. Previously it could ↵Jeremy Allison1-10/+9
leave zero addresses in the list.
2012-02-26s3: Remove pointless parenthesesVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sun Feb 26 11:10:15 CET 2012 on sn-devel-104
2011-11-03nbt: trim down header dependencies of nbt.idl.Günther Deschner1-0/+1
Guenther
2011-09-13s3: Make saf_join_key() use tallocVolker Lendecke1-12/+20
2011-09-13s3: Make saf_key() use tallocVolker Lendecke1-12/+20
2011-09-13s3: Disentangle resolve_name() a bitVolker Lendecke1-3/+5
2011-06-20Use tevent_req_oomVolker Lendecke1-4/+4
This fixes a few Coverity errors
2011-06-19s3: Remove unused name_queriesVolker Lendecke1-34/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 19 15:14:38 CEST 2011 on sn-devel-104
2011-06-19s3: Fix some type-punned warningsVolker Lendecke1-7/+8
2011-06-19s3: Add name_resolve_bcast_send/recvVolker Lendecke1-20/+97
2011-06-19s3: Fix a memleak in name_resolve_bcastVolker Lendecke1-4/+7
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 19 12:40:55 CEST 2011 on sn-devel-104
2011-06-12s3: Use resolve_wins_send/recv in resolve_winsVolker Lendecke1-110/+15
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 12 18:19:41 CEST 2011 on sn-devel-104
2011-06-12s3: Add resolve_wins_send/recvVolker Lendecke1-0/+177
2011-06-12s3: Add query_wins_list_send/recvVolker Lendecke1-0/+144
2011-06-12s3: Fix IO_TIMEOUT handling for wins queriesVolker Lendecke1-3/+12
2011-06-12s3: Remove "struct ip_service" from resolve_winsVolker Lendecke1-9/+13
2011-06-09s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett1-3/+3
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
2011-06-07s3: Remove unused variablesVolker Lendecke1-2/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jun 7 00:42:51 CEST 2011 on sn-devel-104
2011-06-05s3: Make name_resolve_bcast do parallel lookups to all interfacesVolker Lendecke1-21/+19
2011-06-05s3: Add name_queries_send/recvVolker Lendecke1-0/+231
2011-05-14s3: Make&use set_socket_addr_v4Volker Lendecke1-12/+14
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 14 18:57:57 CEST 2011 on sn-devel-104
2011-05-05More simple const fixes.Jeremy Allison1-11/+11
2011-05-04s3: Filter out duplicates in name_query()Volker Lendecke1-2/+18
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 00:03:47 CEST 2011 on sn-devel-104
2011-05-03s3: Tune broadcast namequeries for unique namesVolker Lendecke1-3/+9
If we get a unique name via a broadcast query, there's no point in waiting the full timeout. A unique name is just what its name says: unique. No point in waiting longer. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 3 00:57:24 CEST 2011 on sn-devel-104
2011-04-30s3: Make name_resolve_bcast return sockaddr_storageVolker Lendecke1-9/+12
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 30 20:40:46 CEST 2011 on sn-devel-104
2011-04-29s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
2011-04-27s3-libsmb Use 'resolv:hosts file' as a DNS emulation when specified.Andrew Bartlett1-0/+27
This allows make test to operate without making real DNS calls. Andrew Bartlett
2011-04-25s3: Remove unused codeVolker Lendecke1-6/+0
This is done in name_query_send these days Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 19:24:58 CEST 2011 on sn-devel-104
2011-04-25s3: Move setting the name_query timeoutVolker Lendecke1-9/+9
An async caller might want a different timeout behaviour
2011-03-30s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner1-1/+0
Guenther
2011-03-30s3-libsmb: put namequery headers to nmblib.hGünther Deschner1-0/+1
We might find a better name for it and merge other namequery related things as well here... Guenther
2011-02-27s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke1-7/+7
All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
2011-02-09s3: move some stuff out of smb.h to better locations.Günther Deschner1-0/+3
Guenther
2011-01-07netlogon: move netlogon helpers to ../libcli/netlogon.Günther Deschner1-1/+1
Guenther
2011-01-07s3: Remove some unused codeVolker Lendecke1-26/+0
2011-01-07s3: Make name_query use /tmp/.nmbd/unexpectedVolker Lendecke1-215/+264
2011-01-07s3: Make node_status_query use /tmp/.nmbd/unexpectedVolker Lendecke1-65/+174
2011-01-07s3: Add nb_trans_send/recvVolker Lendecke1-0/+197
This does an async port 137 transaction: It connects to /tmp/.nmbd/unexpected, sends out the query and then waits for a reply on both the socket as well as data from /tmp/.nmbd/unexpected. Every packet is passed through a validator. If that returns true, the packet received is finally accepted.
2011-01-07s3: Add sock_packet_readVolker Lendecke1-0/+215
Read packets from both a socket and from /tmp/.nmbd/unexpected simultaneously
2010-12-30s3: Fix two uninitialized variablesVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 30 12:52:47 CET 2010 on sn-devel-104
2010-12-28s3: Make name_query return NTSTATUSVolker Lendecke1-20/+26
Also use talloc for the result Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 28 18:21:05 CET 2010 on sn-devel-104
2010-12-28s3: Make node_status_query return NTSTATUSVolker Lendecke1-20/+31
Also make the result talloc'ed Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 28 13:46:59 CET 2010 on sn-devel-104