summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2009-02-12s3: Added new parameter "map untrusted to domain"Steven Danneman1-0/+2
When enabled this reverts smbd to the legacy domain remapping behavior when a user provides an untrusted domain This partially reverts d8c54fdd
2009-02-12s3-spoolss: remove old spoolss_SetPrinterDataEx.Günther Deschner1-9/+0
Guenther
2009-02-12s3-spoolss: remove old spoolss_GetPrinterDataEx.Günther Deschner1-11/+0
Guenther
2009-02-12s3-spoolss: add init_systemtime helper.Günther Deschner1-0/+5
Guenther
2009-02-12[Bug 6069] Add a fstatvfs function for libsmbclientDerrell Lipman1-0/+15
- port functionality from v3_3_test to master Derrell
2009-02-11s3: Change behavior when seeing an unknown domain.Dan Sledz1-1/+0
After a lot of testing against various Windows servers (W2K, W2K3, W2K8), within an AD domain it seems that unknown domains will only be translated to the local account domain, not the netbios name of the member server's domain. This makes samba act more like Windows.
2009-02-11s3: Implement wbcGetSidAliasesDan Sledz1-0/+11
* Adds wbcGetSidAliases that calls the lookup_useraliases function. * Updates wbinfo and winbind_util.c to call the new function. * Also added winbind_get_groups helper function.
2009-02-11s3: Implement wbcGetpwsidDan Sledz1-16/+2
* Adds the plumbing required to lookup users by sid into winbind, wbinfo and smbd helper lib (winbind_util.c). * Removes some double declarations of winbind_util.c functions. * Bumps the winbind protocol version to 21 and the minor version of wbclient to 3.
2009-02-10s3-spoolss: remove old spoolss_ReplyOpenPrinter.Günther Deschner1-7/+0
Guenther
2009-02-10Add read_pkt_send/recvVolker Lendecke1-0/+9
2009-02-10s3-spoolss: remove old spoolss_OpenPrinter.Günther Deschner1-3/+0
Guenther
2009-02-10s3-spoolss: remove old spoolss_OpenPrinterEx.Günther Deschner1-12/+0
Guenther
2009-02-10s3-spoolss: remove old spoolss_SetJob.Günther Deschner1-8/+0
Guenther
2009-02-10s3-spoolss: remove old spoolss_StartDocPrinter.Günther Deschner1-11/+0
Guenther
2009-02-10s3-rpcclient: add rpccli_spoolss_openprinter_ex() convenience wrapper.Günther Deschner1-0/+5
Guenther
2009-02-09s3: Added SMB_VFS_INIT_SEARCH_OP to initialize data at the beginning of SMB ↵Steven Danneman1-0/+1
search requests. By default this VFS call is a NOOP, but the onefs vfs module takes advantage of it to initialize direntry search caches at the beginning of each TRANS2_FIND_FIRST, TRANS2_FIND_NEXT, SMBffirst, SMBsearch, and SMBunique
2009-02-09Pass stat buffer down through all levels of VFS_READDIR wrappersSteven Danneman1-2/+3
* VFS_OP_READDIR can now provide stat information, take advantage of it if it's available * is_visible_file(): optimistically expect the provided stat buffer is already valid * dptr_ReadDirName(): refactor code for easier readability, functionality is the same
2009-02-09s3 OneFS: Add kernel oplocks implementationTim Prouty1-0/+4
A few functions in oplocks_onefs.c need to be accessed from the onefs vfs module. It would be ideal if oplocks were implemented at the vfs layer, but since they aren't yet, a new header is added to source3/include to make these functions available to the onefs vfs module. oplocks_onefs.o doesn't need to be linked into the onefs vfs module explicitly, since it is already linked into smbd by default.
2009-02-09s3 oplocks: Add capabilites flags field to the kernel_oplocks structTim Prouty1-0/+1
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 Prouty1-1/+9
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 vfs: Add a destructor to the fsp extension data APITim Prouty1-1/+3
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-spoolss: remove old spoolss_ScheduleJob.Günther Deschner1-3/+0
Guenther
2009-02-09s3-spoolss: remove old spoolss_AddJob.Günther Deschner1-3/+0
Guenther
2009-02-09S3: New module interface for SMB message statistics gatheringtodd stecher1-1/+4
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-09s3-spoolss: remove old rpccli_spoolss_routerreplyprinter.Günther Deschner1-6/+0
Guenther
2009-02-09s3-spoolss: remove old spoolss_ReplyClosePrinter.Günther Deschner1-5/+0
Guenther
2009-02-09s3-spoolss: remove old spoolss_AddPrintProcessor.Günther Deschner1-2/+0
Guenther
2009-02-09s3-spoolss: remove old _spoolss_FindClosePrinterNotify.Günther Deschner1-3/+0
Guenther
2009-02-09s3-spoolss: remove old _spoolss_DeletePrinterDriverEx.Günther Deschner1-12/+0
Guenther
2009-02-09s3-spoolss: remove old spoolss_DeletePrinterDriver.Günther Deschner1-13/+0
Guenther
2009-02-09s3-spoolss: remove old _spoolss_DeletePrinterKey.Günther Deschner1-7/+0
Guenther
2009-02-09s3-spoolss: remove old _spoolss_DeletePrinterData.Günther Deschner1-7/+0
Guenther
2009-02-09s3-spoolss: remove old _spoolss_DeletePrinterDataEx.Günther Deschner1-9/+0
Guenther
2009-02-09s3-spoolss: remove old _spoolss_GetForm.Günther Deschner1-9/+0
Guenther
2009-02-09s3-spoolss: restore delete_a_form().Günther Deschner1-2/+1
Guenther
2009-02-09s3-spoolss: remove old _spoolss_SetForm.Günther Deschner1-8/+0
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_SetForm.Günther Deschner1-1/+1
Guenther
2009-02-09s3-spoolss: remove old spoolss_AddForm.Günther Deschner1-6/+0
Guenther
2009-02-09s3-spoolss: use pidl for spoolss_AddForm.Günther Deschner1-2/+1
Guenther
2009-02-09async_sock: Use unix errnos instead of NTSTATUSKai Blin1-8/+0
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later.
2009-02-07s3-spoolss: remove old _spoolss_WritePrinter.Günther Deschner1-9/+0
Guenther
2009-02-07s3-spoolss: remove old _spoolss_DeleteForm.Günther Deschner1-3/+0
Guenther
2009-02-07s3-spoolss: rework some form functions and add form_by_string functions.Günther Deschner1-0/+2
Guenther
2009-02-07s3-spoolss: use rpccli_spoolss_DeleteForm.Günther Deschner1-4/+0
Guenther
2009-02-06s3-spoolss: remove old _spoolss_EndDocPrinter.Günther Deschner1-7/+0
Guenther
2009-02-06s3-spoolss: remove old _spoolss_AbortPrinter.Günther Deschner1-3/+0
Guenther
2009-02-06s3-spoolss: remove old _spoolss_EndPagePrinter.Günther Deschner1-7/+0
Guenther
2009-02-06s3-spoolss: remove old _spoolss_StartPagePrinter.Günther Deschner1-7/+0
Guenther
2009-02-06s3-spoolss: remove old _spoolss_DeletePrinter.Günther Deschner1-3/+0
Guenther
2009-02-06s3-spoolss: remove old _spoolss_ClosePrinter.Günther Deschner1-6/+0
Guenther