Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Stefan Metzmacher
e1e2195a4a
s4:torture/rpc: rename rpc.h => torture_rpc.h
...
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-04-14 20:27:11 +02:00
Stefan Metzmacher
2450fc1c27
s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapper
...
metze
2010-03-07 16:52:36 +01:00
Stefan Metzmacher
fc41e4791f
s4:torture/nbt: use wrepl_associate_stop() instead of build the request by hand
...
metze
2010-03-07 16:52:34 +01:00
Stefan Metzmacher
6dfc96c329
s4:torture/nbt: use wrepl_request() instead of wrepl_request_send() followed by wrepl_request_recv()
...
metze
2010-03-07 16:52:34 +01:00
Stefan Metzmacher
4c51c07380
s4:torture/nbt: avoid the usage of wrepl_pull_table_send()
...
metze
2010-03-05 14:09:00 +01:00
Stefan Metzmacher
e3aeea29a4
s4:NBT-WINSREPLICATION: don't mark a local variable as static
...
This was somehow introduced in commit 8773e743c518578584d07d35ffdafdd598af88b0.
metze
2010-02-02 07:18:15 +01:00
Stefan Metzmacher
431d75fc9c
s4:NBT-WINS: test large scopes
...
metze
2010-02-01 15:32:38 +01:00
Stefan Metzmacher
70779a46a7
s4:NBT-WINS: pass the expected rcode of the name registration to the test code
...
metze
2010-02-01 15:32:36 +01:00
Stefan Metzmacher
c1d8dc01fc
s4:NBT-WINSREPLICATION: test replication with names including scopes
...
metze
2010-02-01 15:23:35 +01:00
Stefan Metzmacher
331505f09d
s4:NBT-WINSREPLICATION: fix compiler warnings
...
metze
2010-02-01 15:23:34 +01:00
Stefan Metzmacher
07b06e51bb
s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different names
...
metze
2010-02-01 15:23:33 +01:00
Matthias Dieter Wallnöfer
262d26d05a
s4:torture/nbt/wins - Add more casts
2009-12-01 16:48:38 +11:00
Andrew Tridgell
84d0047377
s4-torture: ran minimal_includes.pl over source4/torture
...
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Jelmer Vernooij
4657f52c06
Fix build with system LDB.
2009-06-18 01:21:35 +02:00
Andrew Bartlett
44f762c30d
s4:torture assert that we get a Mailslot allocated before we dereference
2009-06-04 15:10:36 +10:00
Andrew Bartlett
5182b10b7a
s4:torture Use str_list_make_single where appropriate
2009-05-14 05:56:59 +10:00
Stefan Metzmacher
e08dfe008e
s4:dgram: s/private/private_data
...
metze
2009-02-02 13:08:48 +01:00
Stefan Metzmacher
4a878115a7
NBT-WINS: test if the server ignores resent packets
...
metze
(from samba4wins tree 24eb7577414c8584b97f43c850d738d3dbb30777)
2009-01-19 07:05:23 +01:00
Stefan Metzmacher
1ffcebbf0f
NBT-WINS: we don't need the slow low port tests for every name
...
metze
(from samba4wins tree 7862deca8555f960a5ef65e6315ce94af5023a2a)
2009-01-19 07:05:23 +01:00
Stefan Metzmacher
462e4d0cef
NBT-WINS: if we're bound to port 137 trigger WACK reponses with timeouts
...
metze
(from samba4wins tree de7225658493006c19d139ac77ac1b1ffab01d25)
2009-01-19 07:05:22 +01:00
Stefan Metzmacher
384b9f709a
NBT-WINS: try to bind to port 137 in the NBT-WINS test
...
metze
(from samba4wins tree 5e101475d5ed62060c991ea71c943e76b862aeef)
2009-01-19 07:05:22 +01:00
Stefan Metzmacher
3b91640fbb
NBT-WINS: initialize .dest_port explicit (we should fill the whole struct each time)
...
This makes the code more clear.
metze
2009-01-19 07:05:20 +01:00
Stefan Metzmacher
4f5b8b68d5
s4:libcli/wrepl: we don't need to resolve names
...
metze
2008-12-18 13:32:50 +01:00
Jelmer Vernooij
218f482fbf
Use common strlist implementation in Samba 3 and Samba 4.
2008-10-12 00:56:56 +02:00
Volker Lendecke
af1c802791
The IRIX compiler does not like embedded unnamed unions
2008-10-02 08:09:25 +02:00
Günther Deschner
a1a92688ba
s4-nbt: use ../libcli/nbt
...
Guenther
2008-09-23 09:37:24 +02:00
Günther Deschner
13a3971438
s4-nbt: use private_data instead of private.
...
Guenther
2008-09-23 09:37:24 +02:00
Andrew Bartlett
ac503b140d
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit b337369d5c86b37d93ee1c62880068e14d6c09f6)
2008-08-15 07:58:03 +10:00
Stefan Metzmacher
8b585deae4
NBT-WINSREPLICATION: be more robust to timing errors
...
Also reenable disabled tests.
metze
(This used to be commit 76878a9c798e0acb0387b8352972d66db989c09a)
2008-08-14 13:13:48 +02:00
Andrew Bartlett
cb98944be3
Assert on failure to join domain in NBT-DGRAM
...
(This used to be commit 0a8080d0f245ddf0177195dd8e7fb3e1cdc0785f)
2008-08-14 11:54:19 +10:00
Simo Sorce
929adc9efa
Make up the right dependencies now that ldb depends on libevents
...
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-06-14 11:59:19 -04:00
Jelmer Vernooij
d05ca8cbba
Add convenience function for creating nbt sockets in torture.
...
(This used to be commit 1e6bfb1aa7eba1b92ee4bfb318ba843752a993a9)
2008-06-05 22:02:41 +02:00
Andrew Bartlett
59105620dc
Correct an assertion in the testsuite.
...
Andrew Bartlett
(This used to be commit c3eeae2ea6a7562b43a436f20c110002ca4d1d2b)
2008-05-21 14:49:47 +10:00
Andrew Bartlett
52a3c96a89
Extend the NBT-DGRAM torture test again.
...
Andrew Bartlett
(This used to be commit f4154846401b31d99c40b2ea53992262095366b0)
2008-05-21 14:28:17 +10:00
Andrew Bartlett
f67156fc92
Extend the 'netlogon' CLDAP and NBT implementation.
...
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-21 12:37:36 +10:00
Andrew Bartlett
aa90730e0c
Revert addition of 'mailslot' parameter.
...
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-20 11:54:50 +10:00
Andrew Bartlett
4f557d7954
Show that the NTLOGON and NETLOGON mailslots are *very* similar.
...
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-17 13:24:29 +10:00
Andrew Bartlett
ceb2e20f7d
Test the use of the domain SID on the NETLOGON mailslot
...
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-17 12:39:38 +10:00
Andrew Bartlett
58e7f253ea
Rework the CLDAP and NBT netlogon requests and responses.
...
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-05-16 13:03:01 +10:00
Jelmer Vernooij
1e973565b6
Move subunit infrastructure code into lib/torture.
...
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-27 14:02:46 +01:00
Simo Sorce
4e83011f72
Remove more event_context_init() uses from function calls within deep down 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-21 18:12:33 -04:00
Jelmer Vernooij
a145d21de6
Avoid using event_context_find where possible.
...
(This used to be commit 04420b4689bc223202d5bba871e3eea16301e8e9)
2008-04-17 01:37:02 +02:00
Jelmer Vernooij
06d06c6c94
Use provided event context rather than looking for it.
...
(This used to be commit fd0bb96acea3d7949cf0574bb6f3568a90f67f4e)
2008-04-17 01:19:20 +02:00
Jelmer Vernooij
4590432d62
Remove another global_loadparm instance.
...
(This used to be commit ccb29c0b463f5ccb53553f0a1c411ad77a84482a)
2008-02-21 18:43:02 +01:00
Jelmer Vernooij
c38c2765d1
Remove yet more uses of global_loadparm.
...
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
2008-02-21 17:17:37 +01:00
Jelmer Vernooij
5f9abf527a
Remove more global_loadparm uses.
...
(This used to be commit 4d6fd9381f7fe4c823b47ebc43d7b272a92edffd)
2008-02-21 16:18:23 +01:00
Jelmer Vernooij
0500b87092
r26540: Revert my previous commit after concerns raised by Andrew.
...
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
3e75f222bc
r26539: Remove unnecessary statics.
...
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
2007-12-21 05:52:05 +01:00
Jelmer Vernooij
aa32619c5c
r26426: Remove uses of global_loadparm.
...
(This used to be commit e1d177c8c1101965479f7ade2270490cd6fae4f2)
2007-12-21 05:49:52 +01:00