summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2011-10-30s4:torture:smb2: check wheter open was durable in existing testsMichael Adam1-0/+8
2011-10-30s4:torture: test also break semantics between batch-oplocks and leasesMichael Adam1-1/+1
This must have been a typo (listing EXCLUSIVE twice). But BATCH and EXCLUSIVE oplocks apparently share the same break semantics with respect to leases.
2011-10-30s4:torture:smb2: adapt comment in durable-open.lease test according to ↵Michael Adam1-0/+3
current information.
2011-10-30s4:torture:smb2: fix the durable_open test to succeed against w7 and w2k8r2Michael Adam1-1/+1
When a first client that has a durable open with share read/write/delete and a read-write-handle lease on the file disconnects, a second client will succeed in opening the file and the new client will be given a RWH-lease if requested, not only a RH-lease, as was previously checked in the test. This might have been a bug in win7 build 7000, which is what the comments in the test give as reference.
2011-10-28lib/util Rename samba_modules_load -> samba_module_init_fns_for_subsystemAndrew Bartlett1-1/+1
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Rename samba_init_module_fns_run -> samba_module_init_fns_runAndrew Bartlett1-2/+2
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Rename samba_init_module_fn -> samba_module_init_fnAndrew Bartlett2-3/+3
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Split samba-modules library into public and private partsAndrew Bartlett2-2/+2
This will allow OpenChange to get at the symbols it needs, without exposing any more of this as a public API than we must. Andrew Bartlett
2011-10-28lib/util Rename load_samba_modules -> samba_modules_loadAndrew Bartlett1-1/+1
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Rename run_init_functions -> samba_init_module_fns_runAndrew Bartlett1-2/+2
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Rename init_module_fn to samba_init_module_fnAndrew Bartlett2-3/+3
This prepares for making the samba_module.h header public again, for OpenChange. I am keen to avoid too much API namespace pollution if we can.
2011-10-28s4:torture:smb2: avoid leaking tree connects up to the main function from ↵Michael Adam1-0/+13
the durable_open test The tree connects are handed in from the calling wrapper. Those that are freed and reconnected inside the test function can not be freed in the wrapper and stick to the torture_context until this is released in the main function. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Oct 28 02:37:25 CEST 2011 on sn-devel-104
2011-10-28s4:torture:smb2: fix a nasty double free error.Michael Adam1-2/+10
This error manifested itself in sporadic "talloc_free with references" error.
2011-10-28s4:torture:smb2: fix a commentMichael Adam1-1/+1
2011-10-28s4:torture:smb2: be leass leaky in wrap_simple_2smb2_test()Michael Adam1-4/+9
2011-10-27s4:torture/ldap/basic.c - fix a typoMatthias Dieter Wallnöfer1-2/+2
Reviewed-by: abartlet
2011-10-27s4-torture: Add a user creation check.Andreas Schneider1-0/+288
This adds a patch which creates a non-privileged user and then tries to create a new user as the non-privileged user. Pretty simple test but it found #8509. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Oct 27 18:51:14 CEST 2011 on sn-devel-104
2011-10-27s4-torture: Add a samr privilege check.Andreas Schneider3-1/+329
This is the first part which checks if a deleted user is propagated correctly to all daemons and caches with user information are emtpy.
2011-10-27s4-torture: Add torture_delete_testuser().Andreas Schneider1-0/+14
2011-10-27s4-torture: Add domain_handle to test_join struct.Andreas Schneider1-4/+4
2011-10-27replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider1-2/+1
2011-10-26s4:torture:smb2: fix broken indentation/formatting in torture_smb2_connection()Michael Adam1-8/+11
this was not readable well
2011-10-25torture: Remove unused smbiconvAndrew Bartlett1-236/+0
smbiconv is not used in any test script, and has only had changes since being introduced by Jelmer to keep it building. It is also not installed on the system. I have also checked with Jelmer, who approved the removal. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-24idl: Improve MS-PAC IDLSimo Sorce1-4/+4
Change some misleading variable names to reflect the actual function. Add missing field name/types previously marked as unkown. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 24 19:19:28 CEST 2011 on sn-devel-104
2011-10-19s3: remove duplicate fsctl fn definitionsDavid Disseldorp1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-19libcli: move ioctl function field defs to smb_constantsDavid Disseldorp3-3/+3
Currently there are a lot of duplicate ioctl function field definitions between source3 and source4. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett2-14/+14
This avoids keeping the event context around on a the gensec_security context structure long term. In the Samba3 server, the event context we either supply is a NULL pointer as no server-side modules currently use the event context. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-14Fix printf warning.Jeremy Allison1-1/+1
2011-10-13lib/util: Add back control of mmap and hash size in tdb for top level buildAndrew Bartlett1-1/+1
This passes down a struct loadparm_context to allow these parameters to be checked. This may be s3 or s4 context, allowing the #if _SAMBA_BUILD_ macro to go away safely. Andrew Bartlett
2011-10-13s4:torture/smb2: we only support 64KB reads/writes for nowStefan Metzmacher2-8/+8
We don't have multi-credit support yet. metze
2011-10-11auth: move credentials layer to the top levelAndrew Bartlett1-1/+1
This will allow gensec_start.c to move to the top level. This does not change what code uses the cli_credentials code, but allows the gensec code to be more broadly. Andrew Bartlett
2011-10-11lib/param move source4 param code to the top levelAndrew Bartlett1-1/+1
This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
2011-10-10libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher2-6/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
2011-10-10libcli/cldap: pass tevent_context to cldap_search_send()Stefan Metzmacher1-1/+1
metze
2011-10-10libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher1-1/+2
metze
2011-10-08s4:torture/smb2: avoid '//' commentsStefan Metzmacher1-1/+1
The compiler on openindiana doesn't like them. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 8 08:56:10 CEST 2011 on sn-devel-104
2011-10-08s4:torture/drs: avoid '//' commentsStefan Metzmacher1-2/+2
The compiler on openindiana doesn't like them. metze
2011-10-06lib/util: consolidate module loadingAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Oct 6 08:52:30 CEST 2011 on sn-devel-104
2011-10-06lib/util: consolidate module loading into common codeAndrew Bartlett2-0/+2
This creates a samba-modules private libary that handles the details. Andrew Bartlett
2011-10-04s4-dsdb: update callers to dsdb_convert_object_ex()Andrew Tridgell1-0/+1
2011-09-29s4: add SMB2_FSCTL opcodesDavid Disseldorp1-3/+3
Also, skip samba4.smb2.ioctl for now. Snapshots are not supported by default. Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Thu Sep 29 14:47:05 CEST 2011 on sn-devel-104
2011-09-29s4-torture: add smb2 ioctl test suiteDavid Disseldorp3-1/+89
Currently only covers FSCTL_GET_SHADOW_COPY_DATA. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-09-29s4-torture: remove unchecked read from smb2 createDavid Disseldorp2-9/+9
Add a corresponding test case to smb2.read. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-09-28s4:torture/smb2/lock: remove samba4 specific checks for ↵Stefan Metzmacher1-12/+14
NETWORK_NAME_DELETED/USER_SESSION_DELETED Most Windows versions have a strange order to verify the session id, tree id and file id. (They should be checked in that order, but windows seems to check the file id before the others). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 21:12:07 CEST 2011 on sn-devel-104
2011-09-20lib/util/charset: remove charset module loadingAndrew Bartlett1-1/+1
Now that the 'table' modules are gone, there is no reason for there to be charset modules at all. This builds the macosxfs and weird modules into the binary at the appropriate times, and changes the tests to test instead the difference between the remaining internal handlers and iconv(). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Sep 20 06:27:06 CEST 2011 on sn-devel-104
2011-09-15waf: restore libsmbclient handling.Günther Deschner1-1/+1
This is a temporary solution to get libsmbclient installed properly as a library (including symlinks and proper symbols). I was not able to make the old internal library name 'libsmb/smbclient' work together with "realname" and/or "link_name". Maybe one of the waf gurus has more ideas here. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Sep 15 15:31:59 CEST 2011 on sn-devel-104
2011-09-08torture-drs: fixed NDR tests for DRS blobsAndrew Tridgell1-2/+40
this also adds new tests for trustAuthInOutBlob blobs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-08torture-ndr: fixed NDR tests for NTLMSSP blobsAndrew Tridgell1-4/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-08torture-ndr: fixed NDR tests for NBT blobsAndrew Tridgell1-2/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-08torture-ndr: fixed NDR tests for DFS blobsAndrew Tridgell1-3/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>