summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-01-21merged-build: propare to fix make test4Stefan Metzmacher1-1/+4
metze
2009-01-21Fix a typoVolker Lendecke1-1/+1
2009-01-20"userdom_struct" does not need "full_name" anymore -- unusedVolker Lendecke5-7/+2
2009-01-20Fix some nonempty blank linesVolker Lendecke2-20/+20
2009-01-20Remove some unused codeVolker Lendecke3-17/+0
2009-01-20Remove some smb fsp knowledge from rpc_server/Volker Lendecke5-71/+99
np_open/read/write don't have to know about files_struct
2009-01-20Make use of TALLOC_FREEVolker Lendecke1-3/+1
2009-01-20s3:messaging: also recreate the local messaging backend in messaging_reinit()Stefan Metzmacher1-3/+11
This prepares the change to use signal events in the tdb backend. metze
2009-01-20s3: reinit_after_fork() should reinit the event context before the messaging ↵Stefan Metzmacher1-4/+4
context Because messaging_reinit() may add events to the event context, which will removed by event_context_reinit(). metze
2009-01-20s3:events: add support for signal eventsStefan Metzmacher1-0/+6
metze
2009-01-20s3:smbd: call message_dispatch() before processing incoming PDUsStefan Metzmacher1-0/+6
This is a hack to fix races which happen with the RAW-RENAME and RAW-OPLOCK tests. We should try to remove it later. metze
2009-01-19s3:idmap_tdb: convert to the dbwrap apiStefan Metzmacher1-244/+223
metze
2009-01-19s3:dbwrap: add dbwrap_delete(), dbwrap_store() and dbwrap_fetch()Stefan Metzmacher2-8/+31
The _bystring function are now just tiny wrappers. metze
2009-01-19s3:dbwrap: add get_flags() hook to db_contextStefan Metzmacher3-0/+18
metze
2009-01-19Fix the same bug as 8b618d0 fixes, this time in winbindd_passdb.cVolker Lendecke1-2/+4
2009-01-19Remove unused tdb_search_keys()Volker Lendecke2-78/+0
2009-01-19simplify gencache_iterate a bit, fix nonempty blank linesVolker Lendecke1-86/+84
2009-01-18libnetapi_open_pipe does not need to return cli_stateVolker Lendecke10-246/+12
The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
2009-01-18Add a macro async_req_setup()Volker Lendecke8-176/+77
This streamlines setting up a multi-step async request a bit
2009-01-18Add code to torture the fragmentation code a bitVolker Lendecke1-3/+15
2009-01-18Remove unused functionsVolker Lendecke1-401/+0
2009-01-18Make rpc_pipe_bind asyncVolker Lendecke2-0/+452
2009-01-18Fix an uninitialized variableVolker Lendecke1-0/+1
2009-01-18Remove sync rpc_api_pipe_reqVolker Lendecke1-170/+0
2009-01-18Add async rpc_api_pipe_reqVolker Lendecke2-0/+315
2009-01-18Tiny simplification of prs_set_offsetVolker Lendecke1-6/+3
2009-01-18Add rpc_write_send/recvVolker Lendecke1-0/+131
2009-01-18Remove unused sync functionsVolker Lendecke1-196/+0
2009-01-18Make rpc_api_pipe asyncVolker Lendecke1-0/+284
2009-01-18Rename the async version of get_complete_pdu to get_complete_fragVolker Lendecke1-16/+16
2009-01-18Move initialization of the reply prs_struct to rpc_api_pipeVolker Lendecke5-20/+15
2009-01-18Always check the max send sizein rpc_api_pipe, not just with DEVELOPERVolker Lendecke1-8/+5
2009-01-18Make cli_api_pipe asyncVolker Lendecke1-99/+218
Also move the transport switch to this routine
2009-01-18Remove sync rpc_read wrapperVolker Lendecke1-28/+0
2009-01-18Make cli_pipe_get_current_pdu async, rename it to get_current_pduVolker Lendecke1-36/+190
2009-01-18Make rpc_read asyncVolker Lendecke1-87/+154
2009-01-18Fix some real bugs found by "type-punned" gcc warningsVolker Lendecke1-8/+11
Type-casting does not the right thing if used the way it used to be. The function arguments have not been uint32_t's, but the type cast made the calling routine believe so. Not good... The assignment xxx=account_policy_temp does however type-convert properly, potentially cutting off the top-bits.
2009-01-17Determine case sensitivity based on file system attributes.Derrell Lipman4-13/+92
- 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-17Slightly simplify the paths after rpc_api_pipe()Volker Lendecke1-6/+2
2009-01-16[Bug 6022] smbc_urlencode and smbc_urldecode were not exportedDerrell Lipman3-15/+5
- 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 Lipman5-0/+36
*** 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-16Fix a segfault if ? is there but the options are NULL. This is the case if ↵Andreas Schneider1-1/+1
SMBC_parse_path is called by SMBC_stat_ctx.
2009-01-16Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison1-3/+14
2009-01-16"First thing, kill all the language lawyers" :-). Ensure possible insane ↵Jeremy Allison1-1/+1
compilers can't kill us later. Jeremy.
2009-01-16ads_connect: Return immediately on a failed GC connection.Gerald (Jerry) Carter1-3/+14
ads_connect_gc() feeds an explicit server to ads_connect(). However, if the resulting connection fails, the latter function was attempting to find a DC on its own and continuing the connection. This resulting in GC searches being sent over a connection using port 389 which would fail when using the base search suffix outside of the domain naming context. The fix is to fail immediately in ads_connect() since the GC lookup ordering is handled already in ads_connect_gc().
2009-01-16s3:cluster: fix ctdb ipv6 supportStefan Metzmacher3-15/+23
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-16s3:vfs_fileid: readd "fileid:algorithm" as option.Stefan Metzmacher1-1/+7
"fileid:mapping" is still supported as fallback. metze
2009-01-16remove the old chain_reply codeVolker Lendecke1-214/+4
2009-01-16Correctly calculate the offset for read&xVolker Lendecke4-8/+37
2009-01-16Add a new implementation of chain_replyVolker Lendecke3-6/+226
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.