summaryrefslogtreecommitdiff
path: root/source4/torture/nbt/dgram.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-13torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce1-10/+10
2011-06-06s4-ipv6: update callers to load_interface_list()Andrew Tridgell1-3/+3
2011-05-08s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett1-6/+6
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
2011-05-03s4-libcli Remove resolve_name() as it conflicts with Samba3.Andrew Bartlett1-3/+8
This was just a wrapper around resolve_name_ex(), so just call that instead. Andrew Bartlett
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-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
2010-09-16s4-torture assert that we get a temp datagram socket.Andrew Bartlett1-4/+8
I've seen a segfault because we failed to check this isn't NULL before we use it. This will still of course fail, but not so spectacularly. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-24/+24
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>
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-6/+3
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher1-1/+1
The reason for this is that some systems include <rpc/rpc.h> from within system headers. HP-UX 11.00 does so somewhere deep inside of <shadow.h>. For torture/winbind/struct_based.c <rpc/rpc.h> resolves to torture/rpc/rpc.h and breaks the build. metze
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-3/+0
This reduces compile time somewhat.
2009-06-04s4:torture assert that we get a Mailslot allocated before we dereferenceAndrew Bartlett1-0/+2
2009-02-02s4:dgram: s/private/private_dataStefan Metzmacher1-24/+24
metze
2008-10-02The IRIX compiler does not like embedded unnamed unionsVolker Lendecke1-21/+21
2008-08-14Assert on failure to join domain in NBT-DGRAMAndrew Bartlett1-0/+4
(This used to be commit 0a8080d0f245ddf0177195dd8e7fb3e1cdc0785f)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce1-2/+2
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-05-21Correct an assertion in the testsuite.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit c3eeae2ea6a7562b43a436f20c110002ca4d1d2b)
2008-05-21Extend the NBT-DGRAM torture test again.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit f4154846401b31d99c40b2ea53992262095366b0)
2008-05-21Extend the 'netlogon' CLDAP and NBT implementation.Andrew Bartlett1-19/+257
This now handles checking if the user exists, including validating the ACB mask on the user. This would be a nasty security hole, if Kerberos did not already expose this information anonymously... Andrew Bartlett (This used to be commit 441b286c00f9a7743cdefeb243545bdbd2c94c5e)
2008-05-20Revert addition of 'mailslot' parameter.Andrew Bartlett1-2/+1
It turns out that the mailslot name (and a useful private prointer) is provided in the struct dgram_mailslot_handler. Andrew Bartlett (This used to be commit e17804b8857fdb3c182c5e886323b9d6c194c2ff)
2008-05-17Show that the NTLOGON and NETLOGON mailslots are *very* similar.Andrew Bartlett1-0/+25
Rework the mailslot infrustructure to cope, passing down the mailslot name so that we can implement both in the same callback function. Andrew Bartlett (This used to be commit 89fdd77891529aa74bb920994b8b5959aae8ac2d)
2008-05-17Test the use of the domain SID on the NETLOGON mailslotAndrew Bartlett1-4/+61
Interestingly, despite these packets being very similar, this fails on NTLOGON - no reply is received. Andrew Bartlett (This used to be commit 25ab0ad0a0216ef18e0aaeec27c7833d8c68ca30)
2008-05-16Rework the CLDAP and NBT netlogon requests and responses.Andrew Bartlett1-46/+22
This now matches section 7.3.3 of the MS-ATDS specification, and all our current tests pass against windows. There is still more testing to do, and the server implementation to complete. Andrew Bartlett (This used to be commit 431d0c03965cbee85691cd0dc1e2a509c1a2b717)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-3/+3
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-04-17Avoid using event_context_find where possible.Jelmer Vernooij1-1/+1
(This used to be commit 04420b4689bc223202d5bba871e3eea16301e8e9)
2008-04-17Use provided event context rather than looking for it.Jelmer Vernooij1-2/+2
(This used to be commit fd0bb96acea3d7949cf0574bb6f3568a90f67f4e)
2008-02-27Remove more global_loadparm uses.Jelmer Vernooij1-3/+6
(This used to be commit f920e78ea7bb8aa575e6a2ebb5cc53462fbe2fe9)
2007-12-21r26402: Require a talloc context in libnetif.Jelmer Vernooij1-3/+3
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
2007-12-21r26401: Don't cache interfaces context in libnetif.Jelmer Vernooij1-3/+12
(This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
2007-12-21r26376: Add context for libcli_resolve.Jelmer Vernooij1-3/+3
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21r26325: Remove use of global_loadparm in netif.Jelmer Vernooij1-3/+3
(This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
2007-12-21r26311: Move port number specification higher up the call stack.Jelmer Vernooij1-3/+3
(This used to be commit ef946ff09315d90ea0419470ffd06a70498133f2)
2007-12-21r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and ↵Jelmer Vernooij1-1/+1
wbsrv_connection. (This used to be commit 7c008664238ed966cb82adf5b25b22157bb50730)
2007-12-21r26264: pass name resolve order explicitly, use torture context for settings ↵Jelmer Vernooij1-3/+3
in dssync tests. (This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b)
2007-12-21r26252: Specify loadparm_context explicitly when creating sessions.Jelmer Vernooij1-1/+1
(This used to be commit 7280c1e9415daabb2712db1372e23f9846272ede)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-7/+7
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-7/+7
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r25008: Remove use of pstring.Jelmer Vernooij1-1/+1
(This used to be commit c57869e2620de30c303b0cb2f70cd07b32f269fc)
2007-10-10r25004: Avoid talloc_autofree_context() when possible.Jelmer Vernooij1-2/+2
(This used to be commit 79669d28a346c9ae4abc7308070b25e07fe57433)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-2/+2
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-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)
2007-10-10r19698: fix whitespaces...Stefan Metzmacher1-13/+11
metze (This used to be commit fa439f5655654b044eabb4657989d476aa9f5ea9)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-102/+78
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)
2007-10-10r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher1-1/+1
configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+1
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-1/+3
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14379: Build torture/rpc/ as a seperate smbtorture module. Move helperJelmer Vernooij1-2/+1
functions for rpc out of torture/torture.c (This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
2007-10-10r14363: Remove credentials.h from the global includes.Jelmer Vernooij1-0/+1
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij1-0/+3
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13479: Return the joined domain SID and user SID as structures, not strings.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit e1de45bce47292eef1f9c56ea5576c0436e6151d)