summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2009-01-30Make cli_tcon_andx asyncVolker Lendecke1-2/+8
2009-01-30Make cli_session_setup_guest asyncVolker Lendecke1-0/+4
2009-01-29s3 build: Fix "shadows global declaration warning"Tim Prouty1-1/+1
2009-01-29s3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operationTim Prouty4-1/+12
This allows module implementors to customize what allocation size is returned to the client.
2009-01-30s3:proto.h: remove duplicate prototypes.Michael Adam1-2/+0
Michael
2009-01-30s3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns.Michael Adam1-5/+0
Michael
2009-01-29Add the strlen to push to smb_bytes_push_str, return the converted sizeVolker Lendecke1-1/+2
The pushed strlen replaces the STR_TERMINATE flag which I personally always find very confusing.
2009-01-29cli_ucs2Volker Lendecke1-0/+1
2009-01-28async_sock: Move to top levelKai Blin2-52/+1
2009-01-28s3:util_tdb: remove duplicate prototypes (from ../lib/util/util_tdb.h)Michael Adam1-22/+1
Michael
2009-01-28s3: separate tdb validation code out into its own source fileMichael Adam1-15/+0
So this gets now linked only into its single user: winbindd (needed by winbindd_cache.c) Michael
2009-01-27s3:smbd: make mdns registration event driven.Stefan Metzmacher2-22/+3
metze
2009-01-27s3:smbd: make kernel oplocks event drivenStefan Metzmacher2-5/+1
And use signal events for Linux oplocks. metze
2009-01-27s3:smbd: remove pointless respond_to_all_remaining_local_messages() functionStefan Metzmacher1-1/+0
This the process_kernel_oplock() function never response to messages, it only generates messages to ourself. metze
2009-01-27s3:smbd: convert aio to use tevent_signalStefan Metzmacher1-17/+1
metze
2009-01-27s3:smbd: use signal events for SIGTERM, SIGHUP and SIGCHLDStefan Metzmacher1-0/+2
metze
2009-01-27s3:namecache: remove unused namecache_shutdown() functionStefan Metzmacher1-1/+0
metze
2009-01-27async_req: Fix the S4 buildKai Blin1-1/+1
2009-01-26Decouple clistr_pull from struct cli_state->inbufVolker Lendecke2-8/+8
2009-01-23Extend NTIMES to allow setting create_timetodd stecher3-3/+13
1) Add in smb_file_time struct to clarify code and make room for createtime. 2) Get and set create time from SMB messages. 3) Fixup existing VFS modules + examples Some OS'es allow for the setting of the birthtime through kernel interfaces. This value is generically used for Windows createtime, but is not settable in the code today.
2009-01-24talloc_free() copes with a NULL pointer just fineVolker Lendecke1-1/+1
Saved around 10kb of code on my box :-)
2009-01-23async_req: Move to top level dirKai Blin1-160/+0
2009-01-22Abstract away the transport in cli_pipe.cVolker Lendecke1-12/+1
Sorry for the monster checkin, I could not really find a way to do this in steps.
2009-01-22Add the socket rpc client transportVolker Lendecke1-0/+5
2009-01-22Add the named pipe rpc client transportVolker Lendecke1-1/+6
2009-01-22Add struct rpc_cli_transportVolker Lendecke1-0/+50
2009-01-22s3: Fix warningTim Prouty1-1/+1
2009-01-22s3:printing: make some functions static and use tevent functionsStefan Metzmacher1-2/+0
metze
2009-01-22s3:messages: finally make message_dispatch() staticStefan Metzmacher1-1/+0
metze
2009-01-22s3:smbd: restructure kernel oplocks codeStefan Metzmacher2-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
2009-01-22cli_get_pipe_name_from_iface does not need the cli_stateVolker Lendecke1-1/+0
I leave the TALLOC_CTX in, we might have to allocate it in the future
2009-01-21Memory leaks and other fixes found by Coveritytodd stecher1-1/+1
2009-01-21s3:libsmbconf: remove the init headers from smbconf.hMichael Adam1-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
2009-01-21Allow calling DCE/RPC server implementations directly usingJelmer Vernooij2-0/+12
rpc_pipe_client.
2009-01-20"userdom_struct" does not need "full_name" anymore -- unusedVolker Lendecke2-2/+1
2009-01-20Fix some nonempty blank linesVolker Lendecke1-11/+11
2009-01-20Remove some unused codeVolker Lendecke1-1/+0
2009-01-20Remove some smb fsp knowledge from rpc_server/Volker Lendecke1-5/+9
np_open/read/write don't have to know about files_struct
2009-01-19s3:dbwrap: add dbwrap_delete(), dbwrap_store() and dbwrap_fetch()Stefan Metzmacher1-0/+5
The _bystring function are now just tiny wrappers. metze
2009-01-19s3:dbwrap: add get_flags() hook to db_contextStefan Metzmacher1-0/+1
metze
2009-01-19Remove unused tdb_search_keys()Volker Lendecke1-10/+0
2009-01-18Add a macro async_req_setup()Volker Lendecke1-0/+7
This streamlines setting up a multi-step async request a bit
2009-01-18Make rpc_pipe_bind asyncVolker Lendecke1-0/+5
2009-01-18Add async rpc_api_pipe_reqVolker Lendecke1-0/+7
2009-01-18Move initialization of the reply prs_struct to rpc_api_pipeVolker Lendecke2-3/+2
2009-01-17Determine case sensitivity based on file system attributes.Derrell Lipman1-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
2009-01-16[Bug 6022] smbc_urlencode and smbc_urldecode were not exportedDerrell Lipman1-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
2009-01-16Treat file names in POSIX-like case-sensitive fashion by defaultDerrell Lipman2-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
2009-01-16s3:cluster: fix ctdb ipv6 supportStefan Metzmacher1-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
2009-01-16Correctly calculate the offset for read&xVolker Lendecke1-0/+1