summaryrefslogtreecommitdiffstats
path: root/source4/torture
Commit message (Collapse)AuthorAgeFilesLines
* s4:torture:smb2: fix broken indentation/formatting in torture_smb2_connection()Michael Adam2011-10-261-8/+11
| | | | this was not readable well
* torture: Remove unused smbiconvAndrew Bartlett2011-10-251-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>
* idl: Improve MS-PAC IDLSimo Sorce2011-10-241-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
* s3: remove duplicate fsctl fn definitionsDavid Disseldorp2011-10-191-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli: move ioctl function field defs to smb_constantsDavid Disseldorp2011-10-193-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>
* gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett2011-10-182-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>
* Fix printf warning.Jeremy Allison2011-10-141-1/+1
|
* lib/util: Add back control of mmap and hash size in tdb for top level buildAndrew Bartlett2011-10-131-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
* s4:torture/smb2: we only support 64KB reads/writes for nowStefan Metzmacher2011-10-132-8/+8
| | | | | | We don't have multi-credit support yet. metze
* auth: move credentials layer to the top levelAndrew Bartlett2011-10-111-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
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-111-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
* libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher2011-10-102-6/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
* libcli/cldap: pass tevent_context to cldap_search_send()Stefan Metzmacher2011-10-101-1/+1
| | | | metze
* libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher2011-10-101-1/+2
| | | | metze
* s4:torture/smb2: avoid '//' commentsStefan Metzmacher2011-10-081-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
* s4:torture/drs: avoid '//' commentsStefan Metzmacher2011-10-081-2/+2
| | | | | | The compiler on openindiana doesn't like them. metze
* lib/util: consolidate module loadingAndrew Bartlett2011-10-061-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Oct 6 08:52:30 CEST 2011 on sn-devel-104
* lib/util: consolidate module loading into common codeAndrew Bartlett2011-10-062-0/+2
| | | | | | This creates a samba-modules private libary that handles the details. Andrew Bartlett
* s4-dsdb: update callers to dsdb_convert_object_ex()Andrew Tridgell2011-10-041-0/+1
|
* s4: add SMB2_FSCTL opcodesDavid Disseldorp2011-09-291-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
* s4-torture: add smb2 ioctl test suiteDavid Disseldorp2011-09-293-1/+89
| | | | | | Currently only covers FSCTL_GET_SHADOW_COPY_DATA. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: remove unchecked read from smb2 createDavid Disseldorp2011-09-292-9/+9
| | | | | | Add a corresponding test case to smb2.read. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture/smb2/lock: remove samba4 specific checks for ↵Stefan Metzmacher2011-09-281-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
* lib/util/charset: remove charset module loadingAndrew Bartlett2011-09-201-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
* waf: restore libsmbclient handling.Günther Deschner2011-09-151-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
* torture-drs: fixed NDR tests for DRS blobsAndrew Tridgell2011-09-081-2/+40
| | | | | | this also adds new tests for trustAuthInOutBlob blobs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: fixed NDR tests for NTLMSSP blobsAndrew Tridgell2011-09-081-4/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: fixed NDR tests for NBT blobsAndrew Tridgell2011-09-081-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: fixed NDR tests for DFS blobsAndrew Tridgell2011-09-081-3/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: added support for testing push functionsAndrew Tridgell2011-09-082-25/+52
| | | | | | | this allows us to check the symmetry of pull/push functions in NDR tests Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:torture/basic: relax base.trans2 midmight time checkingStefan Metzmacher2011-09-071-2/+4
| | | | | | | | It's possible that the test runs on a full hour, e.g. Tue Sep 6 03:00:00 2011. So better check that the a_time is different from the current time. metze
* s4-torture: enable password comparison in drsblobs testAndrew Tridgell2011-09-051-2/+2
| | | | | | I'm not sure why this was commented out, as it does pass Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-torture: fixed a ndr string errorAndrew Tridgell2011-09-051-1/+1
| | | | | | the dos charset global changes with the new loadparm context Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-schema consolidate schema handlingAndrew Bartlett2011-09-051-35/+11
| | | | | | | It also creates a single routine dsdb_load_ldb_results_into_schema() to handle cases where the schema is in the form of an ldb_result. Andrew Bartlett
* s4-smbtorture: For now, skip trusted domain auth validation tests against ↵Günther Deschner2011-08-311-9/+15
| | | | | | the sambas. Guenther
* s4-smbtorture: Add trust password to CreateTrust testSumit Bose2011-08-311-32/+245
| | | | | | | | Instead of using empty authinfo and authinfo_internal structures a trust password is added to these structures. After creating the trust the trust account is used to validate that the trust password is set correctly. Signed-off-by: Günther Deschner <gd@samba.org>
* s4-smbtorture: Add tests for lsaQueryTrustedDomainInfoByName() and ↵Sumit Bose2011-08-311-0/+102
| | | | | | lsaSetTrustedDomainInfoByName() Signed-off-by: Günther Deschner <gd@samba.org>
* smbtorture4: Fix a typoVolker Lendecke2011-08-301-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 30 09:51:10 CEST 2011 on sn-devel-104
* Fixed regression test case for Bug 8412 - Microsoft Office 2007 (Microsoft ↵Jeremy Allison2011-08-301-2/+40
| | | | | | | Word) fails to save as on a Samba share with SMB2 Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Aug 30 03:26:49 CEST 2011 on sn-devel-104
* credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij2011-08-181-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
* cli-raw: Add public libsmbclient-raw library.Jelmer Vernooij2011-08-181-3/+3
|
* s4-test: prevent the utable test from crashingAndrew Tridgell2011-08-181-3/+5
|
* torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce2011-08-1321-70/+70
|
* gensec: clarify memory ownership for gensec_session_info() and ↵Andrew Bartlett2011-08-033-5/+5
| | | | | | | | | | | | | | | gensec_session_key() This is slightly less efficient, because we no longer keep a cache on the gensec structures, but much clearer in terms of memory ownership. Both gensec_session_info() and gensec_session_key() now take a mem_ctx and put the result only on that context. Some duplication of memory in the callers (who were rightly uncertain about who was the rightful owner of the returned memory) has been removed to compensate for the internal copy. Andrew Bartlett
* gensec: Remove mem_ctx from calls that do not return memoryAndrew Bartlett2011-08-031-4/+4
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* gensec: split GENSEC into mechanism-dependent and runtime functionsAndrew Bartlett2011-08-034-0/+4
| | | | | | | | | The startup and runtime functions that have no dependencies are moved into the top level. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* cli_cldap: Lowercase name.Jelmer Vernooij2011-07-261-1/+1
|
* cli_raw: Make name lowercase.Jelmer Vernooij2011-07-231-3/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jul 23 23:20:51 CEST 2011 on sn-devel-104
* auth: Split out make_user_info_SamBaseInfo and add authenticated argumentAndrew Bartlett2011-07-202-1/+4
| | | | | | | | | This will allow the source3 auth code to call this without needing to double-parse the SIDs Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-smbtorture: add very basic tests for lsa_CreateTrustedDomainEx.Günther Deschner2011-07-151-21/+79
| | | | Guenther