summaryrefslogtreecommitdiffstats
path: root/source4/torture/nbt/wins.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:torture/nbt: avoid str_list related const warningsStefan Metzmacher2014-04-021-4/+9
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce2011-08-131-2/+2
|
* s4-ipv6: update callers to load_interface_list()Andrew Tridgell2011-06-061-1/+1
|
* s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2011-05-081-2/+2
| | | | | | | | | The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-111-1/+1
| | | | | | | | This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-12/+12
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:NBT-WINS: test large scopesStefan Metzmacher2010-02-011-0/+37
| | | | metze
* s4:NBT-WINS: pass the expected rcode of the name registration to the test codeStefan Metzmacher2010-02-011-18/+39
| | | | metze
* s4:torture/nbt/wins - Add more castsMatthias Dieter Wallnöfer2009-12-011-6/+12
|
* Fix build with system LDB.Jelmer Vernooij2009-06-181-1/+1
|
* s4:torture Use str_list_make_single where appropriateAndrew Bartlett2009-05-141-10/+10
|
* NBT-WINS: test if the server ignores resent packetsStefan Metzmacher2009-01-191-0/+54
| | | | | metze (from samba4wins tree 24eb7577414c8584b97f43c850d738d3dbb30777)
* NBT-WINS: we don't need the slow low port tests for every nameStefan Metzmacher2009-01-191-18/+19
| | | | | metze (from samba4wins tree 7862deca8555f960a5ef65e6315ce94af5023a2a)
* NBT-WINS: if we're bound to port 137 trigger WACK reponses with timeoutsStefan Metzmacher2009-01-191-2/+107
| | | | | metze (from samba4wins tree de7225658493006c19d139ac77ac1b1ffab01d25)
* NBT-WINS: try to bind to port 137 in the NBT-WINS testStefan Metzmacher2009-01-191-3/+15
| | | | | metze (from samba4wins tree 5e101475d5ed62060c991ea71c943e76b862aeef)
* NBT-WINS: initialize .dest_port explicit (we should fill the whole struct ↵Stefan Metzmacher2009-01-191-0/+1
| | | | | | | | each time) This makes the code more clear. metze
* Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij2008-10-121-4/+4
|
* Add convenience function for creating nbt sockets in torture.Jelmer Vernooij2008-06-051-1/+1
| | | | (This used to be commit 1e6bfb1aa7eba1b92ee4bfb318ba843752a993a9)
* Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2008-04-211-1/+1
| | | | | | | | 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 yet more uses of global_loadparm.Jelmer Vernooij2008-02-211-1/+1
| | | | (This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
* r26409: Pass smb ports along.Jelmer Vernooij2007-12-211-0/+1
| | | | (This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
* r26408: Remove use of global_loadparm.Jelmer Vernooij2007-12-211-0/+2
| | | | (This used to be commit f933b4362124bfdd25544b4e27992d9ca4405848)
* r26402: Require a talloc context in libnetif.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
* r26401: Don't cache interfaces context in libnetif.Jelmer Vernooij2007-12-211-1/+6
| | | | (This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
* r26325: Remove use of global_loadparm in netif.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
* r26309: Move specification of port higher up the all stack.Jelmer Vernooij2007-12-211-0/+2
| | | | (This used to be commit 7de55cde7c7fe0141c05c8a38248667ebf3a9033)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-101-4/+4
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r25004: Avoid talloc_autofree_context() when possible.Jelmer Vernooij2007-10-101-3/+2
| | | | (This used to be commit 79669d28a346c9ae4abc7308070b25e07fe57433)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | 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)
* r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij2007-10-101-215/+115
| | | | | | | | | | | | | | | | | | | output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
* r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher2007-10-101-1/+1
| | | | | | | | | configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
* r14720: Add torture_context argument to all torture testsJelmer Vernooij2007-10-101-1/+2
| | | | (This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
* r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij2007-10-101-0/+1
| | | | | try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
* r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij2007-10-101-0/+3
| | | | | file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
* r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett2007-10-101-1/+14
| | | | | | | | | | | | | | | | | | | | structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
* r12639: - do some tests with 0x20 0x1B namesStefan Metzmacher2007-10-101-4/+16
| | | | | | | | - do some tests with 0xBF and 0xBE, this shows that the '+' padding should be done by the client metze (This used to be commit 5a257ba9811b247a0df2b44c99df00f59dacc1e0)
* r12608: Remove some unused #include lines.Jelmer Vernooij2007-10-101-2/+0
| | | | (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
* r12413: do some testing with 0x1E namesStefan Metzmacher2007-10-101-2/+6
| | | | | metze (This used to be commit b96eadb890a29cfbcff43ede390ef842e16827ad)
* r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinkingJelmer Vernooij2007-10-101-1/+1
| | | | | StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m! (This used to be commit 200a8f6652cb2de7a8037a7a4c2a204b50aee2b1)
* r9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000Andrew Tridgell2007-10-101-1/+1
| | | | | | | | | | | | - fixed ncacn_ip_tcp to use the generic async name resolution methods, so NBT names now work (as requested several times by abartlet!) - changed resolve_name() to take an event_context, so it doesn't cause the whole process to block - cleaned up the talloc_find_parent_bytype() calls to go via a cleaner event_context_find() call (This used to be commit b3d491b210a8b889a25efcb273e70fefbd01b7f7)
* r6933: Add a couple of helper functions for creating nbt names.Tim Potter2007-10-101-3/+1
| | | | (This used to be commit b896daf11c3efb1b3ca939575da9dab82b395777)
* r5411: make network interface selection a bit sanerAndrew Tridgell2007-10-101-1/+1
| | | | | | | | | | | | - if we have no configured network interfaces, then don't start nbtd (when I add dynamic interface loading this will change to a delay until a network interface comes up) - choose the best interface by netmask for torture tests that need a specific IP (such as the WINS test). Added iface_best_ip() for that. - if specific interfaces are chosen in smb.conf, then keep that ordering, and default to the first one listed (This used to be commit 4d08c114079ef6d1d10a96195046fe43631aefa2)
* r5408: - added testing for the behaviour of the special 0x1c nameAndrew Tridgell2007-10-101-3/+10
| | | | | - added WINS server support for the 0x1c name (This used to be commit 1558a545285ae0432c70e0a3e2b132a5132e7b3b)
* r5397: added testing and server support for the special handling required ↵Andrew Tridgell2007-10-101-1/+14
| | | | | | | for the 0x1d local master browser name in WINS (This used to be commit 2650b43ca903fb478d2943fa9bbdba8b2bf74966)
* r5386: added testing of registration of group namesAndrew Tridgell2007-10-101-24/+54
| | | | (This used to be commit 8afe4bd59916f9cc6b8eacd4668f93eb3b736839)
* r5352: added a function nbt_name_string() that formats a nbt_name structureAndrew Tridgell2007-10-101-5/+2
| | | | | | | as a human readable string. The format is designed to be able to be used as the DN for the WINS database as well, while coping with arbitrary bytes in the name (except nul bytes) (This used to be commit aac3090e3504ba07124a9d480322a98efb97175e)
* r5333: weird, w2k3 always sends a positive name release response, even for ↵Andrew Tridgell2007-10-101-0/+22
| | | | | | | names that have never been registered. I wonder if there is some reason? (This used to be commit dbef4fd5c3ae06e22fa6120a57edc0d2988a49a1)
* r5328: - allow case sensitive nbt name lookupsAndrew Tridgell2007-10-101-0/+40
| | | | | | | - added --case-sensitive option to nmblookup - added case sensitivity tests to the NBT-WINS test (This used to be commit 80a95d5688e055b36727e5c043cb36322d719763)
* r5325: - expanded the NBT-WINS test to include scopesAndrew Tridgell2007-10-101-21/+58
| | | | | - fixed the bugs that the new test found (This used to be commit 6d775f12168d51ce92a3f7e17f4bf06357d41a06)
* r5304: removed lib/socket/socket.h from includes.hAndrew Tridgell2007-10-101-0/+1
| | | | (This used to be commit b902ea546d2d1327b23f40ddaeeaa8e7e3662454)