summaryrefslogtreecommitdiff
path: root/source3/libsmb/clifile.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-19s3:libsmb: s/struct event_context/struct tevent_contextStefan Metzmacher1-82/+82
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-02-19s3:libsmb: make use of samba_tevent_context_init()Stefan Metzmacher1-41/+41
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2012-08-30s3:libsmb correctly set isFsctl for snapshot listChristian Ambach1-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
2012-06-05s3:libsmb: fix the talloc parent of clistr_pull_talloc() in cli_notify_done()Stefan Metzmacher1-1/+1
metze
2012-06-05s3:libsmb: remove unused 'inbuf' variableStefan Metzmacher1-12/+6
metze
2012-06-03s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_sendLuk Claes1-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
2012-05-28s3:libsmb: get rid of cli_ucs2Luk Claes1-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
2012-05-28s3:libsmb: get rid of cli_has_async_callsLuk Claes1-41/+42
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_server_time_zoneLuk Claes1-6/+6
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_capabilitiesLuk Claes1-2/+2
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett1-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
2012-04-02s3: Notifies should never time outVolker Lendecke1-0/+8
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 2 12:31:17 CEST 2012 on sn-devel-104
2012-03-22s3: Add sync cli_notifyVolker Lendecke1-0/+35
2012-03-22s3-libsmb: Fix parsing a notify responseVolker Lendecke1-1/+1
2012-03-22s3: rename "len"->"next", according to wiresharkVolker Lendecke1-3/+3
2012-03-01Move to talloc from malloc.Jeremy Allison1-3/+7
2012-03-01Fix mixup between talloc/malloc.Jeremy Allison1-1/+1
2011-12-04Revert fac5c654e2fe17c2c11d150b16088e8a51f6be20Jeremy Allison1-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
2011-12-03Add cli_open() back as a synchronous wrapper function the callsJeremy Allison1-0/+115
NtCreateX followed by openX() if NtCreateX is unsupported.
2011-12-03Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()Jeremy Allison1-19/+19
with a call that uses NTCreateX in preference to OpenAndX.
2011-12-01After a discussion with Volker, sdd a backup_intent state to the client struct.Jeremy Allison1-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.
2011-09-13s3:libsmb: make use of cli_state_server_time_zone()Stefan Metzmacher1-6/+6
metze
2011-08-09s3:libsmb/cli*: use CLI_BUFFER_SIZE instead of cli->max_xmitStefan Metzmacher1-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
2011-08-03s3:libsmb/clifile: make use of cli_set_timeout()Stefan Metzmacher1-12/+22
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Aug 3 10:16:18 CEST 2011 on sn-devel-104
2011-08-02s3:libsmb/cli*: make use of cli_state_capabilities()Stefan Metzmacher1-2/+2
metze
2011-07-30Added missing return. Not strictly neccessary, the following if ↵Jeremy Allison1-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
2011-07-29s3: Add a fallback for missing open&x support in OS/X LionVolker Lendecke1-19/+68
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jul 29 17:55:20 CEST 2011 on sn-devel-104
2011-07-20s3:libsmb: move cli->pid to cli->smb1.pid and hide it behind cli_[g|s]etpid()Stefan Metzmacher1-5/+5
metze
2011-07-19s3-libsmb: remove unused cli_lock()Björn Baumbach1-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
2011-07-11s3-libsmb: let cli_lock64 return NTSTATUS instead of boolBjörn Baumbach1-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
2011-07-11s3-libsmb: introduce cli_lock32()Björn Baumbach1-0/+16
Same like cli_lock() but return NTSTATUS instead of bool Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-07s3:libsmb: use trans2_bytes_push_str() in cli_set_ea_path()Stefan Metzmacher1-8/+9
metze
2011-07-07s3:libsmb: add trans2_bytes_push_bytes()Stefan Metzmacher1-0/+19
metze
2011-07-07s3:libsmb: make trans2_bytes_push_str() non-staticStefan Metzmacher1-3/+3
We should use this and get rid of clistr_push(). metze
2011-07-06s3:libsmb: let cli_qfileinfo[_recv]() return recv_flags2Stefan Metzmacher1-3/+11
metze
2011-06-19s3: Add incomplete cli_nttrans_createVolker Lendecke1-0/+179
secdesc only at this moment
2011-06-19s3: Correctly align evenVolker Lendecke1-1/+3
2011-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett1-6/+6
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
2011-05-19s3: Do central cli_set_errorVolker Lendecke1-116/+0
2011-05-10s3: Use tevent_req_ntstatus properly in a few placesVolker Lendecke1-58/+29
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-05-06libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett1-94/+0
unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
2011-04-30Add POSIX O_RDONLY test of a directory for bug #8112 - POSIX extension opens ↵Jeremy Allison1-2/+0
of a directory are denied with EISDIR. Don't strip access bits from wire flags when opening a directory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 02:21:24 CEST 2011 on sn-devel-104
2011-04-29s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett1-2/+2
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett1-3/+3
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett1-3/+3
This means we use just one constant for this file attribute. Andrew Bartlett
2011-03-30s3: only include ntioctl.h where needed.Günther Deschner1-0/+1
Guenther