summaryrefslogtreecommitdiff
path: root/source4/torture/nbt
AgeCommit message (Collapse)AuthorFilesLines
2010-09-16s3/s4: merge msleep and smb_msleepBjörn Jacke1-2/+2
the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
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 Tridgell8-54/+54
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 Vernooij4-18/+15
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
2010-03-07s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapperStefan Metzmacher1-3/+9
metze
2010-03-07s4:torture/nbt: use wrepl_associate_stop() instead of build the request by handStefan Metzmacher1-9/+4
metze
2010-03-07s4:torture/nbt: use wrepl_request() instead of wrepl_request_send() followed ↵Stefan Metzmacher1-2/+1
by wrepl_request_recv() metze
2010-03-05s4:torture/nbt: avoid the usage of wrepl_pull_table_send()Stefan Metzmacher1-3/+6
metze
2010-02-02s4:NBT-WINSREPLICATION: don't mark a local variable as staticStefan Metzmacher1-1/+1
This was somehow introduced in commit 8773e743c518578584d07d35ffdafdd598af88b0. metze
2010-02-01s4:NBT-WINS: test large scopesStefan Metzmacher1-0/+37
metze
2010-02-01s4:NBT-WINS: pass the expected rcode of the name registration to the test codeStefan Metzmacher1-18/+39
metze
2010-02-01s4:NBT-WINSREPLICATION: test replication with names including scopesStefan Metzmacher1-1/+51
metze
2010-02-01s4:NBT-WINSREPLICATION: fix compiler warningsStefan Metzmacher1-8/+16
metze
2010-02-01s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different namesStefan Metzmacher1-10/+7
metze
2009-12-01s4:torture/nbt/wins - Add more castsMatthias Dieter Wallnöfer1-6/+12
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2-4/+0
This reduces compile time somewhat.
2009-06-18Fix build with system LDB.Jelmer Vernooij1-1/+1
2009-06-04s4:torture assert that we get a Mailslot allocated before we dereferenceAndrew Bartlett1-0/+2
2009-05-14s4:torture Use str_list_make_single where appropriateAndrew Bartlett1-10/+10
2009-02-02s4:dgram: s/private/private_dataStefan Metzmacher1-24/+24
metze
2009-01-19NBT-WINS: test if the server ignores resent packetsStefan Metzmacher1-0/+54
metze (from samba4wins tree 24eb7577414c8584b97f43c850d738d3dbb30777)
2009-01-19NBT-WINS: we don't need the slow low port tests for every nameStefan Metzmacher1-18/+19
metze (from samba4wins tree 7862deca8555f960a5ef65e6315ce94af5023a2a)
2009-01-19NBT-WINS: if we're bound to port 137 trigger WACK reponses with timeoutsStefan Metzmacher1-2/+107
metze (from samba4wins tree de7225658493006c19d139ac77ac1b1ffab01d25)
2009-01-19NBT-WINS: try to bind to port 137 in the NBT-WINS testStefan Metzmacher1-3/+15
metze (from samba4wins tree 5e101475d5ed62060c991ea71c943e76b862aeef)
2009-01-19NBT-WINS: initialize .dest_port explicit (we should fill the whole struct ↵Stefan Metzmacher1-0/+1
each time) This makes the code more clear. metze
2008-12-18s4:libcli/wrepl: we don't need to resolve namesStefan Metzmacher1-6/+6
metze
2008-10-12Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij1-4/+4
2008-10-02The IRIX compiler does not like embedded unnamed unionsVolker Lendecke1-21/+21
2008-09-23s4-nbt: use ../libcli/nbtGünther Deschner1-1/+1
Guenther
2008-09-23s4-nbt: use private_data instead of private.Günther Deschner3-11/+11
Guenther
2008-08-15Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett1-6/+6
(This used to be commit b337369d5c86b37d93ee1c62880068e14d6c09f6)
2008-08-14NBT-WINSREPLICATION: be more robust to timing errorsStefan Metzmacher1-6/+6
Also reenable disabled tests. metze (This used to be commit 76878a9c798e0acb0387b8352972d66db989c09a)
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-06-05Add convenience function for creating nbt sockets in torture.Jelmer Vernooij4-7/+9
(This used to be commit 1e6bfb1aa7eba1b92ee4bfb318ba843752a993a9)
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-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+1
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce8-19/+19
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-21Remove another global_loadparm instance.Jelmer Vernooij1-6/+6
(This used to be commit ccb29c0b463f5ccb53553f0a1c411ad77a84482a)
2008-02-21Remove yet more uses of global_loadparm.Jelmer Vernooij5-15/+18
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
2008-02-21Remove more global_loadparm uses.Jelmer Vernooij1-3/+6
(This used to be commit 4d6fd9381f7fe4c823b47ebc43d7b272a92edffd)