summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2011-07-08s3:libsmb: add smb2cli_sesssetup*() and smb2cli_logoff*()Stefan Metzmacher2-0/+403
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_negprot*()Stefan Metzmacher2-0/+192
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add basic smb2 client infrastructureStefan Metzmacher2-0/+578
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-07s3-libsmb: Remove use of cli_errstr()Björn Baumbach1-3/+8
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-07s3:libsmb: finally remove unused cli_state->outbufStefan Metzmacher2-10/+2
metze
2011-07-07s3:libsmb: remove unused clistr_push_fn()Stefan Metzmacher2-31/+0
metze
2011-07-07s3:libsmb: remove unused clistr_pull_fn()Stefan Metzmacher2-18/+0
metze
2011-07-07s3:libsmb: use trans2_bytes_push_str() in cli_tcon_andx_create() for the ↵Stefan Metzmacher1-12/+11
plaintext password This makes sure we push the string always in DOS charset. metze
2011-07-07s3:libsmb: use trans2_bytes_push_str() in cli_set_ea_path()Stefan Metzmacher1-8/+9
metze
2011-07-07s3:libsmb: use trans2_bytes_push_str() in cli_dfs_get_referral()Stefan Metzmacher1-6/+10
metze
2011-07-07s3:libsmb: use a talloc_stackframe in cli_dfs_get_referral()Stefan Metzmacher1-4/+3
metze
2011-07-07s3:libsmb: use trans2_bytes_push_str/bytes() in cli_list_trans_*()Stefan Metzmacher1-20/+26
metze
2011-07-07s3:libsmb: use clistr_pull_talloc() for short_name in interpret_long_filename()Stefan Metzmacher1-6/+14
metze
2011-07-07s3:libsmb: interpret_long_filename() short_name is always UNICODEStefan Metzmacher1-8/+3
metze
2011-07-07s3:libsmb: add trans2_bytes_push_bytes()Stefan Metzmacher2-0/+21
metze
2011-07-07s3:libsmb: make trans2_bytes_push_str() non-staticStefan Metzmacher2-3/+6
We should use this and get rid of clistr_push(). metze
2011-07-06s3:libsmb: use clistr_pull_talloc() in cli_qfilename()Stefan Metzmacher2-7/+28
metze
2011-07-06s3:libsmb: let cli_qfileinfo[_recv]() return recv_flags2Stefan Metzmacher3-5/+15
metze
2011-07-06s3:libsmb: use clistr_pull_talloc() in cli_get_fs_volume_info()Stefan Metzmacher2-7/+28
metze
2011-07-06s3:libsmb: the SMB_QUERY_FS_VOLUME_INFO response needs at least 18 data bytesStefan Metzmacher1-1/+1
metze
2011-07-06s3:libsmb: don't use cli->inbuf in cli_dfs_get_referral()Stefan Metzmacher1-5/+7
The rdata buffer returned by cli_trans() doesn't belong to cli->inbuf, so don't use it. metze
2011-07-06s3:libsmb: fix error handling in cli_dfs_get_referral()Stefan Metzmacher1-3/+11
We should not return NT_STATUS_OK on error. metze
2011-07-06s3: make cli_resolve_path return NTSTATUSVolker Lendecke6-98/+120
This looks larger than it is. No parameters needed changing.
2011-07-03s3: Make cli_cm_open return NTSTATUSVolker Lendecke2-27/+35
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 3 23:57:53 CEST 2011 on sn-devel-104
2011-07-03s3: Make cli_cm_connect return NTSTATUSVolker Lendecke1-14/+22
2011-07-03s3: Make "do_connect" return NTSTATUSVolker Lendecke1-17/+19
2011-07-03s3: Remove a use of cli_errstrVolker Lendecke1-6/+8
2011-07-03s3: Remove a use of cli_errstrVolker Lendecke1-4/+6
2011-07-03s3: Remove a use of cli_errstrVolker Lendecke1-3/+5
2011-07-03s3: Remove a use of cli_errstrVolker Lendecke1-3/+7
2011-07-03s3: Remove two uses of cli_errstrVolker Lendecke1-4/+8
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 3 12:43:32 CEST 2011 on sn-devel-104
2011-07-03s3: RAP errors are WERRORVolker Lendecke1-39/+2
2011-07-03s3: Remove some bogus error mappingsVolker Lendecke1-6/+0
The old cli_session_request that used this is gone
2011-07-03s3: Allow NULL for arg pwritten in cli_write_andxVolker Lendecke1-1/+3
2011-07-03S3: Fix some nonempty blank linesVolker Lendecke2-5/+5
2011-07-03s3: Fix symlink_reparse_buffer_parseVolker Lendecke1-0/+3
2011-07-03s3: Add cli_readlinkVolker Lendecke2-0/+186
2011-06-24s3: Add cli_symlinkVolker Lendecke2-0/+240
2011-06-24s3: Add symlink reparse point marshalling routinesVolker Lendecke2-0/+183
2011-06-20Use tevent_req_oomVolker Lendecke3-6/+6
This fixes a few Coverity errors
2011-06-20tdb_compat: use tdb_open_compat.Rusty Russell1-4/+6
This is a helper for the common case of opening a tdb with a logging function, but it doesn't do all the work, since TDB1 and TDB2's log functions are different types. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_chainunlock: ignore return value.Rusty Russell1-2/+3
TDB2 returns void here. tdb_chainunlock will *always* return with the chain unlocked, but it will complain via the log function if it wasn't locked. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_chainlock: check returns for 0, not -1.Rusty Russell1-1/+1
TDB2 returns a negative error number on failure. This is compatible if we always check for != 0 instead of == -1. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_store: check returns for 0, not -1.Rusty Russell2-5/+5
TDB2 returns a negative error number on failure. This is compatible if we always check for != 0 instead of == -1. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_delete: check returns for 0, not -1.Rusty Russell1-2/+2
TDB2 returns a negative error number on failure. This is compatible if we always check for != 0 instead of == -1. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_fetch_compat: use instead of tdb_fetch.Rusty Russell1-5/+5
This is a noop for tdb1. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell1-1/+1
We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20smb_share_modes: don't use tdb_jenkins_hash.Rusty Russell1-4/+2
It's a nice hash, but this usage has nothing to do with TDB. So use the Jenkins hash directly from CCAN instead (it's the same one). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-19s3: Fix Coverity ID 2583: RESOURCE_LEAKVolker Lendecke1-1/+5
2011-06-19s3: Remove unused name_queriesVolker Lendecke1-34/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 19 15:14:38 CEST 2011 on sn-devel-104