summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4:ldbcli - Added encoder/decoder for relax control.Endi S. Dewata2009-11-191-2/+20
|
* s3: Replace some create_synthetic_smb_fname() callsVolker Lendecke2009-11-187-115/+63
| | | | | In very hot codepaths like the statcache copy_smb_filename and the subsequent recursive talloc_free is noticable in the CPU load.
* s3: Do not talloc in readdirVolker Lendecke2009-11-1812-141/+198
| | | | This is a hot codepath (called from the stat cache)
* s3:load_interfaces(): use function gfree_interfaces() that we have.Michael Adam2009-11-181-9/+1
| | | | | | To reduce code duplication. Michael
* Added control copying for message types other than ldb_search.Nadezhda Ivanova2009-11-181-1/+4
| | | | | | When ildap created a new message to forward, it only copied controls for ldb_search requests. This caused controls for add and modify to be lost in transition and tests for them could not be implemented.
* s3/docs: Add "max protocol = smb2" to man smb.conf.Karolin Seeger2009-11-181-0/+5
| | | | Karolin
* README.coding: Update rules about code blocks and braces.Kai Blin2009-11-181-15/+31
|
* selftest: Subunit/Filter.pm only allow expected failures without errorsStefan Metzmacher2009-11-181-2/+24
| | | | metze
* s4:selftest: mark samba4.smb2.lock.*.VALID-REQUEST as known failureStefan Metzmacher2009-11-181-0/+1
| | | | metze
* SMB2-LOCK: make use of torture_assert_*()Stefan Metzmacher2009-11-181-12/+6
| | | | | | This is needed in order to mark tests as known failures. metze
* s4:ntvfs_generic: check for valid SMB2_LOCK flagsStefan Metzmacher2009-11-181-0/+8
| | | | metze
* s4:selftest: fix logic for --option=torture:progress=noStefan Metzmacher2009-11-181-1/+1
| | | | metze
* s4:torture/test_gentest.sh: make use of the PREFIX argumentStefan Metzmacher2009-11-181-5/+6
| | | | | | We should not use hardcode pathes! metze
* selftest: ignore empty lines in knownfailuresStefan Metzmacher2009-11-181-0/+1
| | | | metze
* selftest/output/plain.pm: report the testuite name on errorStefan Metzmacher2009-11-181-1/+5
| | | | metze
* s4:selftest: for now skip the BASE-DELAY-WRITE test completelyStefan Metzmacher2009-11-181-0/+1
| | | | | | | | | This test randomly fails depending on the timing (the tests are too strict with the values introduced in commit 0fca2b078ceb314e429e24e3318b50451ccf423b) and local filesystem features (timestamp resolution). metze
* s4:selftest: avoid running the slow BASE-DELAY-WRITE test on the cifs proxy ↵Stefan Metzmacher2009-11-181-0/+1
| | | | | | | | share It's enough to run it on the posix share. metze
* s4:selftest: add "rpc.netlogon.*.GetDomainInfo"Stefan Metzmacher2009-11-181-0/+1
| | | | | | We need to expand the test to work against w2k8 and w2k8r2... metze
* fixed the buildAndrew Tridgell2009-11-181-0/+4
| | | | | | whoever pushed 15d93a5d8e21893e1cca5c989dbf97010aae1622, please check that what you push compiles and passes tests. In this case it didn't compile.
* s4/torture: Port SMBv1 Change Notify tests to SMBv2Aravind Srinivasan2009-11-174-42/+1839
| | | | | | | | * Ported all tests from raw/notify.c to smb2/notify.c * Parameterized the max_buffer_size so it can be set on a per-target basis. * Fixed CHECK macros to use torture_result * Created a SMB2-NOTIFY test suite
* s4/libcli: add a FILE_NOTIFY_CHANGE_ALL macroAravind Srinivasan2009-11-171-0/+8
| | | | | This macro encompasses all possible file notifications that can be raised.
* s4/torture: add a new ulong parameteric torture optionAravind Srinivasan2009-11-171-0/+8
|
* torture/smb2: make SMB2 BRL tests pass against W2K8R2Steven Danneman2009-11-173-100/+111
| | | | | | | | | | | | | | | The BRL tests previously based their results off several bugs in the W2K8 byte range lock code. I've fixed up the tests to pass against Win7 which has fixed these bugs, and assume that the Win7 behavior is the default. I have inverted the test behavior for >63-bit lock requests. The tests previously expected NT_STATUS_OK as their default in this case. I've changed that default to expect STATUS_INVALID_LOCK_RANGE. This may requires some changing of make test to compensate. I've also removed a few test scenarios from VALID-REQUEST in preparation of replacing them with separate tests ported from RAW-LOCK.
* Start removing SMB_STRUCT_STAT variables except forJeremy Allison2009-11-171-15/+13
| | | | | the directory enumeration code (which needs it). Jeremy.
* Remove "store create time" code, cause create time to be storedJeremy Allison2009-11-1715-180/+238
| | | | | | | | | | | | in the "user.DOSATTRIB" EA. From the docs: In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store the create time for a file as well as the DOS attributes. This is done in a backwards compatible way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this extended attribute by earlier versions of Samba, but they will not be able to read the create time stored there. Storing the create time separately from the normal filesystem meta-data allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem. Passes make test but will need more testing. Jeremy.
* s4:WINREG RPC server - remove a "talloc_free"Matthias Dieter Wallnöfer2009-11-171-2/+0
| | | | | I assume that this "talloc_free" isn't necessary since the DCERPC server frees the handle itself (we got always warnings about this).
* s4:provision_users.ldif - Descriptions generally begin with a majuscleMatthias Dieter Wallnöfer2009-11-171-2/+2
|
* s4:SAMLDB DSDB module - Add "\n"s on debug messagesMatthias Dieter Wallnöfer2009-11-171-2/+2
|
* s4:SAMLDB DSDB module - Remove "\n" in LDB error messagesMatthias Dieter Wallnöfer2009-11-171-25/+31
| | | | | | abartlet suggested me to not use anymore "\n"s in those kind of outputs. Plus, enhance a search filter to consider also "builtinDomain" objects which are basically domain objects too.
* Fixed incorrect SID for RAS Servers.Nadezhda Ivanova2009-11-174-1/+4
|
* s3: Fix the build on SolarisVolker Lendecke2009-11-172-7/+7
|
* s4:dsdb/schema: let schema_supclasses() return the correct pointerStefan Metzmacher2009-11-171-2/+2
| | | | | | str_list_unique() changes the pointer via talloc_realloc(). metze
* librpc: rerun "make idl"Stefan Metzmacher2009-11-174-9/+9
| | | | metze
* netlogon.idl: fix ndr_pull_netr_DatabaseRedo()Stefan Metzmacher2009-11-171-2/+9
| | | | | | | We can't use subcontext_size() here, as change_log_entry_size is encoded after the subcontext. metze
* s4:selftest: use "dc:local" instead of a hardcoded config fileStefan Metzmacher2009-11-171-3/+3
| | | | | | | | | | If a tests needs access to the dc's config, it should run as "dc:local", then it can also access unix named pipes... If we pass a hardcoded config file the test fails if you use a selftest_prefix. metze
* s4:selftest: allways start with $(ST_RM)Stefan Metzmacher2009-11-171-2/+2
| | | | metze
* s4:selftest: place summary file into selftest-prefixStefan Metzmacher2009-11-171-1/+2
| | | | metze
* selftest: make sure we don't buffer any outputStefan Metzmacher2009-11-173-0/+9
| | | | metze
* selftest: Fix unexpected failure handline in Subunit/Filter.pmStefan Metzmacher2009-11-171-2/+8
| | | | | | | | | | | We should only mark the testsuite as expected failure, if there were more than 1 expected failure, but 0 unexpected failures. Before we ignored unexpected failures if there was an expected failure within a testsuite. metze
* s4:heimdal: import lorikeet-heimdal-200911170333 (commit ↵Andrew Bartlett2009-11-179-25/+8
| | | | | | | | | | b532c294d974cead40a1183c71be644c6ccc2832) This fixes up connections to Windows 2003, because the previous import had a broken arcfour-hmac-md5 implementation (fixed in Heimdal 316fc6ff8ffb0cbb1ef3689685e9977c37405bc4) Andrew Bartlett
* s4/drs(tort): Convert DSSYNC test to a test case fixtureKamen Mazdrashki2009-11-172-24/+68
| | | | | | | Now it should be much more clear why and where a test in DSSYNC test case has failed. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/drs(tort): replace DEBUG with torture_asert/comment/failKamen Mazdrashki2009-11-171-45/+49
| | | | | | | | | I left dumping of decrypted attributes values 'as is' (using DEBUG and DEBUGADD) as it uses dump_data() function. dump_data() uses DEBUGADD internally, so I have no way to redirect its output to torture_context at this point. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/drs(tort): use torture_drsuapi_assert_call() macro for error checkingKamen Mazdrashki2009-11-171-11/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/drs(tort): replace 'printf' with 'torture_...' callsKamen Mazdrashki2009-11-171-14/+15
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/drs(tort): 'DsSyncBindInfo.pipe' renamed - 'pipe' is a system callKamen Mazdrashki2009-11-171-11/+11
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/drs(tort): 'DsPrivate.pipe' renamed - 'pipe' is a system callKamen Mazdrashki2009-11-173-13/+13
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:dsdb With these workarounds, we now pass the RPC-DSSYNC testAndrew Bartlett2009-11-172-3/+15
|
* s4:provision Split up reference creation, load schema earlier in the stackAndrew Bartlett2009-11-173-19/+31
| | | | | | | | | | The schema needs to be loaded above the extended_dn_out modules as otherwise we don't get an extended DN in the search results. The reference split is to ensure we create references after the objects they reference exist. Andrew Bartlett
* s4:schema Add the GUID to each defaultObjectCategory when loading from LDIFAndrew Bartlett2009-11-171-0/+49
| | | | | | | | This makes these full extended DNs, so we set the right values into the database, even before we actually set the schema objects themselves. Andrew Bartlett
* s4:dsdb Rework samdb code to use 'storage format' DNs for defaultObjectCategoryAndrew Bartlett2009-11-174-1/+67
| | | | | | | | | | It is important to always ensure that this attribute has an extended DN if the rest of the database stores things that way. The knowlege of what format the DN is stored on disk with is passed around in an LDB opaque. Andrew Bartlett