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
Jelmer Vernooij
4b0199a549
r26409: Pass smb ports along.
...
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
33582dffcc
r26408: Remove use of global_loadparm.
...
(This used to be commit f933b4362124bfdd25544b4e27992d9ca4405848)
2007-12-21 05:49:39 +01:00
Jelmer Vernooij
70f1f33af8
r26402: Require a talloc context in libnetif.
...
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
2007-12-21 05:49:33 +01:00
Jelmer Vernooij
6f2252dace
r26401: Don't cache interfaces context in libnetif.
...
(This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
2007-12-21 05:49:32 +01:00
Jelmer Vernooij
f055893ca5
r26382: Remove more uses of global_loadparm.
...
(This used to be commit 6d4c59853481855c232e7cf97264a391f40af2b5)
2007-12-21 05:49:17 +01:00
Jelmer Vernooij
274d07ddff
r26381: Move global_loadparm higher up the call stack.
...
(This used to be commit 992296767492ecd7d21b06f4a08a5b8d73d00740)
2007-12-21 05:49:16 +01:00
Jelmer Vernooij
237059838c
r26380: Specify port number higher up the call stack.
...
(This used to be commit 77273e250cacb1df0e8bd676e0948175ccd2330a)
2007-12-21 05:49:13 +01:00
Jelmer Vernooij
5f4842cf65
r26376: Add context for libcli_resolve.
...
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
bca631be1f
r26329: Fix more loadparm_context references. Only about a 100 left now.
...
(This used to be commit ddf233346d848e91bc6a6a572f0f6120540503b7)
2007-12-21 05:48:42 +01:00
Jelmer Vernooij
c5bf20c5fe
r26325: Remove use of global_loadparm in netif.
...
(This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
2007-12-21 05:48:37 +01:00
Jelmer Vernooij
0f21c092d6
r26311: Move port number specification higher up the call stack.
...
(This used to be commit ef946ff09315d90ea0419470ffd06a70498133f2)
2007-12-21 05:48:23 +01:00
Jelmer Vernooij
d378cf4c15
r26310: Remove more uses of global_loadparm.
...
(This used to be commit 9d806da113b5f0688b6193dfdee9b8765e18b38f)
2007-12-21 05:48:22 +01:00
Jelmer Vernooij
b84be078c1
r26309: Move specification of port higher up the all stack.
...
(This used to be commit 7de55cde7c7fe0141c05c8a38248667ebf3a9033)
2007-12-21 05:48:21 +01:00
Jelmer Vernooij
b83a7a135f
r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and wbsrv_connection.
...
(This used to be commit 7c008664238ed966cb82adf5b25b22157bb50730)
2007-12-21 05:47:47 +01:00
Jelmer Vernooij
1fbdd6ef1d
r26264: pass name resolve order explicitly, use torture context for settings in dssync tests.
...
(This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b)
2007-12-21 05:47:39 +01:00
Jelmer Vernooij
43696d2752
r26252: Specify loadparm_context explicitly when creating sessions.
...
(This used to be commit 7280c1e9415daabb2712db1372e23f9846272ede)
2007-12-21 05:47:29 +01:00
Jelmer Vernooij
bbdfbf8d9d
r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
...
(This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-12-21 05:47:20 +01:00