Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s4 quicktest: exclude raw-streams from quicktest until bug is fixed | Tim Prouty | 2009-12-07 | 2 | -1/+11 |
| | |||||
* | s4 torture: Add a new torture:hide_on_access_denied parameter | Tim Prouty | 2009-12-07 | 6 | -15/+57 |
| | | | | | | | | | | It appears some newer versions of windows return NT_STATUS_OBJECT_NAME_NOT_FOUND on a createfile when access is denied rather than NT_STATUS_ACCESS_DENIED. I'm not sure how this translates to directory enumeration yet, but for now make this a parameter that can be checked in the various torture tests. This also gets RAW-ACLS and SMB2-CREATE passing against win7. | ||||
* | s4 torture: win 7 doesn't like the sequential_only flag for directories | Tim Prouty | 2009-12-07 | 1 | -4/+2 |
| | | | | Remove it for now | ||||
* | s4 torture: Port RAW-ACLS tests to SMB2 | Zack Kirsch | 2009-12-07 | 6 | -230/+2419 |
| | | | | | | | | | | | - The smblsa calls had to be commented out for now and should be fixed later, but they aren't crucial to the test. - The first two tests from RAW-ACLS were already ported to torture_smb2_setinfo() and test_create_acl(). Modifications were made similar to the RAW-ACLS changes. - test_sd_get_set() was ported, but does not pass against XP or Vista; it is not added to the SMB2-ACLS test suite. - printf -> torture_comment / torture_warning / torture_result | ||||
* | s4 torure: Add SMB2 utility functions | Zack Kirsch | 2009-12-07 | 2 | -2/+106 |
| | | | | | - Add a torture_setup_dir() equivalent in SMB2, called smb2_util_setup_dir(). - Add verify_sd() and verify_attrib() helper functions for SMB2. | ||||
* | s4 torture: RAW-ACL Improvements | Zack Kirsch | 2009-12-07 | 2 | -269/+672 |
| | | | | | | | | | | | | - Change RAW-ACLS test suite so each test can be run individually. - Add verify_sd() and verify_attrib() helper functions. - Change test_nttrans_create() to work for both files and directories. - Fix a segfault in test_inheritance() when the test errors out early. - test_sd_get_set() does not pass against XP or Vista, so it is no longer added to the RAW-ACLS test suite. - Minor fixes to test_inheritance(). - New INHERITFLAGS test, which tests the auto inheritance flags a bit more. - printf -> torture_comment / torture_warning / torture_result | ||||
* | s4 torture: Convert RAW-STREAMS to a set of test suites rather than a ↵ | Tim Prouty | 2009-12-07 | 2 | -173/+206 |
| | | | | monolithic test | ||||
* | s4 torture: Update RAW-RENAME to pass against win7 | Tim Prouty | 2009-12-07 | 1 | -5/+27 |
| | |||||
* | s4 torture: Add a new RAW-STREAMS test to simulate the summary tab | Tim Prouty | 2009-12-07 | 1 | -0/+96 |
| | |||||
* | s4 torture: Fix the streams create disposition tests to actually return an ↵ | Tim Prouty | 2009-12-07 | 1 | -2/+4 |
| | | | | error on failure | ||||
* | s4/torture: add test for zero byte read contention with byte range locks | Steven Danneman | 2009-12-07 | 3 | -1/+276 |
| | |||||
* | s4/libcli: add define for exclusive lock mode | Steven Danneman | 2009-12-07 | 1 | -0/+1 |
| | |||||
* | s4/torture: fix >80 column spacing issues | Steven Danneman | 2009-12-07 | 2 | -9/+10 |
| | |||||
* | s4/torture: add delete-on-close test for directories | Aravind Srinivasan | 2009-12-07 | 1 | -0/+63 |
| | | | | | | This test opens a directory with delete on close, opens it again, and checks to make sure that the second open returned with NT_STATUS_DELETE_PENDING. | ||||
* | parent_sd can never be null in this function, so don't | Jeremy Allison | 2009-12-07 | 1 | -1/+5 |
| | | | | | | check for it. Jeremy. | ||||
* | Hopefullt final fix for 6802 - acl_xattr.c module: A created folder does not ↵ | Jeremy Allison | 2009-12-07 | 3 | -267/+168 |
| | | | | | | | | | | properly inherit permissions from parent and 6938 - No hook exists to check creation rights when using acl_xattr module Volker was right (dammit :-). It's much easier to catch this case in the create_file() vfs call instead of trying to do everything inside open() and mkdir(). Hook all these functions to gain the desired effect. Jeremy. | ||||
* | s3: let gencache_init() use tdb_check() | Stefan Metzmacher | 2009-12-07 | 1 | -0/+25 |
| | | | | | | | If the check fails we try to clear the tdb and start with an empty cache. metze | ||||
* | s3: let netsamlogon_cache_init() use tdb_check() | Stefan Metzmacher | 2009-12-07 | 1 | -4/+42 |
| | | | | | | | If the check fails we try to unlink the old file and start with an empty cache. metze | ||||
* | s3: let tdb_validate_child() use tdb_check() | Stefan Metzmacher | 2009-12-07 | 1 | -0/+11 |
| | | | | metze | ||||
* | s3: require tdb 1.1.7 with tdb_check() | Stefan Metzmacher | 2009-12-07 | 1 | -1/+1 |
| | | | | metze | ||||
* | s3:docs: Document "directory name cache size". | Karolin Seeger | 2009-12-07 | 1 | -0/+14 |
| | | | | Karolin | ||||
* | s3: de-deprecate "write cache size" to prevent its removal without a proper ↵ | Volker Lendecke | 2009-12-07 | 1 | -1/+1 |
| | | | | alternative | ||||
* | Fix release script with newer versins of git | Simo Sorce | 2009-12-07 | 1 | -1/+1 |
| | |||||
* | s4-smbtorture: disable some spoolss printerdata tests which s3 does not pass ↵ | Günther Deschner | 2009-12-07 | 1 | -0/+13 |
| | | | | | | at the moment. Guenther | ||||
* | s3: fix net and rpcclient after setprinterdataex changes. | Günther Deschner | 2009-12-07 | 2 | -19/+17 |
| | | | | Guenther | ||||
* | s4-smbtorture: fix RPC-SPOOLSS after _spoolss_SetPrinterDataEx IDL change. | Günther Deschner | 2009-12-07 | 1 | -28/+48 |
| | | | | Guenther | ||||
* | s3-spoolss: let _spoolss_DeletePrinterData call into ↵ | Günther Deschner | 2009-12-07 | 1 | -38/+5 |
| | | | | | | _spoolss_DeletePrinterDataEx. Guenther | ||||
* | s3-spoolss: let _spoolss_SetPrinterData call into _spoolss_SetPrinterDataEx. | Günther Deschner | 2009-12-07 | 1 | -74/+30 |
| | | | | Guenther | ||||
* | s3-spoolss: let _spoolss_GetPrinterData call into _spoolss_GetPrinterDataEx. | Günther Deschner | 2009-12-07 | 1 | -101/+44 |
| | | | | Guenther | ||||
* | spoolss: rework spoolss_GetPrinterDataEx and spoolss_SetPrinterDataEx. | Günther Deschner | 2009-12-07 | 9 | -71/+366 |
| | | | | Guenther | ||||
* | s3-spoolss: a default printer should have at least a "PrintDriverData" key. | Günther Deschner | 2009-12-07 | 1 | -0/+7 |
| | | | | Guenther | ||||
* | s3-winreg: fill in some inline comments. | Günther Deschner | 2009-12-07 | 1 | -10/+38 |
| | | | | Guenther | ||||
* | s3-winreg: remove trailing whitespace. | Günther Deschner | 2009-12-07 | 1 | -40/+40 |
| | | | | Guenther | ||||
* | s3:auth: Fix typo in debug message. | Karolin Seeger | 2009-12-07 | 1 | -2/+2 |
| | | | | Karolin | ||||
* | examples: Fix the build of the example VFS modules. | Karolin Seeger | 2009-12-07 | 2 | -10/+13 |
| | | | | Karolin | ||||
* | s4:dsdb Use ldb_match_msg_objectclass in operational.c | Andrew Bartlett | 2009-12-07 | 1 | -6/+1 |
| | | | | | | | This avoids not only a possibly non-portable compiler expression, but also the need to look up the schema each time. Andrew Bartlett | ||||
* | s4:ldb Add a function to match a message against an objectClass | Andrew Bartlett | 2009-12-07 | 2 | -0/+22 |
| | | | | | | | (as objectClass will always be a case insensitive ascii string, we can make a much simpler match function here than for the general case). Andrew Bartlett | ||||
* | s4:ldap.py Improve testsuite for primaryGroupToken behaviour | Andrew Bartlett | 2009-12-07 | 1 | -0/+22 |
| | | | | | | | | | | This tries to show that the domain object should not have a primaryGroupToken, for example. (This passes against the old and new code, as the failure case requires an object with an objectSid, and exactly one group in it's subtree. Sadly I don't know of a valid structure that I can construct to test this). Andrew Bartlett | ||||
* | s4:dsdb Make primaryGroupToken calculation more efficient and correct | Andrew Bartlett | 2009-12-07 | 1 | -20/+46 |
| | | | | | | | | | | | | The original code here would do a subtree search under each object, attempting to determine if it was a group. This was incorrect, and inefficient - we just need to ask for the objectClass attribute, and check that value before returning the group's RID. (Much of this patch reworks operational.c to allow a search for 2 attributes for this calculation). Andrew Bartlett | ||||
* | s4:dsdb Make parentGUID handler use dsdb_module_search_dn() | Andrew Bartlett | 2009-12-07 | 2 | -76/+29 |
| | | | | | | | | | This avoids doing a new search from the top of the module stack. This also removes the helper function dsdb_find_parentguid_by_dn() which is now unused. Andrew Bartlett | ||||
* | s4:build torturedir and -DTORTUREDIR is unused | Andrew Bartlett | 2009-12-07 | 2 | -4/+0 |
| | | | | (And made building RPMs much more difficult for JHT) | ||||
* | s4:dsdb Hide the LM password by default too | Andrew Bartlett | 2009-12-07 | 1 | -1/+2 |
| | |||||
* | streamline some log levels for invalid servicenames | Christian Ambach | 2009-12-06 | 2 | -2/+2 |
| | | | | | | | | | | | | I don't think we need to log the fact that a user gave a wrong sharename in Explorer with the highest log level. The level of this was not very consistent: service.c: DEBUG(3,("find_service() failed to find service %s\n", service)); service.c: DEBUG(0,("%s (%s) couldn't find service %s\n", smb2_tcon.c: DEBUG(1,("smbd_smb2_tree_connect: couldn't find service %s\n", This changes the last two to 3 as the first one. Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com> | ||||
* | s3: Fix a const discard warning | Volker Lendecke | 2009-12-06 | 1 | -7/+9 |
| | |||||
* | s3: talloc_array_length deals file with a NULL argument | Volker Lendecke | 2009-12-06 | 1 | -3/+3 |
| | |||||
* | s3: Small simplification: qsort deals fine with just one entry | Volker Lendecke | 2009-12-06 | 1 | -7/+2 |
| | |||||
* | s3: Simplify usr_info_cmp by calling timeval_compare() | Volker Lendecke | 2009-12-06 | 1 | -3/+1 |
| | |||||
* | s3: Add rpcclient wkssvc_enumerateusers | Volker Lendecke | 2009-12-06 | 1 | -0/+51 |
| | |||||
* | s3: Complete support for NetWkstaGetInfo/NetWkstaEnumUsers | Ian Puleston | 2009-12-06 | 1 | -22/+380 |
| | |||||
* | s3: First cut at _wkssvc_NetWkstaEnumUsers | Volker Lendecke | 2009-12-06 | 1 | -3/+52 |
| | | | | This needs access checks! |