summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2010-04-08s4-waf: Support --load-list option.Jelmer Vernooij1-1/+5
2010-04-08s4-python: samdb: Default to using global schema.Jelmer Vernooij1-2/+1
2010-04-08s4:dsdb - Handle INVALID_DN_SYNTAX from OpenLDAP in ↵Endi S. Dewata1-1/+1
dsdb_module_load_partition_usn(). Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-04-08Update waf build.Jelmer Vernooij1-1/+1
2010-04-08Migrate 'net export keytab' to python.Jelmer Vernooij6-125/+115
2010-04-08s3-lanman: use spoolss for api_RDosPrintJobDel().Günther Deschner1-15/+59
Guenther
2010-04-08s3-lanman: use spoolss for api_WPrintQueueCtrl().Günther Deschner1-7/+70
Guenther
2010-04-08s3-registry: fix fill_in_printer_values() for datatype and printprocessor.Günther Deschner1-2/+2
It is wise and good to enforce RAW and winprint, but we need to be consistent with spoolss (and enforce it there). Found by torture test. Guenther
2010-04-08s4-smbtorture: protect against full UNC paths in winreg printerinfo test.Günther Deschner1-2/+26
Guenther
2010-04-08s4:registry - "REGF backend" - don't ignore wrong-sized ↵Matthias Dieter Wallnöfer1-2/+5
REG_DWORD/REG_DWORD_BIG_ENDIAN values
2010-04-08s3: Remove the separate "child" argument from setup_domain_child()Volker Lendecke3-15/+8
2010-04-08s4-smbtorture: add PrinterInfo level 2 / winreg consistency test.Günther Deschner1-0/+185
This compares PrinterInfo2 with contents of HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\printername and HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\printername Guenther
2010-04-08s4-smbtorture: minor cleanup, use data_blob_talloc_zero() in RPC-SPOOLSS.Günther Deschner1-40/+20
Guenther
2010-04-08s4:WAF buildsystem - support out of "source4" directory buildsMatthias Dieter Wallnöfer2-8/+17
Bug: https://bugzilla.samba.org/show_bug.cgi?id=4081 With this patch we are able to invoke s4 builds from the outside of the "source4" directory (but the target remains the "source4/bin" path). One constraint: all commands: "autogen-waf.sh", "configure", "make" have to be run from the same directory! Regarding "make": you have to run it using "make -C <source4 path> [targets]" if the invoke directory is not "source4" itself.
2010-04-08build: we need this isinstance() check for distcheckAndrew Tridgell1-1/+1
Jelmer, this works around a bug in waf distcheck that will be fixed soon. We really need the isinstance() check for now.
2010-04-08build: the exceptions here are not usefulAndrew Tridgell1-3/+3
they just make the failure hard to spot