summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
* Change smbc_set_credentials_with_fallback() (unreleased) to useJeremy Allison2009-02-201-3/+3
| | | | | const approptiately. Jeremy.
* Moved become_daemon() and close_low_fds() to shared util libSteven Danneman2009-02-201-2/+0
|
* s3: Modifications to generic notify structures to allow implementation of ↵Steven Danneman2009-02-201-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.
* Make libsmbclient work with DFSBo Yang2009-02-201-0/+12
| | | | Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
* s3: Remove unused inform_level2_message structTim Prouty2009-02-191-8/+0
|
* s3: Add extid to the dev/inode pairTim Prouty2009-02-194-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.
* s3: Modify SMB_VFS_FILE_ID_CREATE to take a stat structTim Prouty2009-02-193-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.
* s3-spoolss: remove old spoolss_AddPrinterDriver{Ex}.Günther Deschner2009-02-192-22/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_AddPrinterDriver{Ex}.Günther Deschner2009-02-191-2/+0
| | | | Guenther
* s3-spoolss: remove old spoolss_GetPrintProcessorDirectory.Günther Deschner2009-02-192-38/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_GetPrintProcessorDirectory.Günther Deschner2009-02-191-1/+0
| | | | Guenther.
* S3: Make changes to perfcount API set for when a single request leads to ↵todd stecher2009-02-191-1/+7
| | | | | | multiple replies (e.g. reply_echo). Change test and onefs modules to match new api set (thanks Volker!).
* S3: Allow SMBD processes to survive in low memory condidtionstodd stecher2009-02-181-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.
* s3-spoolss: remove old spoolss_GetPrinterDriverDirectory.Günther Deschner2009-02-192-44/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_GetPrinterDriverDirectory.Günther Deschner2009-02-191-1/+0
| | | | Guenther
* s3-spoolss: remove old spoolss_XcvData.Günther Deschner2009-02-183-64/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_XcvData.Günther Deschner2009-02-181-1/+0
| | | | Guenther
* s3-spoolss: remove old spoolss_ResetPrinter.Günther Deschner2009-02-172-20/+0
| | | | Guenther
* s3 auth: Add parameter that forces every user through an NSS lookupZach Loafman2009-02-161-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.
* enums are traditionally signed. Avoid use of high bit in bit flags.Derrell Lipman2009-02-141-3/+3
|
* Rename lp_smb_perfcount_module() to lp_perfcount_module() to match the ↵Volker Lendecke2009-02-141-1/+1
| | | | parameter name
* [Bug 6069] Add a fstatvfs function for libsmbclientDerrell Lipman2009-02-142-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
* s3 vfs: Fix SMB_VFS_RECVFILE/SENDFILE macrosTim Prouty2009-02-131-4/+4
|
* s3-spoolss: use pidl for _spoolss_SetPrinter.Günther Deschner2009-02-141-1/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_AddPrinterEx.Günther Deschner2009-02-141-1/+0
| | | | Guenther
* Parameterize in local.h the MAX_RPC_DATA_SIZE, and ensureJeremy Allison2009-02-131-0/+3
| | | | | | that "offered" read from the rpc packet in spoolss is under that size. Tidyup from analysis from Veracode. Jeremy.
* s3 libsmbclient: Fix fstatvfs to be more portableTim Prouty2009-02-132-7/+22
| | | | | | | | | | | The statvfs struct isn't guaranteed to be portable across operating systems. Since libsmbclient isn't actually calling statvfs and just using the statvfs struct to store similar information, this patch adds a new portable smbc_statvfs struct. This fixes a few of the failures in the build farm introduced by: ae259575c447e61665c8e7070c476914161b953f Derrell, please check.
* Fix the build. When you do "make distclean; ./autogen; ./configure; make" ↵Jeremy Allison2009-02-131-0/+2
| | | | | | and it still doesn't build you know it's messed up. Jeremy.
* Add VFS ops for Windows BRL: Lock, Unlock and Cancel:Zack Kirsch2009-02-134-5/+74
| | | | | | | | | | | | | | | | | | | | | | | This patch adds 3 new VFS OPs for Windows byte range locking: BRL_LOCK_WINDOWS, BRL_UNLOCK_WINDOWS and BRL_CANCEL_WINDOWS. Specifically: * I renamed brl_lock_windows, brl_unlock_windows and brl_lock_cancel to *_default as the default implementations of the VFS ops. * The blocking_lock_record (BLR) is now passed into the brl_lock_windows and brl_cancel_windows paths. The Onefs implementation uses it - future implementations may find it useful too. * Created brl_lock_cancel to do what brl_lock/brl_unlock do: set up a lock_struct and call either the Posix or Windows lock function. These happen to be the same for the default implementation. * Added helper functions: increment_current_lock_count() and decrement_current_lock_count(). * Minor spelling correction in brl_timeout_fn: brl -> blr. * Changed blocking_lock_cancel() to return the BLR that it has cancelled. This allows us to assert its the lock that we wanted to cancel. If this assert ever fires, this path will need to take in the BLR to cancel, rather than choosing on its own. * Adds a small helper function: find_blocking_lock_record_by_id(). Used by the OneFS implementation, but could be useful for others.
* Replace get_myname() with the talloc version from v3-3-testVolker Lendecke2009-02-131-1/+1
|
* s3: Added new parameter "map untrusted to domain"Steven Danneman2009-02-121-0/+2
| | | | | | | When enabled this reverts smbd to the legacy domain remapping behavior when a user provides an untrusted domain This partially reverts d8c54fdd
* s3-spoolss: remove old spoolss_SetPrinterDataEx.Günther Deschner2009-02-122-29/+0
| | | | Guenther
* s3-spoolss: remove old spoolss_GetPrinterDataEx.Günther Deschner2009-02-122-30/+0
| | | | Guenther
* s3-spoolss: add init_systemtime helper.Günther Deschner2009-02-121-0/+5
| | | | Guenther
* [Bug 6069] Add a fstatvfs function for libsmbclientDerrell Lipman2009-02-124-0/+105
| | | | | | - port functionality from v3_3_test to master Derrell
* today valgrind is available on 64bit Linux, tooBjörn Jacke2009-02-121-4/+1
|
* s3: Change behavior when seeing an unknown domain.Dan Sledz2009-02-111-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.
* s3: Implement wbcGetSidAliasesDan Sledz2009-02-111-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.
* s3: Implement wbcGetpwsidDan Sledz2009-02-111-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.
* s3-spoolss: remove duplicate PRINTER_NOTIFY_INFO_DISCARDED define.Günther Deschner2009-02-121-2/+0
| | | | Guenther
* s3-spoolss: use SPOOLSS_PRINTER_CONTROL flags defined in IDL.Günther Deschner2009-02-111-6/+0
| | | | Guenther
* s3: remove old copy of SPOOLSS_ADDPRINTERDRIVEREX flags.Günther Deschner2009-02-111-7/+0
| | | | Guenther
* s3-spoolss: remove devmode fields from include file.Günther Deschner2009-02-101-34/+0
| | | | Guenther
* s3-spoolss: remove old spoolss_ReplyOpenPrinter.Günther Deschner2009-02-102-24/+0
| | | | Guenther
* Add read_pkt_send/recvVolker Lendecke2009-02-101-0/+9
|
* s3-spoolss: remove old spoolss_OpenPrinter.Günther Deschner2009-02-102-15/+0
| | | | Guenther
* s3-spoolss: remove old spoolss_OpenPrinterEx.Günther Deschner2009-02-102-26/+0
| | | | Guenther
* s3-spoolss: remove old spoolss_SetJob.Günther Deschner2009-02-102-26/+0
| | | | Guenther
* s3-spoolss: remove old spoolss_StartDocPrinter.Günther Deschner2009-02-102-50/+0
| | | | Guenther
* s3-spoolss: use SPOOLSS_JOB_CONTROL bits defined in IDL.Günther Deschner2009-02-101-6/+0
| | | | Guenther