summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/clifile.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:libsmb: Plumb cli_smb2_get_ea_list_path() inside cli_get_ea_list_path().Jeremy Allison2013-08-151-1/+11
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_set_ea_fnum() inside cli_set_ea_fnum().Jeremy Allison2013-08-151-0/+8
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_set_ea_path() inside cli_set_ea_path().Jeremy Allison2013-08-151-1/+11
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Fix cli_set_ea_path() to use frame instead of talloc_tos().Jeremy Allison2013-08-151-3/+7
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_dskattr() inside cli_dskattr().Jeremy Allison2013-08-151-1/+7
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_getatr() inside cli_getatr().Jeremy Allison2013-08-151-1/+11
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_setatr() inside cli_setatr().Jeremy Allison2013-08-151-1/+10
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_setattrE() inside cli_setattrE().Jeremy Allison2013-08-151-1/+11
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_getattrE() inside cli_getattrE().Jeremy Allison2013-08-151-1/+13
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_close_fnum() inside cli_close().Jeremy Allison2013-08-151-1/+7
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_create_fnum() inside cli_ntcreate().Jeremy Allison2013-08-151-1/+16
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_rmdir() inside cli_rmdir().Jeremy Allison2013-08-151-1/+7
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_mkdir() inside cli_mkdir().Jeremy Allison2013-08-151-1/+7
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_unlink() inside cli_unlink().Jeremy Allison2013-08-151-1/+7
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: Plumb cli_smb2_rename() inside cli_rename().Jeremy Allison2013-08-151-1/+9
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* libsmbclient: Streamline cli_openx a bitVolker Lendecke2013-04-111-3/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* libsmbclient: Use tevent_req_poll_ntstatus in cli_openxVolker Lendecke2013-04-111-2/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3:libsmb: s/struct event_context/struct tevent_contextStefan Metzmacher2013-02-191-82/+82
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:libsmb: make use of samba_tevent_context_init()Stefan Metzmacher2013-02-191-41/+41
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:libsmb correctly set isFsctl for snapshot listChristian Ambach2012-08-301-1/+1
| | | | | | | | | FSCTL_GET_SHADOW_COPY_DATA is a FSCTL, so set the isFsctl marker otherwise smbclient allinfo will not report snapshots any more with the changes made for Bug #8311 Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Thu Aug 30 18:57:24 CEST 2012 on sn-devel-104
* s3:libsmb: fix the talloc parent of clistr_pull_talloc() in cli_notify_done()Stefan Metzmacher2012-06-051-1/+1
| | | | metze
* s3:libsmb: remove unused 'inbuf' variableStefan Metzmacher2012-06-051-12/+6
| | | | metze
* s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_sendLuk Claes2012-06-031-2/+2
| | | | | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jun 3 23:37:02 CEST 2012 on sn-devel-104
* s3:libsmb: get rid of cli_ucs2Luk Claes2012-05-281-23/+23
| | | | | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 28 16:58:03 CEST 2012 on sn-devel-104
* s3:libsmb: get rid of cli_has_async_callsLuk Claes2012-05-281-41/+42
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_time_zoneLuk Claes2012-05-281-6/+6
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_capabilitiesLuk Claes2012-05-281-2/+2
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett2012-04-061-8/+8
| | | | | | | | | Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
* s3: Notifies should never time outVolker Lendecke2012-04-021-0/+8
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 2 12:31:17 CEST 2012 on sn-devel-104
* s3: Add sync cli_notifyVolker Lendecke2012-03-221-0/+35
|
* s3-libsmb: Fix parsing a notify responseVolker Lendecke2012-03-221-1/+1
|
* s3: rename "len"->"next", according to wiresharkVolker Lendecke2012-03-221-3/+3
|
* Move to talloc from malloc.Jeremy Allison2012-03-011-3/+7
|
* Fix mixup between talloc/malloc.Jeremy Allison2012-03-011-1/+1
|
* Revert fac5c654e2fe17c2c11d150b16088e8a51f6be20Jeremy Allison2011-12-041-68/+19
| | | | | | | | | | s3: Add a fallback for missing open&x support in OS/X Lion This is now done inside the synchronous cli_open() wrapper function. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sun Dec 4 08:19:31 CET 2011 on sn-devel-104
* Add cli_open() back as a synchronous wrapper function the callsJeremy Allison2011-12-031-0/+115
| | | | NtCreateX followed by openX() if NtCreateX is unsupported.
* Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()Jeremy Allison2011-12-031-19/+19
| | | | with a call that uses NTCreateX in preference to OpenAndX.
* After a discussion with Volker, sdd a backup_intent state to the client struct.Jeremy Allison2011-12-011-2/+4
| | | | | | | | This causes the backup_intent flags to be added to findfirst/findnext and ntcreate/nttrans_create calls. cli_set_backup_intent() sets the flag and returns the old value of its state.
* s3:libsmb: make use of cli_state_server_time_zone()Stefan Metzmacher2011-09-131-6/+6
| | | | metze
* s3:libsmb/cli*: use CLI_BUFFER_SIZE instead of cli->max_xmitStefan Metzmacher2011-08-091-4/+4
| | | | | | | | | | | | The max_data parameter of trans2/nttrans calls are not bound to cli->max_xmit. Even with cli->max_xmit, which means the max size of the whole SMB pdu, we would get fragmented trans2/nttrans replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 18:14:38 CEST 2011 on sn-devel-104
* s3:libsmb/clifile: make use of cli_set_timeout()Stefan Metzmacher2011-08-031-12/+22
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Aug 3 10:16:18 CEST 2011 on sn-devel-104
* s3:libsmb/cli*: make use of cli_state_capabilities()Stefan Metzmacher2011-08-021-2/+2
| | | | metze
* Added missing return. Not strictly neccessary, the following if ↵Jeremy Allison2011-07-301-0/+1
| | | | | | | | | | (!NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) clause will catch this and use tevent_req_nterror(req, status); to set the status as NT_STATUS_OK, but it looks strange to do it that way. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jul 30 01:34:24 CEST 2011 on sn-devel-104
* s3: Add a fallback for missing open&x support in OS/X LionVolker Lendecke2011-07-291-19/+68
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jul 29 17:55:20 CEST 2011 on sn-devel-104
* s3:libsmb: move cli->pid to cli->smb1.pid and hide it behind cli_[g|s]etpid()Stefan Metzmacher2011-07-201-5/+5
| | | | metze
* s3-libsmb: remove unused cli_lock()Björn Baumbach2011-07-191-16/+0
| | | | | | | | | Replaced with cli_lock32() Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 19 00:43:03 CEST 2011 on sn-devel-104
* s3-libsmb: let cli_lock64 return NTSTATUS instead of boolBjörn Baumbach2011-07-111-5/+5
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 12:48:38 CEST 2011 on sn-devel-104
* s3-libsmb: introduce cli_lock32()Björn Baumbach2011-07-111-0/+16
| | | | | | Same like cli_lock() but return NTSTATUS instead of bool Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: use trans2_bytes_push_str() in cli_set_ea_path()Stefan Metzmacher2011-07-071-8/+9
| | | | metze
* s3:libsmb: add trans2_bytes_push_bytes()Stefan Metzmacher2011-07-071-0/+19
| | | | metze