summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-12-10Implementation of sDRightsEffective, allowedAttributesEffective and ↵Nadezhda Ivanova3-44/+738
allowedChildClassesEffective. Behavior as documented in WSPP and tested. Needs optimisation though.
2009-12-10s4-ldb: fixed 2 bugs in ldb_dn_set_extended_component()Andrew Tridgell1-2/+5
The first bug was that setting a component twice could cause it to appear twice in the DN. The second bug was that using an existing ldb_val from a previous call of ldb_dn_get_extended_component() as an argument to ldb_dn_set_extended_component() would cause a valgrind error (as the array the val pointed into will change).
2009-12-10s4-libcli: GUID_from_ndr_blob() is strict about the blob sizeAndrew Tridgell1-2/+4
We need to create a blob of the right length
2009-12-10s4-schema: use GUID_to_ndr_blob()Andrew Tridgell2-17/+15
2009-12-10s4-schema: use binsearch.hAndrew Tridgell1-48/+21
2009-12-10s4-dsdb: use GUID_to_ndr_blob()Andrew Tridgell4-34/+15
2009-12-10s4-ldb: use GUID_to_ndr_blob()Andrew Tridgell2-5/+8
2009-12-10s4-libnet: use GUID_to_ndr_blob()Andrew Tridgell2-9/+7
2009-12-10s4-libcli: use GUID_to_ndr_blob()Andrew Tridgell2-11/+9
2009-12-10s4-server: use GUID_to_ndr_blob() in cldap and smb serversAndrew Tridgell3-14/+9
2009-12-10s4-ldb: simplify ldif handlers using new GUID functionsAndrew Tridgell1-8/+9
2009-12-10s4-dsdb: simplify samdb_result_guid()Andrew Tridgell1-11/+4
2009-12-10s4-dsdb: simplify linked attributes code using GUID functionsAndrew Tridgell1-18/+16
2009-12-10s4-dsdb: simplify schema code using new GUID functionsAndrew Tridgell2-34/+22
2009-12-10s4-smb2: use new GUID function in smb2 negprotAndrew Tridgell1-3/+2
2009-12-10s4-libcli: use new GUID functions in libcliAndrew Tridgell3-18/+9
2009-12-10s4-dsdb: use GUID_from_ndr_blob() to create dsdb_get_extended_dn_guid()Andrew Tridgell1-0/+14
2009-12-09s4-smbtorture: enhance spoolss_EnumPrinterKey torture test.Günther Deschner1-14/+26
This demonstrates that s3 still does not have that call implemented correctly. Guenther
2009-12-09s4-dsdb: added dsdb_functional_level() helper functionAndrew Tridgell5-18/+21
2009-12-09s4-drs: ensure we fill in ncRoot_dn in getncchangesAndrew Tridgell1-0/+7
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-09s4-drs: use parentGUID attribute in getncchangesAndrew Tridgell1-34/+6
Now that parentGUID is reliable again, use it instead of building our own Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-09s4-ldb: fixed nested searches inside ldb modulesAndrew Tridgell2-4/+12
We need to keep a search count in ltdb to allow for nesting of searches inside a module Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-09s4-ldb: added a missing ltdb_unlock_read()Andrew Tridgell1-0/+1
2009-12-09s4-dsdb: use dsdb_module_search_dn in repl_meta_dataAndrew Tridgell1-1/+4
This allows us to search below the current module. That will be important when we start using the results of this search to get the linked attributes meta data right
2009-12-09s4-dsdb: fixed steal of parentGUID for empty msgAndrew Tridgell1-4/+10
msg->elements could be NULL before we add parentGUID
2009-12-09s4: On the way to alpha11Andrew Bartlett1-2/+2
2009-12-09This is alpha10Andrew Bartlett1-1/+1
2009-12-08s4:selftest: skip SMB2-ACLS for nowStefan Metzmacher1-0/+1
metze
2009-12-08s4:selftest: run RAW-STREAMS againStefan Metzmacher1-1/+0
metze
2009-12-08RAW-STREAMS: convert failing tests to torture apiStefan Metzmacher1-77/+54
This is needed as we want to mark failing tests as known failures. metze
2009-12-08s4-smbtorture: make level 8 the reference for PrinterDriverEnum test.Günther Deschner1-42/+73
Guenther
2009-12-08s4-smbtorture: fill in COMPARE_STRING_ARRAY macro in spoolss driver test.Günther Deschner1-1/+15
Guenther
2009-12-08s4:selftest: use ${selftest_prefix} instead of hardcoded st/Stefan Metzmacher1-1/+1
metze
2009-12-08s4-selftest: show the test summary at the end of 'make test' in the build farmAndrew Tridgell1-0/+1
This should make it easier to see what tests are failing with what parameters
2009-12-08s4-heimdal: fixed a use-after-free heimdal bugAndrew Tridgell1-0/+1
This caused samba4kinit to segfault on some systems
2009-12-08s4-drs: use -r to ldbdel in unvampire devel scriptAndrew Tridgell1-4/+3
This ensures we delete any nTDSConnection objects
2009-12-08s4-ldb: fixed ldbdel with -r (recursive deletion)Andrew Tridgell1-0/+15
We need to delete the deepest DNs first
2009-12-08s4:build Bump ldb and tdb required versions.Andrew Bartlett3-4/+4
Hopefully this will ensure we don't get an older version from the system.
2009-12-07s4 torture: Cleanup RAW-ACLS a bitTim Prouty2-3/+4
Don't check SEC_DESC_DACL_AUTO_INHERITED right now Disable RAW-ACLS-INHERITFLAGS for the short term Update samba4's knownfail accordingly
2009-12-08s4-selftest: don't consider spoolss failures to be an error in s4Andrew Tridgell1-1/+1
2009-12-08s4/smbstreams: Fix memory use after free.Kamen Mazdrashki1-4/+8
The bug is that sometimes 'streams' is parent for 'new_name'. With this said, 'new_name' must be dupped before 'streams' pointer is freed. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-08krb5: Fix leaked hx509_context pointerKamen Mazdrashki1-0/+4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-07s4 quicktest: exclude raw-streams from quicktest until bug is fixedTim Prouty2-1/+11
2009-12-07s4 torture: Add a new torture:hide_on_access_denied parameterTim Prouty6-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.
2009-12-07s4 torture: win 7 doesn't like the sequential_only flag for directoriesTim Prouty1-4/+2
Remove it for now
2009-12-07s4 torture: Port RAW-ACLS tests to SMB2Zack Kirsch6-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
2009-12-07s4 torure: Add SMB2 utility functionsZack Kirsch2-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.
2009-12-07s4 torture: RAW-ACL ImprovementsZack Kirsch2-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
2009-12-07s4 torture: Convert RAW-STREAMS to a set of test suites rather than a ↵Tim Prouty2-173/+206
monolithic test
2009-12-07s4 torture: Update RAW-RENAME to pass against win7Tim Prouty1-5/+27