summaryrefslogtreecommitdiff
path: root/source3/libsmb/clifile.c
AgeCommit message (Collapse)AuthorFilesLines
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
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-trans2: only include trans2.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-25s3-libsmb: work our correct length for EA stringsAndrew Tridgell1-1/+1
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell1-4/+3
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-15s3-libsmb: only include rap client when needed.Günther Deschner1-0/+1
Guenther
2011-01-17s3: Convert cli_lock64 to cli_smbVolker Lendecke1-34/+24
2011-01-17s3: Convert cli_lock to use cli_locktypeVolker Lendecke1-46/+7
2011-01-17s3: Convert cli_locktype to cli_smbVolker Lendecke1-32/+22
2011-01-17s3: Make passing up "result_parent" from cli_smb optionalVolker Lendecke1-2/+1
2011-01-17s3: Add cli_setpathinfoVolker Lendecke1-0/+35
2011-01-17s3: Fix some nonempty blank linesVolker Lendecke1-3/+3
2010-11-30s3: Add cli_shadow_copy_dataVolker Lendecke1-0/+149
2010-11-11s3: Well... Fix a stupid errorVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 11 18:54:00 UTC 2010 on sn-devel-104
2010-11-11s3: Make cli_set_ea_fnum return NTSTATUSVolker Lendecke1-5/+5
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 11 16:59:27 UTC 2010 on sn-devel-104
2010-11-11s3: Make cli_set_ea_path return NTSTATUSVolker Lendecke1-3/+5
2010-11-11s3: Remove two pointless variablesVolker Lendecke1-5/+4
2010-11-11s3: Convert cli_set_ea() to cli_trans()Volker Lendecke1-40/+35