summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-09s4/dsdb: split writing of schemaInfo blob in two partsKamen Mazdrashki1-21/+46
ldb_msg preparation is moved into separate function so that it can be used for implementing schemaInfo updates both on module stack (dsdb_module_... functions) and directly on ldb_context
2010-04-09s4/dsdb: Let caller to control if valid invocationId is critical or ↵Kamen Mazdrashki4-4/+9
zero-guid is acceptable
2010-04-09s4/test: Add DRS-UNIT test suite to 'quicktests' listKamen Mazdrashki1-0/+1
2010-04-09s4/dsdb: Use dsdb_schema_info object to create default schemaInfo valuesKamen Mazdrashki2-7/+22
2010-04-09s4/dsdb: Use dsdb_schema_info object to verify schema_info blobsKamen Mazdrashki2-21/+20
2010-04-09s4/test: Use drsut_schemainfo_new() instead of SCHEMA_INFO_DEFAULT local defineKamen Mazdrashki1-18/+30
2010-04-09s4/waf: add new files to WAF buildKamen Mazdrashki2-2/+2
2010-04-09s4/samldb: schemaInfo attribute must be updated when adding new Schema objectKamen Mazdrashki1-0/+50
2010-04-09s4/test: add shemaInfo torture test to automated test suiteKamen Mazdrashki1-0/+1
2010-04-09s4/schema: Torture test for schemaInfo implementationKamen Mazdrashki1-0/+209
This test checks if schemaInfo revision changes when an object is added or modified in Schema. Ref. [MS-ADTS], 3.1.1.2.1
2010-04-09s4/was: Add 'drsblobs' Python moduleKamen Mazdrashki1-0/+13
2010-04-09s4: Add 'drsblobs' Python moduleKamen Mazdrashki1-0/+11
This module is be very useful when it comes to making torture tests.
2010-04-09librpc/idl: Use [nopython] attr for types used in decode_PrimaryKerberos methodKamen Mazdrashki2-14/+14
C code generation for python module generates invalid code (i.e. can not be compiled). Another reason to 'hide' those types from Python is that those types are not used at the moment (and most probably won't be used in the future)
2010-04-09librpc/idl Use [nopython] on some drsblobs.idl 'functions' as an exampleAndrew Bartlett1-5/+5
It makes little sense to expose these 'functions' to anything other than ndrdump. Andrew Bartlett
2010-04-09pidl:python Allow 'nopython' to workAndrew Bartlett2-0/+2
The 'nopython' flag wasn't available for use, as it failed to get past the syntax checker. Andrew Bartlett
2010-04-09s4/tort: Unit test for schemaInfo implementationKamen Mazdrashki3-0/+582
2010-04-09torture: add torture_assert_goto() convenience macroKamen Mazdrashki1-0/+7
2010-04-09s4/dsdb: dsdb_schema_info object implementationKamen Mazdrashki2-1/+385
2010-04-09s4/dsdb: Define dsdb representation for schemaInfo attributeKamen Mazdrashki1-0/+8
2010-04-09s4/ldif: Handle Schema:schemaInfo blobsKamen Mazdrashki2-0/+21
2010-04-09s4/idl: drsblobs IDL regenerationKamen Mazdrashki3-0/+72
2010-04-09s4/idl: Schema:schemaInfo attribute descriptionKamen Mazdrashki1-0/+16
2010-04-09s4-krb5: Fix typos in comment.Karolin Seeger1-1/+1
Karolin
2010-04-08Stop smb2 from calling into smb1 blocking lock request code.Jeremy Allison6-0/+72
Allocate a uint16_t internal SMB1 mid for an SMB2 request. Add a back pointer from the faked up smb_request struct to the smb2 request. Getting ready to add restart code for blocking locks, share mode violations and oplocks in SMB2. Jeremy.
2010-04-08Simplify call_trans2qfilepathinfo() and smbd_do_qfilepathinfo()Jeremy Allison3-20/+4
Remove the bool ms_dfs_link parameter from smbd_do_qfilepathinfo. It is not possible for this to be a DFS link. Remove the check_msdfs_link() call from call_trans2qfilepathinfo() - the call to filename_convert() above with a ucf_flags of zero *MUST* catch a DFS link and return NT_STATUS_PATH_NOT_COVERED in this case, so the code below checking for msdfs links is redundent. Don't add this to 3.5.x, as it's an optimization but not needed to fix bug #7339 - MSDFS is non-functional in 3.5.x. Jeremy.
2010-04-08Fix bug #7339 - MSDFS is non-functional in 3.5.xJeremy Allison4-1/+6
In the refactoring around filename_convert, the split between the functions resolve_dfspath() and resolve_dfspath_wcard() was lost, leaving us only with resolve_dfspath_wcard(). Internally resolve_dfspath_wcard() calls dfs_redirect() only with a "allow_wcards" flag of true, wheras the old resolve_dfspath() would call with a value of false. The loss of this case causes dfs_redirect to always masquerade DFS links as directories, even when they are being queried directly by a trans2 QPATHINFO call. We should only masquerade DFS links as directories when called from a SMBsearch or trans2 findfirst/findnext - which was the intent of the "allow_wcards" flag. This patch adds back an allow_wcards bool parameter to resolve_dfspath_wcard(). This bool is set from the state of the ucf_flags when filename_convert() is called. I will follow this up with a new smbclient-based torture test that will prevent us from ever regressing our DFS support again. Jeremy.
2010-04-09s4/torture: Suppress Valgrind warningsKamen Mazdrashki1-1/+2
This patch suppresses two Valgrind warnings of type "xxx bytes in yy blocks are indirectly lost in loss record"
2010-04-09s4-winreg: add winreg_DeleteKeyEx stub.Günther Deschner1-0/+9
Guenther
2010-04-09s3-winreg: add winreg_DeleteKeyEx stub.Günther Deschner1-0/+12
Guenther
2010-04-09s3: re-run make samba3-idl.Günther Deschner7-2/+356
Guenther
2010-04-09winreg: add IDL for winreg_DeleteKeyEx.Günther Deschner1-0/+9
Guenther
2010-04-08s4:registry - "patchfile_preg.c" - assign a better type to the "i" counter ↵Matthias Dieter Wallnöfer1-2/+1
variable The "i" variable sums up "size" values which are of type "size_t". Therefore also "i" itself should be from this type.
2010-04-08s4:registry - "patchfile_preg.c" - make a SIVAL statement nicerMatthias Dieter Wallnöfer1-1/+1
2010-04-08s3: re-run make samba3-idl.Günther Deschner4-6/+240
Guenther
2010-04-08winreg: fill in some winreg IDL gaps.Günther Deschner1-3/+13
Guenther
2010-04-08s4-net: Convert 'net time' to python.Jelmer Vernooij5-6/+54
2010-04-08net: Convert time command to python.Jelmer Vernooij4-91/+50
2010-04-08s4-net: Use new Net() object in net export keytab.Jelmer Vernooij3-6/+10
2010-04-08pynet: Create a net class.Jelmer Vernooij10-91/+118
2010-04-08s4-python: Fix formatting, use standard convention to call instance methods.Jelmer Vernooij6-49/+51
2010-04-08s4-python: Cancel transaction properly in case of exceptions, fix formatting.Jelmer Vernooij1-29/+33
2010-04-08s4-python: Move load_partition_usn to dsdb module.Jelmer Vernooij6-78/+82
2010-04-08s4-python: More cleanups.Jelmer Vernooij9-29/+37
2010-04-08s4-python: rename samba.glue to samba._glue to indicate it's private.Jelmer Vernooij6-44/+44
2010-04-08s4-python: Fix formatting, import of FLG_NOSYNC.Jelmer Vernooij3-7/+6
2010-04-08s4-python: Simplify code, improve formatting.Jelmer Vernooij8-235/+208
2010-04-08s4-python: Remove obsolete and broken torture modules.Jelmer Vernooij5-963/+0
The functionality of these modules is already present in a more current form in other modules.
2010-04-08testr: Use waf test runner.Jelmer Vernooij1-2/+2
2010-04-08selftest: Add --filtered-subunit option.Jelmer Vernooij1-1/+6
2010-04-08selftest: Support --load-list option.Jelmer Vernooij1-7/+39