summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2009-02-26s3:registry: add a delete_subkey method to the backend ops.Michael Adam2-0/+2
This is to provide a more atomic means of deleting a subkey of a key. Michael
2009-02-26s3:registry: add a create_subkey method to the backend ops.Michael Adam2-0/+2
This is to provide a more atomic means of adding a subkey of a key. Michael
2009-02-26s3:registry: hash the list of subkeys in the regsubkey_ctrMichael Adam1-1/+1
This removes many loops over all the arrays (from regsubkey_ctr_key_exists) and thus reduces "net conf drop" from 1m55 to 48seconds and "net conf import" from 1m55 to 58 seconds for 2000 shares on my box. Michael
2009-02-26s3:registry: remove definition of regsubkey_ctr from the surface.Michael Adam1-5/+1
All access is now through accessor functions in reg_objects.c This allows for performance tuning under the hood in the next step. Michael
2009-02-26s3:registry: add regsubkey_ctr_get_seqnum() to hide implementationMichael Adam1-0/+1
Michael
2009-02-26s3:registry: add regsubkey_ctr_set_seqnum to hide implementation from caller.Michael Adam1-0/+1
Michael
2009-02-26s3:registry: add a regsubkey_ctr_init function for allocating a regsubkey_ctrMichael Adam1-0/+1
Michael
2009-02-26s3:registry: replace typedef "REGSUBKEY_CTR" by "struct regsubkey_ctr"Michael Adam3-18/+18
This paves the way for hiding the typedef and the implementation from the surface. Michael
2009-02-26s3-spoolss: job status defines moved to IDL.Günther Deschner1-15/+0
Guenther
2009-02-26s3-spoolss: remove some unused defines and structs.Günther Deschner1-25/+0
Guenther
2009-02-26Convert open_socket_out to tevent_reqVolker Lendecke1-6/+6
2009-02-26Add tevent_req helpers to includes.hVolker Lendecke1-0/+2
2009-02-26s3:registry: provide transaction_start|commit|cancel fns for the registry tdbMichael Adam1-0/+3
Michael
2009-02-26Add sorted subkey cacheVolker Lendecke1-0/+1
On my box this gets net conf list for 1000 records down to .1 seconds Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26Add dbwrap->parse_recordVolker Lendecke1-0/+4
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-25s3-spoolss: JOB_ACCESS_READ has moved to idl.Günther Deschner1-1/+0
Guenther
2009-02-25Fix a missing prototypeVolker Lendecke1-0/+4
2009-02-25s3-spoolss: remove rpccli_spoolss_getprinter.Günther Deschner1-11/+0
Guenther
2009-02-25s3-spoolss: remove rpccli_spoolss_setprinter.Günther Deschner2-113/+0
Guenther
2009-02-25s3-spoolss: remove rpccli_spoolss_addprinterex.Günther Deschner2-43/+0
Guenther
2009-02-25s3-spoolss: add rpccli_spoolss_getprinter convenience wrapper.Günther Deschner1-0/+6
Guenther
2009-02-25s3-spoolss: add rpccli_spoolss_addprinterex convenience wrapper.Günther Deschner1-0/+3
Guenther
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.