summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-02-09s3 oplocks: Add capabilites flags field to the kernel_oplocks structTim Prouty4-2/+50
Here is a short description for each of the new capability flags: KOPLOCKS_LEVEL2_SUPPORTED: Level 2 oplocks are supported natively in the kernel. KOPLOCKS_DEFERRED_OPEN_NOTIFICATION: The kernel notifies deferred openers when they can retry the open. KOPLOCKS_TIMEOUT_NOTIFICATION: The kernel notifies smbds when an oplock break times out. KOPLOCKS_OPLOCK_BROKEN_NOTIFICATION: The kernel notifies smbds when an oplock is broken.
2009-02-09s3 oplocks: Make the level2 oplock contention API more granularTim Prouty11-39/+178
This replaces release_level2_oplocks_on_change with contend_level2_oplock_begin/end in order to contend level2 oplocks throughout an operation rather than just at the begining. This is necessary for some kernel oplock implementations, and also lays the groundwork for better correctness in Samba's standard level2 oplock handling. The next step for non-kernel oplocks is to add additional state to the share mode lock struct that prevents any new opens from granting oplocks while a contending operation is in progress. All operations that contend level 2 oplocks are now correctly spanned except for aio and synchronous writes. The two write paths both have non-trivial error paths that need extra care to get right. RAW-OPLOCK and the rest of 'make test' are still passing with this change.
2009-02-09s3 oplocks: Differentiate between releasing an oplock vs. downgrading to ↵Tim Prouty4-5/+5
Level 2 for kernel oplocks Pass in an extra argument when releasing an oplock so kernel oplock implementations can support downgrading from Level 1 to Level 2.
2009-02-09s3 vfs: Add a destructor to the fsp extension data APITim Prouty8-9/+20
I'm not certain if the dummy pointer is needed in struct vfs_fsp_data, but I added it to be consistent with the comment below.
2009-02-09S3: Various fixes for log2pcaphex utilitytodd stecher1-49/+113
2009-02-09s3 spoolss: arch needs to be set before it's passed to get_version_id.Tim Prouty1-3/+3
7717ad688099860fa0989ed3582435404fd6d4fa left arch unitialized. Guenther, please check.
2009-02-09Revert "s3:winbindd_user: create domain connection in winbindd_fill_pwent if ↵Michael Adam1-1/+1
necessary." This reverts commit 487f5e7b4768cfe9e511b0ba56f16c411e21f702. I was confused about the real meaning of find_domain_from_name_noinit() vs. find_domain_from_name(). We don't need the connection established here, just the domain struct which gets initialized by rescan_trusted_domains(). Sorry for the noise. Michael
2009-02-09s3-spoolss: remove old spoolss_ScheduleJob.Günther Deschner3-52/+0
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_ScheduleJob.Günther Deschner2-35/+6
Guenther
2009-02-09s3-spoolss: remove old spoolss_AddJob.Günther Deschner3-74/+0
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_AddJob.Günther Deschner2-44/+10
Guenther
2009-02-09s3 async: Fix the build on systems that have ETIMEDOUT but not ETIMETim Prouty1-4/+7
Fallback on EAGAIN
2009-02-09S3 OneFS: Add in Isilon specific performance counter moduletodd stecher3-1/+423
2009-02-09S3: New module interface for SMB message statistics gatheringtodd stecher18-39/+411
This changelist allows for the addition of custom performance monitoring modules through smb.conf. Entrypoints in the main message processing code have been added to capture the command, subop, ioctl, identity and message size statistics.
2009-02-09Attempt to fix the buildVolker Lendecke1-4/+4
2009-02-09s3-spoolss: remove old rpccli_spoolss_routerreplyprinter.Günther Deschner4-123/+0
Guenther
2009-02-09s3-spoolss: remove old spoolss_ReplyClosePrinter.Günther Deschner4-100/+0
Guenther
2009-02-09s3-spoolss: use rpccli_spoolss_ReplyClosePrinter.Günther Deschner1-5/+5
Guenther
2009-02-09s3-spoolss: remove old spoolss_AddPrintProcessor.Günther Deschner3-70/+0
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_AddPrintProcessor.Günther Deschner2-36/+17
Guenther
2009-02-09s3-rpcclient: remove a pointless fstring.Günther Deschner1-46/+29
Guenther
2009-02-09s3-rpcclient: use srv_name_slash instead of formating servername again and ↵Günther Deschner3-145/+62
again. Guenther
2009-02-09Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 ↵Jelmer Vernooij1-0/+2
and s4" lib/util already has discard_const_p. This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d.
2009-02-09s3-spoolss: move PRINTER_ENUM_ICONMASK to IDL.Günther Deschner1-1/+0
Guenther
2009-02-09s3-spoolss: use PRINTER_ENUM_NAME and remove double enum define.Günther Deschner2-2/+1
Guenther
2009-02-09s3-spoolss: remove PRINTER_CHANGE* flags now defined in IDL.Günther Deschner1-51/+0
Guenther
2009-02-09eliminate compiler warningsDerrell Lipman1-4/+7
2009-02-09s3:winbindd_user: create domain connection in winbindd_fill_pwent if necessary.Michael Adam1-1/+1
Calling find_domain_from_name_noinit() might not be enough here. This makes winbindd_getpwent() behave the same as winbindd_getgrent(). Michael
2009-02-09s3:winbindd_user: fix a debug message.Michael Adam1-2/+2
find_domain_from_name_noinit() is no longer called only for name alias support. Michael
2009-02-09s3-spoolss: remove old _spoolss_FindClosePrinterNotify.Günther Deschner3-53/+0
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_FindClosePrinterNotify.Günther Deschner2-37/+9
Guenther
2009-02-09s3-spoolss: remove whitespace in printing code.Günther Deschner3-512/+512
Guenther
2009-02-09Fix count in _srvsvc_NetDiskEnum()Volker Lendecke1-0/+2
Without this, remotely adding a share via MMC fails
2009-02-09s3-spoolss: remove old _spoolss_DeletePrinterDriverEx.Günther Deschner4-148/+0
Guenther
2009-02-09s3-rpcclient: use rpccli_spoolss_DeletePrinterDriverEx.Günther Deschner1-6/+16
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_DeletePrinterDriverEx.Günther Deschner2-42/+12
Guenther
2009-02-09s3-spoolss: remove old spoolss_DeletePrinterDriver.Günther Deschner4-132/+0
Guenther
2009-02-09s3-rpcclient: use rpccli_spoolss_DeletePrinterDriver.Günther Deschner1-3/+9
Guenther
2009-02-09s3-spools: use pidl for _spoolss_DeletePrinterDriver.Günther Deschner2-41/+11
Guenther
2009-02-09s3-spoolss: remove old _spoolss_DeletePrinterKey.Günther Deschner4-99/+0
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_DeletePrinterKey.Günther Deschner2-46/+15
Guenther
2009-02-09s3-spoolss: remove old _spoolss_DeletePrinterData.Günther Deschner4-98/+0
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_DeletePrinterData.Günther Deschner2-49/+15
Guenther
2009-02-09s3-spoolss: remove old _spoolss_DeletePrinterDataEx.Günther Deschner4-107/+0
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_DeletePrinterDataEx.Günther Deschner2-51/+14
Guenther
2009-02-09s3-spoolss: remove SPOOLSS_DELETEPRINTERDRIVEREX flags now defined in IDL.Günther Deschner1-6/+0
Guenther
2009-02-09s3-spoolss: remove old _spoolss_GetForm.Günther Deschner4-159/+0
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_GetForm.Günther Deschner2-62/+30
Guenther
2009-02-09s3-spoolss: add fill_form_info_1.Günther Deschner1-0/+21
Guenther
2009-02-09s3-rpcclient: use rpccli_spoolss_GetForm.Günther Deschner1-7/+47
Guenther