summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
* s3:smbd: restructure kernel oplocks codeStefan Metzmacher2009-01-222-10/+17
| | | | | | | | This converts the irix oplocks code to use a fd event and removes the last special case for file descriptors for the main sys_select(). metze
* cli_get_pipe_name_from_iface does not need the cli_stateVolker Lendecke2009-01-221-1/+0
| | | | I leave the TALLOC_CTX in, we might have to allocate it in the future
* Memory leaks and other fixes found by Coveritytodd stecher2009-01-211-1/+1
|
* s3:libsmbconf: remove the init headers from smbconf.hMichael Adam2009-01-211-0/+3
| | | | | | | | | | give the smbconf_init() dispatcher and the backends (smbconf_reg and smbconf_txt) a header of their own each. This allows to use the basic infrastructure and single backends individually. Michael
* Allow calling DCE/RPC server implementations directly usingJelmer Vernooij2009-01-212-0/+12
| | | | rpc_pipe_client.
* "userdom_struct" does not need "full_name" anymore -- unusedVolker Lendecke2009-01-202-2/+1
|
* Fix some nonempty blank linesVolker Lendecke2009-01-201-11/+11
|
* Remove some unused codeVolker Lendecke2009-01-201-1/+0
|
* Remove some smb fsp knowledge from rpc_server/Volker Lendecke2009-01-201-5/+9
| | | | np_open/read/write don't have to know about files_struct
* s3:dbwrap: add dbwrap_delete(), dbwrap_store() and dbwrap_fetch()Stefan Metzmacher2009-01-191-0/+5
| | | | | | The _bystring function are now just tiny wrappers. metze
* s3:dbwrap: add get_flags() hook to db_contextStefan Metzmacher2009-01-191-0/+1
| | | | metze
* Remove unused tdb_search_keys()Volker Lendecke2009-01-191-10/+0
|
* Add a macro async_req_setup()Volker Lendecke2009-01-181-0/+7
| | | | This streamlines setting up a multi-step async request a bit
* Make rpc_pipe_bind asyncVolker Lendecke2009-01-181-0/+5
|
* Add async rpc_api_pipe_reqVolker Lendecke2009-01-181-0/+7
|
* Move initialization of the reply prs_struct to rpc_api_pipeVolker Lendecke2009-01-182-3/+2
|
* Determine case sensitivity based on file system attributes.Derrell Lipman2009-01-171-2/+14
| | | | | | | | | | - Most of the time, we can determine from the file system we're connecting to whether it supports case sensitivity. In those cases, we now set the internal case sensitivity flag automatically. For those cases where the request to retrieve file system attributes fails, we'll use the user-specified option value. Derrell
* [Bug 6022] smbc_urlencode and smbc_urldecode were not exportedDerrell Lipman2009-01-161-10/+0
| | | | | | | | | | - Since the revamp of libsmbclient, there has still been an external declaration for smbc_urlencode and smbc_urldecode in libsmbclient.h, yet those functions were renamed and made private. The two choices were to remove the function names from libsmbclient.h or to make them public again. The reported requested that they be public. This commit makes it so. Derrell
* Treat file names in POSIX-like case-sensitive fashion by defaultDerrell Lipman2009-01-162-0/+14
| | | | | | | | | | | | | | | *** THIS COMMIT CAUSES A CHANGE OF DEFAULT BEHAVIOR IN libsmbclient!!! *** - libsmbclient now calls cli_set_case_sensitive() for a new CLI. By default, it requests case-sensitive, but the old behavior of case-insensitive can be requested with smbc_setOptionCaseSensitive(context, False); The change of behavior is considered a bug fix, as it was previously possible to accidentally overwrite a file that had the same case-insensitive name but a different case-sensitive name as a previously-existing file, while creating a new file. Derrell
* s3:cluster: fix ctdb ipv6 supportStefan Metzmacher2009-01-161-2/+2
| | | | | | | | | | | | | | | We need to use CTDB_CONTROL_TCP_CLIENT instead of CTDB_CONTROL_TCP_ADD. CTDB_CONTROL_TCP_CLIENT has support for 2 modes in newer ctdb versions: - with struct ctdb_control_tcp it only supports ipv4. - with struct ctdb_control_tcp_addr it supports ipv4 and ipv6. You need new header files which defines struct ctdb_control_tcp_addr, but at runtime it should be fine to work against older ctdb versions (<= 1.0.68). metze
* Correctly calculate the offset for read&xVolker Lendecke2009-01-161-0/+1
|
* Add a new implementation of chain_replyVolker Lendecke2009-01-161-0/+9
| | | | | | This the global variable "orig_inbuf" in the old chain_reply code. This global variable was one of the reasons why we had the silly restriction to not allow async requests within a request chain.
* s3: make better use of ccache by not including version.h in every C-file.Michael Adam2009-01-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | version.h changes rather frequently. Since it is included via includes.h, this means each C file will be a cache miss. This applies to the following situations: * When building a new package with a new Samba version * building in a git branch after calling mkversion.sh after a new commit (i.e. virtually always) This patch improves the situation in the following way: * remove inlude "version.h" from includes.h * Use samba_version_string() instead of SAMBA_VERSION_STRING in files that use no other macro from version.h instead of SAMBA_VERSION_STRING. * explicitly include "version.h" in those files that use more macros from "version.h" than just SAMBA_VERSION_STRING. Michael
* Remove smbclient globals that bled into clidfs.c. Now we only haveJeremy Allison2009-01-141-2/+4
| | | | | the connections list and authentication structures to worry about. Jeremy
* Remove another global from clidfs that is only used in client.c.Jeremy Allison2009-01-141-1/+2
| | | | Jeremy.
* Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman2009-01-122-9/+11
| | | | | | If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
* Move cli_api_pipe() to its only user cli_pipe.cVolker Lendecke2009-01-111-6/+0
|
* Pass the full ndr_interface_table into the s3 rpcserver when registeringVolker Lendecke2009-01-091-0/+4
|
* Add derpc_transport_string_by_transport(), apply some constVolker Lendecke2009-01-091-1/+2
|
* s3: Add delete_all_streams to proto.hTim Prouty2009-01-091-0/+1
|
* s3-svcctl: remove last traces of hand-marshalled svcctl code.Günther Deschner2009-01-093-59/+0
| | | | Guenther
* s3-svcctl: remove old marshalling of svcctl_EnumServicesStatusW.Günther Deschner2009-01-092-38/+0
| | | | Guenther
* s3:smbd: handle incoming smb requests via event handlersStefan Metzmacher2009-01-091-1/+1
| | | | | | | | | | We use a fd event and receive incoming smb requests when the fd becomes readable. It's not completely nonblocking yet, but it should behave like the old code. We use timed events to trigger retries for deferred open calls. metze
* Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fnVolker Lendecke2009-01-082-2/+1
|
* Make use of a talloc_destructor for free_printer_entryVolker Lendecke2009-01-081-1/+0
|
* s3-svcctl: use pidl based struct SERVICE_STATUS.Günther Deschner2009-01-082-9/+3
| | | | Guenther
* s3-svcctl: remove some more redundant headers.Günther Deschner2009-01-081-13/+0
| | | | Guenther
* s3-svcctl: move SVC_HANDLE_IS* defines to implementation specific header file.Günther Deschner2009-01-082-4/+4
| | | | Guenther
* s3-svcctl: remove (now duplicate) defines.Günther Deschner2009-01-081-22/+0
| | | | Guenther
* s3-svcctl: remove (now duplicate) SVCCTL_STAT* defines.Günther Deschner2009-01-081-5/+0
| | | | Guenther
* s3:smbd: make mangle_fns constStefan Metzmacher2009-01-081-3/+3
| | | | metze
* s3-svcctl: remove old hand marshalling of svcctl_QueryServiceConfig2W.Günther Deschner2009-01-082-42/+0
| | | | Guenther
* s3-svcctl: remove old hand marshalling of svcctl_QueryServiceStatusEx.Günther Deschner2009-01-082-25/+0
| | | | Guenther
* svcctl: add svcctl_ErrorControl and svcctl_Type (based on samba3) to IDL.Günther Deschner2009-01-081-14/+0
| | | | Guenther
* svcctl: add svcctl_ConfigLevel from samba 3.Günther Deschner2009-01-081-4/+0
| | | | Guenther
* svcctl: move SVC_STATUS_ to idl.Günther Deschner2009-01-081-2/+0
| | | | Guenther
* Add some const to dcerpc_binding_build_tower()Volker Lendecke2009-01-061-1/+3
|
* Add a NULL check and some const to dcerpc_floor_get_lhs_data()Volker Lendecke2009-01-061-1/+2
|
* s3-lsa: remove all init_lsa* functions.Günther Deschner2009-01-061-21/+0
| | | | Guenther
* s3-srvsvc: remove all init_srvsvc* functions.Günther Deschner2009-01-061-128/+0
| | | | Guenther