summaryrefslogtreecommitdiff
path: root/source4/torture/nbt
Commit message (Collapse)AuthorAgeFilesLines
* s4: torture: Change torture_register_suite() to add a TALLOC_CTX *.Jeremy Allison2017-05-051-2/+2
| | | | | | | | Change callers to use the passed in TALLOC_CTX * instead of talloc_autofree_context(). Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
* lib: modules: Change XXX_init interface from XXX_init(void) to ↵Jeremy Allison2017-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | XXX_init(TALLOC_CTX *) Not currently used - no logic changes inside. This will make it possible to pass down a long-lived talloc context from the loading function for modules to use instead of having them internally all use talloc_autofree_context() which is a hidden global. Updated all known module interface numbers, and added a WHATSNEW. Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Ralph Böhme <slow@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Apr 22 01:17:00 CEST 2017 on sn-devel-144
* s4-torture: fix gcc6 build warnings.Günther Deschner2016-02-061-2/+7
| | | | | | | | | | | source4/torture/nbt/winsreplication.c:523:30: warning: 'addresses_X_1_2' defined but not used [-Wunused-const-variable] source4/torture/nbt/winsreplication.c:470:30: warning: 'addresses_B_2' defined but not used [-Wunused-const-variable] source4/torture/nbt/winsreplication.c:445:30: warning: 'addresses_A_3_4_X_1_2' defined but not used [-Wunused-const-variable] Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* dlist: remove unneeded type argument from DLIST_ADD_END()Michael Adam2016-02-061-2/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s4:torture/nbt: remove unused variableStefan Metzmacher2014-04-021-2/+0
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* 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>
* s4:torture/nbt: add missing #include "torture/nbt/proto.h"Stefan Metzmacher2014-04-021-0/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s4:torture/nbt/dgram.c - NBT samlogon requests don't return the PDC name as ↵Matthias Dieter Wallnöfer2012-01-041-0/+5
| | | | | | UNC path Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture/nbt/dgram.c: NBT samlogon requests without _EX return the PDC ↵Stefan Metzmacher2012-01-041-0/+22
| | | | | | name as UNC path metze
* smbtorture: avoid sigsev if the password is not correctMatthieu Patou2011-11-261-1/+1
| | | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* nbt: trim down header dependencies of nbt.idl.Günther Deschner2011-11-031-0/+1
| | | | Guenther
* torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce2011-08-135-22/+22
|
* s4-ipv6: update callers to load_interface_list()Andrew Tridgell2011-06-065-8/+8
|
* s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2011-05-085-21/+21
| | | | | | | | | 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-libcli Remove resolve_name() as it conflicts with Samba3.Andrew Bartlett2011-05-032-4/+11
| | | | | | | This was just a wrapper around resolve_name_ex(), so just call that instead. Andrew Bartlett
* s4-torture Remove unused and uncompleated testAndrew Bartlett2011-05-031-54/+0
|
* s4:torture/nbt/winsreplication: ignore incoming broadcast messagesStefan Metzmacher2011-04-301-2/+19
| | | | | | | | | | This will hopefully fix the flakey behavior of the samba4.nbt.winsreplication.owned test. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Apr 30 12:45:01 CEST 2011 on sn-devel-104
* s4:torture/nbt/winsreplication: assert the nbt name before the typeStefan Metzmacher2011-04-301-2/+2
| | | | | | | I hope that will make it easier to find problems with the flakey samba4.nbt.winsreplication.owned test. metze
* s4:torture/nbt/winsreplication: use torture macros in order report failuresStefan Metzmacher2011-04-301-8/+104
| | | | | | | | | | This makes sure we can ignore this failures with the "knownfail" file. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Apr 30 10:37:16 CEST 2011 on sn-devel-104
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-117-10/+8
| | | | | | | | 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
* dns/nbt: Fix spelling of the "authoritative" flag.Kai Blin2010-10-231-10/+10
|
* s3/s4: merge msleep and smb_msleepBjörn Jacke2010-09-161-2/+2
| | | | | the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
* s4-torture assert that we get a temp datagram socket.Andrew Bartlett2010-09-161-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>
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-168-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>
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-184-18/+15
|
* s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher2010-04-141-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
* s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapperStefan Metzmacher2010-03-071-3/+9
| | | | metze
* s4:torture/nbt: use wrepl_associate_stop() instead of build the request by handStefan Metzmacher2010-03-071-9/+4
| | | | metze
* s4:torture/nbt: use wrepl_request() instead of wrepl_request_send() followed ↵Stefan Metzmacher2010-03-071-2/+1
| | | | | | by wrepl_request_recv() metze
* s4:torture/nbt: avoid the usage of wrepl_pull_table_send()Stefan Metzmacher2010-03-051-3/+6
| | | | metze
* s4:NBT-WINSREPLICATION: don't mark a local variable as staticStefan Metzmacher2010-02-021-1/+1
| | | | | | This was somehow introduced in commit 8773e743c518578584d07d35ffdafdd598af88b0. metze
* 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:NBT-WINSREPLICATION: test replication with names including scopesStefan Metzmacher2010-02-011-1/+51
| | | | metze
* s4:NBT-WINSREPLICATION: fix compiler warningsStefan Metzmacher2010-02-011-8/+16
| | | | metze
* s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different namesStefan Metzmacher2010-02-011-10/+7
| | | | metze
* s4:torture/nbt/wins - Add more castsMatthias Dieter Wallnöfer2009-12-011-6/+12
|
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-202-4/+0
| | | | This reduces compile time somewhat.
* Fix build with system LDB.Jelmer Vernooij2009-06-181-1/+1
|
* s4:torture assert that we get a Mailslot allocated before we dereferenceAndrew Bartlett2009-06-041-0/+2
|
* s4:torture Use str_list_make_single where appropriateAndrew Bartlett2009-05-141-10/+10
|
* s4:dgram: s/private/private_dataStefan Metzmacher2009-02-021-24/+24
| | | | metze
* 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
* s4:libcli/wrepl: we don't need to resolve namesStefan Metzmacher2008-12-181-6/+6
| | | | metze
* Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij2008-10-121-4/+4
|
* The IRIX compiler does not like embedded unnamed unionsVolker Lendecke2008-10-021-21/+21
|