summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2009-02-24S3: Add in profile counters for new vfs and syscall entries.todd stecher1-0/+28
2009-02-25s3-spoolss: remove some left-over hand marshalling code and structs.Günther Deschner2-109/+0
Guenther
2009-02-24s3-spoolss: remove rpccli_spoolss_addprinterdriver.Günther Deschner1-6/+0
Guenther
2009-02-24s3-rpcclient: use rpccli_spoolss_AddPrinterDriver.Günther Deschner1-1/+0
Guenther
2009-02-24s3-spoolss: remove old rpccli_spoolss_getprinterdriver wrapper.Günther Deschner1-4/+0
Guenther
2009-02-24s3-spoolss: add rpccli_spoolss_getprinterdriver2 convenience wrapper.Günther Deschner1-0/+11
Guenther
2009-02-24Remove read_pktVolker Lendecke1-9/+0
2009-02-24Convert name_mangle() to use tallocVolker Lendecke1-1/+1
2009-02-24s3: remove unused smb_ldap.hStefan Metzmacher2-257/+0
metze
2009-02-24s3-lib: add marshall_sec_desc_buf and unmarshall_sec_desc_buf helpers.Günther Deschner1-0/+5
Guenther
2009-02-23Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman1-2/+0
This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid().
2009-02-23Make char* parameters constDerrell Lipman1-4/+4
- Use const in function signatures whenever appropriate, to help prevent errant scribbling on users' buffers. smbc_set_credentials() always acted as if its formal parameters were const char *, and changing the formal declaration to specify that should not cause any change to the ABI. It is still allowable to pass a writable buffer to a function which specifies that it will not write to the buffer. I'm making this change only in master. Derrell
2009-02-23s3-spoolss: remove cli_spoolss_notify.c completly.Günther Deschner1-2/+0
All of the spoolss change notify code uses pidl generated functions now. Guenther
2009-02-23s3-spoolss: remove old SPOOL_NOTIFY_OPTION definitions.Günther Deschner1-32/+0
Guenther
2009-02-23s3-spoolss: remove old spoolss_RemoteFindFirstPrinterChangeNotifyEx.Günther Deschner2-33/+0
Guenther
2009-02-23s3-spoolss: remove SPOOL_NOTIFY_INFO_DATA and SPOOL_NOTIFY_INFO alltogether.Günther Deschner2-32/+0
Guenther
2009-02-23s3-spoolss: remove old spoolss_RouterReplyPrinterEx.Günther Deschner2-28/+0
Guenther
2009-02-23s3-spoolss: remove old spoolss_RouterRefreshPrinterChangeNotify.Günther Deschner2-21/+0
Guenther
2009-02-23s3-spoolss: use spoolss_NotifyOption and spoolss_NotifyType instead of ↵Günther Deschner1-1/+1
SPOOL_NOTIFY_OPTION and SPOOL_NOTIFY_OPTION_TYPE. Guenther
2009-02-23s3-spoolss: use more idl types in spoolss server.Günther Deschner1-1/+4
Guenther
2009-02-23s3-spoolss: use struct spoolss_Notify instead of SPOOL_NOTIFY_INFO_DATA.Günther Deschner1-14/+14
Guenther
2009-02-23prefer gssapi header files from subdirectoryBjörn Jacke1-3/+3
this fixes some compile time noise on FreeBSD 7
2009-02-21Revert "s3 auth: Add parameter that forces every user through an NSS lookup"Tim Prouty1-2/+0
After the discussion on samba-technical, it was decided that the best answer for now was to revert this change. The right way to do this is to rewrite the token api to use opaque tokens with pluggable modules. This reverts commit 8e19a288052bca5efdb0277a40c1e0fdd099cc2b.
2009-02-21s3-spoolss: remove duplicate flag.Günther Deschner1-2/+0
Guenther
2009-02-21Remove the static "chal" from ntlmssp.c:get_challenge()Volker Lendecke2-2/+4
2009-02-20Change smbc_set_credentials_with_fallback() (unreleased) to useJeremy Allison1-3/+3
const approptiately. Jeremy.
2009-02-20Moved become_daemon() and close_low_fds() to shared util libSteven Danneman1-2/+0
2009-02-20s3: Modifications to generic notify structures to allow implementation of ↵Steven Danneman1-0/+3
OneFS notify. The OneFS kernel based change notify system takes an fd of the directory to watch in it's initialization syscall. Since we already have this directory open, this commit plumbs that fd down to the VFS layer via the notify_entry struct. We also need to know if the watch is taken out on a snapshot directory. The full file_id struct is also passed down to make this determination. The file_id marshalling wrappers are hand written here, but should eventually be auto-generated by moving the struct file_id into the idl.
2009-02-20Make libsmbclient work with DFSBo Yang1-0/+12
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
2009-02-19s3: Remove unused inform_level2_message structTim Prouty1-8/+0
2009-02-19s3: Add extid to the dev/inode pairTim Prouty4-25/+38
This extends the file_id struct to add an additional generic uint64_t field: extid. For backwards compatibility with dev/inodes stored in xattr_tdbs and acl_tdbs, the ext id is ignored for these databases. This patch should cause no functional change on systems that don't use SMB_VFS_FILE_ID_CREATE to set the extid. Existing code that uses the smb_share_mode library will need to be updated to be compatibile with the new extid.
2009-02-19s3: Modify SMB_VFS_FILE_ID_CREATE to take a stat structTim Prouty3-5/+5
Since file_id_create_dev is incompatible with the concept of file_ids, it is now static and in the one file that needs it.
2009-02-19s3-spoolss: remove old spoolss_AddPrinterDriver{Ex}.Günther Deschner2-22/+0
Guenther
2009-02-19s3-spoolss: use pidl for _spoolss_AddPrinterDriver{Ex}.Günther Deschner1-2/+0
Guenther
2009-02-19s3-spoolss: remove old spoolss_GetPrintProcessorDirectory.Günther Deschner2-38/+0
Guenther
2009-02-19s3-spoolss: use pidl for _spoolss_GetPrintProcessorDirectory.Günther Deschner1-1/+0
Guenther.
2009-02-19S3: Make changes to perfcount API set for when a single request leads to ↵todd stecher1-1/+7
multiple replies (e.g. reply_echo). Change test and onefs modules to match new api set (thanks Volker!).
2009-02-18S3: Allow SMBD processes to survive in low memory condidtionstodd stecher1-0/+4
This commit adds a configure argument which allows for setting MADV_PROTECT in the madvise() API. With this enabled the kernel won't kill SMBD when it's running low on memory.
2009-02-19s3-spoolss: remove old spoolss_GetPrinterDriverDirectory.Günther Deschner2-44/+0
Guenther
2009-02-19s3-spoolss: use pidl for _spoolss_GetPrinterDriverDirectory.Günther Deschner1-1/+0
Guenther
2009-02-18s3-spoolss: remove old spoolss_XcvData.Günther Deschner3-64/+0
Guenther
2009-02-18s3-spoolss: use pidl for _spoolss_XcvData.Günther Deschner1-1/+0
Guenther
2009-02-17s3-spoolss: remove old spoolss_ResetPrinter.Günther Deschner2-20/+0
Guenther
2009-02-16s3 auth: Add parameter that forces every user through an NSS lookupZach Loafman1-0/+2
When set to yes, "force username map" forces every user, even AD users, through an NSS lookup. This allows the token to be overridden with information from NSS in certain broken environments.
2009-02-14enums are traditionally signed. Avoid use of high bit in bit flags.Derrell Lipman1-3/+3
2009-02-14Rename lp_smb_perfcount_module() to lp_perfcount_module() to match the ↵Volker Lendecke1-1/+1
parameter name
2009-02-14[Bug 6069] Add a fstatvfs function for libsmbclientDerrell Lipman2-22/+7
- Revert Tim's changes for the moment. I need to see what the issue is and arrange to use "struct statvfs" if at all possible. Derrell
2009-02-13s3 vfs: Fix SMB_VFS_RECVFILE/SENDFILE macrosTim Prouty1-4/+4
2009-02-14s3-spoolss: use pidl for _spoolss_SetPrinter.Günther Deschner1-1/+0
Guenther
2009-02-14s3-spoolss: use pidl for _spoolss_AddPrinterEx.Günther Deschner1-1/+0
Guenther