Volker Lendecke
1bb7d25176
s4-torture: Use 2 client connections for raw.notify.recursive
...
This makes the test more interesting in a cluster
2012-04-18 18:16:27 +02:00
Michael Adam
2085c20bb1
s4:torture:smb2: add a session.reauth2 test.
...
* open a file,
* reauth anonymously
* try to access file via handle
* reauth as user
* try to access file again
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Apr 18 16:53:35 CEST 2012 on sn-devel-104
2012-04-18 16:53:35 +02:00
Michael Adam
f3ac212d8b
s4:torture:smb2: rename the file in the session-reauth1 test more systematically
...
The original name seems to have come in via copy and paste.
2012-04-18 15:17:36 +02:00
Michael Adam
361deb856b
s4:torture:smb2: rename the session_reauth test to session_reauth1
...
More tests reauth? will follow...
2012-04-18 15:17:36 +02:00
Volker Lendecke
26b9ab2780
s4-torture: notify all is empty now
...
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Apr 18 15:16:13 CEST 2012 on sn-devel-104
2012-04-18 15:16:12 +02:00
Volker Lendecke
bd3ceb8792
s4-torture: Separate out the notify alignment subtest
2012-04-18 13:42:14 +02:00
Volker Lendecke
6b445cdfc6
s4-torture: Separate out the notify basedir subtest
2012-04-18 13:42:14 +02:00
Volker Lendecke
98f8f4236c
s4-torture: Separate out the notify overflow subtest
2012-04-18 13:42:14 +02:00
Volker Lendecke
a7cff2b72e
s4-torture: Separate out the notify tree subtest
2012-04-18 13:42:14 +02:00
Volker Lendecke
d1a898a76b
s4-torture: Separate out the notify double subtest
2012-04-18 13:42:14 +02:00
Volker Lendecke
c180cd0468
s4-torture: Separate out the notify tcp_dis subtest
2012-04-18 13:42:14 +02:00
Volker Lendecke
e5181d0460
s4-torture: Separate out the notify ulogoff subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
07def3221e
s4-torture: Separate out the notify exit subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
f864b93b31
s4-torture: Separate out the notify tdis subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
b570668f55
s4-torture: Separate out the notify file subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
6f6192b998
s4-torture: Separate out the notify mask_change subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
5429593eed
s4-torture: Separate out the notify recursive subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
87e2a549e9
s4-torture: Separate out the notify mask subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
74f134df72
s4-torture: Separate out the notify dir subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
13666857f2
s4-torture: Separate out the notify tcon subtest
2012-04-18 13:42:12 +02:00
Volker Lendecke
8e41c2f81c
s4-torture: Make notify a suite
2012-04-18 13:42:12 +02:00
Matthieu Patou
167c6eb61e
s4-schema: rename dsdb_attribute_from_ldb to dsdb_set_attribute_from_ldb and dsdb_class_from_ldb to dsdb_set_class_from_ldb
2012-04-18 00:06:59 +02:00
Simo Sorce
70c303a7f3
auth-krb: Move pac related util functions in a single place.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12 12:06:43 +02:00
Jelmer Vernooij
b4d35bee38
libndr: Rename policy_handle_empty to ndr_policy_handle_empty.
...
This makes the NDR namespace a bit clearer, in preparation of ABI checking.
2012-03-20 13:54:07 +01:00
Jelmer Vernooij
95ca5fbadd
libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ndr_ prefix.
...
This makes the NDR namespace a bit clearer, in preparation of ABI checking.
2012-03-20 13:54:07 +01:00
Jelmer Vernooij
85f128e8f3
nbench: Fix typo.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Mar 13 14:53:07 CET 2012 on sn-devel-104
2012-03-13 14:53:06 +01:00
Jelmer Vernooij
ce4531ee31
tdb_wrap: Move to specific directory.
...
It's a bit confusing to mix low-level and high-level libraries. We had
multiple libraries in one directory, and there were have circular
dependencies with other libraries outside that directory (in this case,
samba-hostconfig).
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Mar 10 23:13:01 CET 2012 on sn-devel-104
2012-03-10 23:13:01 +01:00
Stefan Metzmacher
fa62f9474b
s4:torture/smb2: avoid hanging in smb2.session.reconnect against samba
...
Now we fail the test directly instead of waiting for oplocks to timeout.
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
metze
2012-03-08 14:23:22 +01:00
Gregor Beck
ee6cd3b84e
s4:torture: smb2.getinfo test return status of stream creation
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-07 10:57:27 +01:00
Gregor Beck
aa993a89f0
s4:torture/smb2: add simple smb2.session.reauth test
...
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-07 10:57:27 +01:00
Gregor Beck
46a96c42a2
s4:torture make a suite for smb2.*scan
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:07 +01:00
Gregor Beck
59f818d80b
s4:torture: print ntstatus on failure of setup complex file in smb2 setinfo/getinfo scan
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:07 +01:00
Gregor Beck
af6555d2a9
s4:torture: use different filenames for smb2 setinfo and getinfo scan
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:07 +01:00
Gregor Beck
80436ed099
s4:torture: cleanup after smb2 setinfo scan
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:07 +01:00
Gregor Beck
2b3ed65273
s4:torture: cleanup after smb2 getinfo scan
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:07 +01:00
Gregor Beck
10f266b6ed
s4:torture: avoid reporting error on failure of smb2.ioctl tests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:06 +01:00
Gregor Beck
01774d65c2
s4:torture: avoid reporting error on failure of smb2.getinfo test
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:06 +01:00
Gregor Beck
2aa81dc817
s4:torture: avoid reporting error on failure of smb2.setinfo test
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:06 +01:00
Gregor Beck
dc44cbfb1a
s4:torture: avoid reporting error on failure of smb2.streams tests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:06 +01:00
Gregor Beck
b80e95633e
s4:torture: avoid reporting error on failure of smb2.acls tests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-06 23:53:06 +01:00
Michael Adam
e6283801f4
s4:torture:smb2: start a testsuite for durable v2 handles: durable and persistent opens
2012-03-03 17:03:07 +01:00
Michael Adam
1451e5f663
s4:libcli:smb2: store the share capabilites in the smb2_tree object
2012-03-03 17:03:07 +01:00
Michael Adam
57d99bc14a
s4:torture:smb2: rename some of the durable-handle subtests more systematically
2012-03-03 17:03:06 +01:00
Michael Adam
72ab279316
s4:torture:smb2:durable_open: update (C)
2012-03-03 17:03:06 +01:00
Stefan Metzmacher
4c92866fac
s4:torture:smb2:durable-open: skip the open-with-lease test on servers without lease support
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-03 17:03:06 +01:00
Michael Adam
d276356168
s4:torture:smb2: durable-open: make tables static
2012-03-03 17:03:06 +01:00
Stefan Metzmacher
79576df9f0
s4:test:smb2:durable_open: skip lease tests when the server does not support leases
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-03 17:03:06 +01:00
Stefan Metzmacher
579bb0a934
s4:torture:smb2:durable_open: remove unused lease variables in the open-oplock test
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-03 17:03:06 +01:00
Matthias Dieter Wallnöfer
31bf81a03c
s4:torture/smb2/ioctl.c - quiet format specifier warnings on 32 bit
...
Achieve this by using platform independent casts.
2012-03-01 22:04:46 +11:00
Stefan Metzmacher
51a15e9d31
s4:torture/smb2: remove unused var
...
metze
2012-02-29 05:49:10 +01:00
Stefan Metzmacher
7102eafc26
lib/crypto: add aes_cmac_128_test.c as local.crypto.aes_cmac_128 test
...
metze
2012-02-29 03:16:22 +01:00
Andrew Tridgell
d12bad72ba
torture: added samba4-ntvfs target
...
this will be used for the samba4 server with the ntvfs backend
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Feb 28 13:34:44 CET 2012 on sn-devel-104
2012-02-28 13:34:44 +01:00
Michael Adam
d92b955cca
s4:torture:smb2:durable-open: fix a silly access-after-free panic
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Feb 28 08:33:44 CET 2012 on sn-devel-104
2012-02-28 08:33:44 +01:00
Michael Adam
60a4095936
s4:torture:smb2: add new "session" testsuite starting with a session.reconnect test
2012-02-28 00:08:55 +01:00
Michael Adam
ba4acf05b2
s4:torture:smb2: add durable_open.reopen2a - variant of reopen2 with session reconnect
2012-02-28 00:08:54 +01:00
Michael Adam
1d9df362b2
s4:torture:smb2: add torture_smb2_connection_ext() that takes previous_session
2012-02-28 00:08:54 +01:00
Michael Adam
681bca6768
s4:torture:smb2: add previous_session argument to torture_smb2_session_setup()
...
To allow for doing a session reconnect
2012-02-28 00:08:53 +01:00
Michael Adam
69a64e6695
s4:libcli:smb2: add a previous session argument to smb2_session_setup_spnego()
...
So that we can do a session reconnect.
2012-02-28 00:08:53 +01:00
Andrew Tridgell
d21f7783f6
torture: don't check the NOINDEXED bit in attribute comparison
...
this bit is dependent on user settings on the filesystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2012-02-27 07:36:05 +01:00
Michael Adam
8e947f0f5d
s4:torture:smb2:durable-open: prevent using a disconnected handle in reopen4
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Feb 27 03:44:16 CET 2012 on sn-devel-104
2012-02-27 03:44:16 +01:00
Michael Adam
6deec81b8e
s4:torture:smb2:durable-open: introduce new variable for the new session
...
This is to clarify the code.
2012-02-27 02:08:28 +01:00
Michael Adam
d5cefee6fc
s4:torture:smb2:durable-open: make a comment more precise in the reopen4 test
2012-02-27 02:08:27 +01:00
Michael Adam
b041d28fea
s4:torture:smb2:durable_open: use the correct tree in the final close call
2012-02-27 02:08:27 +01:00
Michael Adam
77889f63e6
s4:torture:smb2: add a durable-open.open-oplock test
...
this is a variant of the open-lease test that does the initial
durable open with a batch oplock instead of a RH lease.
This is e.g. useful do analyse a (mis?) behaviour with current
windows 8 preview versions, compared to w2k8r2
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Feb 21 19:51:21 CET 2012 on sn-devel-104
2012-02-21 19:51:21 +01:00
Michael Adam
1f1ff1cf0a
s4:torture:smb2: extend and prettify comment for durable-open.open-lease test
2012-02-21 18:11:07 +01:00
Michael Adam
0d3d8256d8
s4:torture:smb2:durable-open: rename the open test to open-lease
2012-02-21 18:11:06 +01:00
Michael Adam
a36e257160
s4:torture:smb2: move some initialization and call to smb2_create together in durable-open.open test
2012-02-21 18:11:06 +01:00
Michael Adam
65da3b74fa
s4:torture:smb2: fix a typo in the durable-open.open test file name
2012-02-21 18:11:06 +01:00
Michael Adam
9d66ad8c30
s4:torture:smb2: invalidate the handle after the connection has been killed
...
Not to run into using the old handle with a new tree connect in the error case.
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Feb 20 18:34:48 CET 2012 on sn-devel-104
2012-02-20 18:34:48 +01:00
Michael Adam
71164cef61
s4:torture: improve comment for the smb2.durable-open.reopen1 test
2012-02-20 17:02:24 +01:00
Andrew Bartlett
f433baa3c8
auth: Make more of the ntlmssp code private or static
...
Now that there is only one gensec_ntlmssp server, some of these functions can be static
For the rest, put the implemtnation of the gensec_ntlmssp code into ntlmssp_private.h
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-02-17 10:48:10 +01:00
Björn Baumbach
83d0a860a1
s4-selftest: fix output of opened connections in torture_holdcon
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-02-16 12:07:32 +01:00
Christian Ambach
ad2a2c4e3a
s4:torture: add another SMB2 rename test
...
this mimics Word 2010 saving a file
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Mon Feb 13 18:33:43 CET 2012 on sn-devel-104
2012-02-13 18:33:43 +01:00
Christian Ambach
bff119a3b7
s4:torture: add some SMB2 renaming tests
2012-02-10 13:28:08 +01:00
Jelmer Vernooij
1c1b10f1d9
torture/libnet: Include prototype headers.
2012-02-07 01:11:07 +01:00
Michael Adam
877d4e048e
s4:torture: add a smb2.durable_open.reopen4 test
...
open a durable handle, logoff, new sessions setup, try durable reopen (fail),
open tcon, durable reopen (succeed)
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Feb 3 12:45:34 CET 2012 on sn-devel-104
2012-02-03 12:45:34 +01:00
Michael Adam
a4fd3eb4a9
s4:torture: add a torture_smb2_session_setup() utility function
2012-02-03 11:10:30 +01:00
Michael Adam
adb9b7fbf0
s4:torture: add smb2.durable_open test reopen3
...
Do a durable open, tdis, tree_connect, durable reopen -> fail
2012-02-03 11:10:30 +01:00
Michael Adam
7c7e1fd5c7
s4:torture: add torture_smb2_tree_connect() utility function
...
This does a tcon based on an existing session, using the
name an host present in the torture context.
2012-02-03 11:10:30 +01:00
Michael Adam
1d8fbff7ff
s4:torture: add smb2.durable_open test reopen2
...
durable open, disconnect, new seession, durable reopen
2012-02-03 11:10:30 +01:00
Michael Adam
f9e85d09b3
s4:torture: add smb2.durable_open test reopen1
2012-02-03 11:10:30 +01:00
Michael Adam
97823b69e9
s4:libcli/torture:smb2: change smb2_tree_connect to take a smb2_session instead of smb2_tree arguement.
...
Only the tree->session is needed. This way it is less confusing.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-02-03 11:10:30 +01:00
Michael Adam
ce5fc22896
s4:torture:smb2: talloc_free the right tree structure in secondary_tcon()
...
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-02-03 11:10:30 +01:00
Michael Adam
87cf808edb
s4:torture:smb2: check for success of talloc in secondary_tcon()
...
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-02-03 11:10:29 +01:00
Michael Adam
5f19eb8e58
s4:torture:smb2:notify: remove an unused variable
2012-02-03 11:10:29 +01:00
Michael Adam
48ee2c3450
s4:torture:smb2:notify: remove an unused variable
2012-02-03 11:10:29 +01:00
Michael Adam
3116592552
s4:torture:smb2: remove an unused variable from torture_smb2_setinfo()
2012-02-03 11:10:29 +01:00
Christof Schmitt
c892217a12
smbtorture: Do not leak child processes when exiting
...
When some child processes could not be created, smbtorture would exit
and leave the successfully started child processes running. Add a loop
to kill the existing child processes for this case.
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb 2 01:35:27 CET 2012 on sn-devel-104
2012-02-02 01:35:27 +01:00
Andrew Bartlett
eecf2ac4c8
selftest: Remove unused support for --exeext
2012-02-01 02:45:07 +01:00
Andrew Bartlett
697a6e9504
auth: provide private pointer and do not return original PAC signatures
...
There is no need to return the PAC signatures via the special-purpose
torture element. Instead, use a private pointer on the auth_context
in conjunction with the private PAC processing method.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sun Jan 29 23:52:50 CET 2012 on sn-devel-104
2012-01-29 23:52:50 +01:00
Amitay Isaacs
4444612b86
s4-torture: For authenticated users, add AUTHENTICATED USERS sid
...
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Jan 25 01:36:02 CET 2012 on sn-devel-104
2012-01-25 01:36:02 +01:00
David Disseldorp
3bfcf343cf
torture: add spoolss overlapping driver deletion tests
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User: David Disseldorp <ddiss@samba.org>
Autobuild-Date: Fri Jan 20 18:20:14 CET 2012 on sn-devel-104
2012-01-20 18:20:14 +01:00
David Disseldorp
b37f66c7b7
torture: confirm printer driver file removal
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-01-20 17:44:01 +01:00
David Disseldorp
cc8cd7b038
torture: add spoolss del printer driver test
...
Test handling of DeletePrinterDriverEx when the DPD_DELETE_ALL_FILES
flag is set.
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-01-20 17:43:54 +01:00
David Disseldorp
2fd4be0085
s4-smbtorture: tweak spoolss_OpenPrinterEx devmode
...
Flip some bits after the null terminator in the spoolss device mode
character arrays to trigger bug 8606.
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-01-13 09:37:36 -08:00
Stefan Metzmacher
6ee628341f
LDAP-CLDAP: demonstrate that pdc name is not an unc path
...
For LOGON_SAM_LOGON_RESPONSE_EX and LOGON_SAM_LOGON_USER_UNKNOWN_EX,
pdc name is not in unc path form.
[MS-ADTS] 7.3.1.* uses UnicodeLogonServer, which seems to be in unc form,
while NetbiosComputerName is not in unc form.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan 4 20:06:14 CET 2012 on sn-devel-104
2012-01-04 20:06:14 +01:00
Matthias Dieter Wallnöfer
55db69198b
s4:torture/nbt/dgram.c - NBT samlogon requests don't return the PDC name as UNC path
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-04 18:33:06 +01:00
Stefan Metzmacher
bf0da0b4f7
LDAP-CLDAP: demonstrate that pdc name is an unc path
...
For LOGON_SAM_LOGON_RESPONSE and LOGON_SAM_LOGON_USER_UNKNOWN,
I assume all levels without _EX in the name, pdc name is
in unc path form.
[MS-ADTS] 7.3.1.* uses UnicodeLogonServer, which seems to be in unc form,
while NetbiosComputerName is not in unc form.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan 4 13:37:42 CET 2012 on sn-devel-104
2012-01-04 13:37:42 +01:00
Stefan Metzmacher
f9b1fb02df
s4:torture/nbt/dgram.c: NBT samlogon requests without _EX return the PDC name as UNC path
...
metze
2012-01-04 11:56:11 +01:00
Matthias Dieter Wallnöfer
4fd1220f9a
s4:torture/rpc/netlogon.c - enhance the "DsRGetDCName*" tests
...
To check for the expected behaviour (DS_* flags). Always according to
MS-NRPC 2.2.1.2.1.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 2 20:43:05 CET 2012 on sn-devel-104
2012-01-02 20:43:05 +01:00
Andrew Bartlett
c76ffcf3c4
s4-toture: Rename memory contexts in rpc.pac for greater clarity
...
This should better follow the mem_ctx/tmp_ctx pattern used elsewhere in Samba.
Thankyou Simo for the suggestion.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Dec 29 14:14:06 CET 2011 on sn-devel-104
2011-12-29 14:14:06 +01:00
Andrew Bartlett
fe693e9148
s4-torture: Demonstrate handling of the PAC in a custom auth_context
...
This demonstrates how a different function pointer can be supplied
to handle the PAC blob, without depending on the provisioned samdb etc.
Andrew Bartlett
2011-12-29 14:01:55 +11:00
Matthias Dieter Wallnöfer
31db5e667b
s4:torture/rpc/netlogon.c - factor out the computer name check in an own test
...
This check is by no ways specific to "DsRGetSiteName" and hence it should
be factored out in an own function.
Samba at the moment does not implement the expected behaviour so I have
added the "torture_skip" action.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 23 12:17:48 CET 2011 on sn-devel-104
2011-12-23 12:17:48 +01:00
Stefan Metzmacher
2f5e9aae86
s4-torture: Test rpc schannel netr_LogonGetCapability.
...
metze
2011-12-22 17:48:24 +01:00
Stefan Metzmacher
714954c16f
s4:torture/rap/printing: check smbcli_rap_netprintqgetinfo() WERR status
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Dec 17 01:09:32 CET 2011 on sn-devel-104
2011-12-17 01:09:32 +01:00
Günther Deschner
030ccc42b9
s4-smbtorture: make sure we can successfully run the schannel test against windows.
...
lsa lookupsids3/lookupnames4 is only available over schannel sealed
ncacn_ip_tcp.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 14 17:28:29 CET 2011 on sn-devel-104
2011-12-14 17:28:29 +01:00
Andreas Schneider
be288b0c82
s4-torture: LookupSids3 is only available over NCACN_IP_TCP.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Dec 14 15:39:58 CET 2011 on sn-devel-104
2011-12-14 15:39:58 +01:00
Andreas Schneider
e917c7b0ee
s4-torture: Fix schannel test against win2k8.
2011-12-14 13:41:28 +01:00
Günther Deschner
19411c9953
s4-smbtorture: fix some typos in schannel test.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 14 02:52:54 CET 2011 on sn-devel-104
2011-12-14 02:52:54 +01:00
Günther Deschner
87be316c57
s4-smbtorture: avoid printf(); in schannel test.
...
Guenther
2011-12-14 01:18:04 +01:00
Günther Deschner
b550ead171
s4-smbtorture: remove trailing whitespace from schannel test.
...
Guenther
2011-12-14 01:18:04 +01:00
Andrew Bartlett
47a4388b91
s4-torture Do not use a fixed password for forest trust tests
...
It is much better to always use random passwords.
Andrew Bartlett
2011-12-12 12:57:08 +01:00
Andrew Bartlett
29635c93d7
s4-torture cope with servers earlier than Windows 2008
...
Only Win2008 started to support new encryption types.
Andrew Bartlett
2011-12-12 12:57:08 +01:00
Andrew Bartlett
8d3e86d6ae
s4-torture Modify rpc.lsa.forest.trust test to progress further FL Win2003 R2
...
This modification is required to pass against a domain in functional
level Windows 2003 or later.
Andrew Bartlett
2011-12-12 12:57:08 +01:00
Andrew Bartlett
5ae24e1cc0
s4-torture: Fix comment
2011-12-12 12:57:08 +01:00
Andrew Bartlett
c79db40040
torture: do not reuse bindings between pipes
...
This avoids connecting to the netlogon server over \pipe\lsarpc
This works against windows because all pipes are implemented in the same
process, but not Samba4, and relying on this is not recommended in the WSPP docs.
Andrew Bartlett
2011-12-12 12:57:07 +01:00
Jelmer Vernooij
05bc4de083
Revert making public of the samba-module library.
...
This library was tiny - containing just two public functions than were
themselves trivial. The amount of overhead this causes isn't really worth the
benefits of sharing the code with other projects like OpenChange. In addition, this code
isn't really generically useful anyway, as it can only load from the module path
set for Samba at configure time.
Adding a new library was breaking the API/ABI anyway, so OpenChange had to be
updated to cope with the new situation one way or another. I've added a simpler
(compatible) routine for loading modules to OpenChange, which is less than 100 lines of code.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
2011-12-03 08:36:30 +01:00
Stefan Metzmacher
4afbda221c
s4:libcli/raw: implement on top of smbXcli_conn/req
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Nov 30 15:13:36 CET 2011 on sn-devel-104
2011-11-30 15:13:36 +01:00
Stefan Metzmacher
4877be53df
s4:libcli: move smbcli_transport_establish() logic into smbcli_socket_connect()
...
metze
2011-11-30 13:41:08 +01:00
Stefan Metzmacher
511dc9358d
s4:torture: use tctx->ev as event context for polling
...
metze
2011-11-29 16:00:08 +01:00
Stefan Metzmacher
46f0b73c8a
s4:gentest: get the tid from the smbcli_tree struct
...
metze
2011-11-29 16:00:08 +01:00
Stefan Metzmacher
1764607150
s4:torture/rpc: use talloc_zero() in torture_join_domain()
...
metze
2011-11-29 09:21:25 +01:00
Matthias Dieter Wallnöfer
0e526062a4
s4:torture/ldap/cldap.c - remove the "test_cldap_netlogon_flag_ds_dns_forest" test
...
The test is wrong since the DNS_* (DS_DNS_CONTROLLER, DS_DNS_DOMAIN,
DS_DNS_FOREST_ROOT) flags are never set on the plain CLDAP pipe. They
get added only over the DsRGetDCName* calls over NETLOGON RPC.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Nov 27 16:23:27 CET 2011 on sn-devel-104
2011-11-27 16:23:27 +01:00
Matthieu Patou
9e6c88bda5
smbtorture: avoid sigsev if the password is not correct
...
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-26 10:17:39 +01:00
Stefan Metzmacher
300343d16c
s4:libcli/smb2: implement on top of smbXcli_conn/req
...
metze
2011-11-24 19:02:33 +01:00
Stefan Metzmacher
378c21a72a
s4:torture/smb2: use tctx->ev as event context for polling
...
metze
2011-11-24 19:02:33 +01:00
Jeremy Allison
3e6e1aed94
Fix a bunch of "warning: variable ‘XXXX’ set but not used [-Wunused-but-set-variable]" warnings from the new gcc.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Nov 21 23:39:08 CET 2011 on sn-devel-104
2011-11-21 23:39:08 +01:00
Günther Deschner
1781415196
s4-smbtorture: add ndr test for nbt_netlogon_packet to avoid future regressions.
...
Guys, we really should make sure to always add ndr tests like this whenever we
change some sensitive libndr or handmarshalling bits.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Sun Nov 20 23:10:39 CET 2011 on sn-devel-104
2011-11-20 23:10:39 +01:00
Matthias Dieter Wallnöfer
793f1a5478
s4:torture/rpc/samr.c - use "NULL" instead of "0" when initialising pointers
2011-11-15 21:01:36 +01:00
Günther Deschner
d48f08fefb
s4-smbtorture: add spoolss_OpenPrinterEx ndr test with full devmode.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov 14 20:21:48 CET 2011 on sn-devel-104
2011-11-14 20:21:48 +01:00
Michael Adam
4c52e8f68b
s4:torture:smb2: rewrite durable-open.open test to use smb2_*_create functions
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Nov 9 02:36:36 CET 2011 on sn-devel-104
2011-11-09 02:36:36 +01:00
Michael Adam
9d862c00e5
s4:torture:smb2: rewrite the durable-open.lock test to use smb2_lease_create()
2011-11-09 01:02:09 +01:00
Michael Adam
0652b21c68
s4:torture:smb2: rewrite the durable-open.lease test to use smb2_lease_create()
2011-11-09 01:02:09 +01:00
Michael Adam
cda10063ab
s4:torture:smb2: rewrite the durable-open.oplock test to use smb2_oplock_create()
2011-11-09 01:02:08 +01:00
Michael Adam
5d3b6aa674
s4:torture:smb2: rewrite the durable-open.file-position test to use smb2_oplock_create()
2011-11-09 01:02:08 +01:00
Michael Adam
6e721fdd43
s4:torture:smb2: rewrite the durable-open.open2 test to use smb2_lease_create_share()
2011-11-09 01:02:08 +01:00
Michael Adam
afc94fea2a
s4:torture:smb2: rewrite the durable-open.open1 test to use smb2_oplock_create_share()
2011-11-09 01:02:08 +01:00
Michael Adam
cb98e31b24
s4:torture:smb2: add smb2_oplock_create_share() that takes sharemode as parameter
2011-11-09 01:02:08 +01:00
Michael Adam
901cab2def
s4:torture:smb2: add smb2_lease_create_share() that takes a sharemode as parameter
2011-11-09 01:02:08 +01:00
Michael Adam
ef6c0974a0
s4:torture:smb2: add smb2_generic_create_share() that also takes the sharemode as parameter
2011-11-09 01:02:08 +01:00
Michael Adam
4746edc55d
s4:torture:smb2: move the smb2_create_*() utility functions from lease.c to util.c for re-use
2011-11-09 01:02:08 +01:00
Michael Adam
a5d8614e63
s4:torture:smb2: use smb2_util_oplock_level() in the durable-open test for convenience
2011-11-09 01:02:08 +01:00
Michael Adam
3078c27be1
s4:torture:smb2: lease: oplock_level is uint8_t, not uint32_t or int
2011-11-09 01:02:08 +01:00
Michael Adam
7f1920801b
s4:torture:smb2: move oplock() from lease.c to smb2_util_oplock_level() in util.c for re-use
2011-11-09 01:02:08 +01:00
Michael Adam
b47edad673
s4:torture:smb2: extract map_sharemode() to smb2_util_share_access() in util.c
2011-11-09 01:02:08 +01:00
Michael Adam
4ea5ac04b2
s4:torture:smb2: use common smb2_util_lease_state() in the lease tests
2011-11-09 01:02:08 +01:00
Michael Adam
33ccdf88f9
s4:torture:smb2: extract map_lease() to util.c as smb2_util_lease_state().
2011-11-09 01:02:08 +01:00
Michael Adam
9fe4709a4b
s4:torture:smb2: fix illegal write/uninitialized data bug in the lease.multibreak test
2011-11-09 01:02:08 +01:00
Michael Adam
b76bd39b6f
s4:torture:smb2: lease.update2: some more reasonable struct names and a comment
2011-11-09 01:02:08 +01:00
Michael Adam
8dab942d1c
s4:torture:smb2: change the test file name in the durable-open.oplock test
...
to a more reasonable name. This one must have been copied
from the durable-open.lease test.
2011-11-09 01:02:07 +01:00