summaryrefslogtreecommitdiffstats
path: root/source3/include/proto.h
Commit message (Collapse)AuthorAgeFilesLines
* Convert open_socket_out to tevent_reqVolker Lendecke2009-02-261-6/+6
|
* s3:registry: provide transaction_start|commit|cancel fns for the registry tdbMichael Adam2009-02-261-0/+3
| | | | Michael
* Fix a missing prototypeVolker Lendecke2009-02-251-0/+4
|
* s3-spoolss: remove rpccli_spoolss_getprinter.Günther Deschner2009-02-251-11/+0
| | | | Guenther
* s3-spoolss: remove rpccli_spoolss_setprinter.Günther Deschner2009-02-251-21/+0
| | | | Guenther
* s3-spoolss: remove rpccli_spoolss_addprinterex.Günther Deschner2009-02-251-9/+0
| | | | Guenther
* s3-spoolss: add rpccli_spoolss_getprinter convenience wrapper.Günther Deschner2009-02-251-0/+6
| | | | Guenther
* s3-spoolss: add rpccli_spoolss_addprinterex convenience wrapper.Günther Deschner2009-02-251-0/+3
| | | | Guenther
* s3-spoolss: remove some left-over hand marshalling code and structs.Günther Deschner2009-02-251-16/+0
| | | | Guenther
* s3-spoolss: remove rpccli_spoolss_addprinterdriver.Günther Deschner2009-02-241-6/+0
| | | | Guenther
* s3-rpcclient: use rpccli_spoolss_AddPrinterDriver.Günther Deschner2009-02-241-1/+0
| | | | Guenther
* s3-spoolss: remove old rpccli_spoolss_getprinterdriver wrapper.Günther Deschner2009-02-241-4/+0
| | | | Guenther
* s3-spoolss: add rpccli_spoolss_getprinterdriver2 convenience wrapper.Günther Deschner2009-02-241-0/+11
| | | | Guenther
* Remove read_pktVolker Lendecke2009-02-241-9/+0
|
* Convert name_mangle() to use tallocVolker Lendecke2009-02-241-1/+1
|
* s3-lib: add marshall_sec_desc_buf and unmarshall_sec_desc_buf helpers.Günther Deschner2009-02-241-0/+5
| | | | Guenther
* Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman2009-02-231-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().
* s3-spoolss: remove cli_spoolss_notify.c completly.Günther Deschner2009-02-231-2/+0
| | | | | | All of the spoolss change notify code uses pidl generated functions now. Guenther
* s3-spoolss: remove old spoolss_RemoteFindFirstPrinterChangeNotifyEx.Günther Deschner2009-02-231-11/+0
| | | | Guenther
* s3-spoolss: remove SPOOL_NOTIFY_INFO_DATA and SPOOL_NOTIFY_INFO alltogether.Günther Deschner2009-02-231-2/+0
| | | | Guenther
* s3-spoolss: remove old spoolss_RouterReplyPrinterEx.Günther Deschner2009-02-231-9/+0
| | | | Guenther
* s3-spoolss: remove old spoolss_RouterRefreshPrinterChangeNotify.Günther Deschner2009-02-231-3/+0
| | | | Guenther
* s3-spoolss: use more idl types in spoolss server.Günther Deschner2009-02-231-1/+4
| | | | Guenther
* s3-spoolss: use struct spoolss_Notify instead of SPOOL_NOTIFY_INFO_DATA.Günther Deschner2009-02-231-14/+14
| | | | Guenther
* Revert "s3 auth: Add parameter that forces every user through an NSS lookup"Tim Prouty2009-02-211-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.
* 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.
* s3: Add extid to the dev/inode pairTim Prouty2009-02-191-1/+2
| | | | | | | | | | | 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-191-1/+0
| | | | | 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-191-6/+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-191-9/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_GetPrintProcessorDirectory.Günther Deschner2009-02-191-1/+0
| | | | Guenther.
* s3-spoolss: remove old spoolss_GetPrinterDriverDirectory.Günther Deschner2009-02-191-11/+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-181-4/+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-171-3/+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.
* Rename lp_smb_perfcount_module() to lp_perfcount_module() to match the ↵Volker Lendecke2009-02-141-1/+1
| | | | parameter name
* 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
* Add VFS ops for Windows BRL: Lock, Unlock and Cancel:Zack Kirsch2009-02-131-5/+21
| | | | | | | | | | | | | | | | | | | | | | | 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-121-9/+0
| | | | Guenther
* s3-spoolss: remove old spoolss_GetPrinterDataEx.Günther Deschner2009-02-121-11/+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-121-0/+15
| | | | | | - port functionality from v3_3_test to master Derrell
* 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.