summaryrefslogtreecommitdiff
path: root/source3/libsmb/clirap.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-28s3:libsmb: get rid of cli_ucs2Luk Claes1-1/+1
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-4/+5
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-3/+3
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-5/+5
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
2011-09-13s3:libsmb: make use of cli_state_server_time_zone()Stefan Metzmacher1-3/+3
metze
2011-08-09s3:libsmb/cli*: use CLI_BUFFER_SIZE instead of cli->max_xmitStefan Metzmacher1-7/+7
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-07-12s3:libsmb: remove unused cli->privilegesStefan Metzmacher1-1/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 09:30:49 CEST 2011 on sn-devel-104
2011-07-06s3:libsmb: use clistr_pull_talloc() in cli_qfilename()Stefan Metzmacher1-5/+26
metze
2011-07-06s3:libsmb: let cli_qfileinfo[_recv]() return recv_flags2Stefan Metzmacher1-1/+2
metze
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-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
2011-05-31s3-libsmb: fix build warning of cli_qfilename().Günther Deschner1-1/+1
Guenther
2011-05-23s3: Remove a reference to cli->inbufVolker Lendecke1-1/+1
This is only used for utf16 alignment calculations, "rdata" is aligned the same way as cli->inbuf is.
2011-05-19s3: Do central cli_set_errorVolker Lendecke1-12/+0
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
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-03-30s3-trans2: only include trans2.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell1-3/+2
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-02-09s3: move some stuff out of smb.h to better locations.Günther Deschner1-0/+2
Guenther
2011-01-17s3: Convert cli_api to cli_transVolker Lendecke1-11/+48
2011-01-17s3: Make cli_setpathinfo_basic use cli_setpathinfoVolker Lendecke1-65/+8
2011-01-17s3: Rename cli_setpathinfo->cli_setpathinfo_basicVolker Lendecke1-6/+6
2011-01-17s3: Remove cli_send_trans from cli_qpathinfo_alt_nameVolker Lendecke1-51/+25
2011-01-17s3: Remove cli_send_trans from cli_oem_change_passwordVolker Lendecke1-15/+5
2010-10-24s3: Replace cli_qfileinfo_test with a call to cli_qfileinfoVolker Lendecke1-55/+0
2010-10-24s3: Convert cli_qfileinfo_basic to cli_qfileinfoVolker Lendecke1-29/+18
2010-10-24s3: Convert cli_qfilename to cli_qfileinfoVolker Lendecke1-35/+13
2010-10-24s3: Rename cli_fileinfo() to cli_fileinfo_basic()Volker Lendecke1-7/+7
2010-09-20s3-build: only include async headers where needed.Günther Deschner1-0/+1
Guenther
2010-08-05s3: Remove some pointless wrapper functionsVolker Lendecke1-6/+6
2010-08-05s3: Save the received trans2 from the inbuf in cli_transVolker Lendecke1-0/+1
2010-07-28s3: Fix cli_qpathinfo2Volker Lendecke1-1/+1
Does not fix the DIR_CREATETIME test, but it is definitely an error.
2010-07-26s3: Convert cli_qpathinfo_streams to cli_qpathinfo_sendVolker Lendecke1-42/+93
2010-07-26s3: Factor out parse_streams_blobVolker Lendecke1-8/+22
2010-07-26s3: Convert cli_qpathinfo_basic to cli_qpathinfo_sendVolker Lendecke1-49/+86
2010-07-26s3: Convert cli_qpathinfo2 to cli_qpathinfo_sendVolker Lendecke1-50/+101
2010-07-26s3: cli_qpathinfo2 expects at least 68 bytesVolker Lendecke1-1/+1
2010-07-26s3: Convert cli_qpathinfo1 to cli_qpathinfoVolker Lendecke1-61/+105
2010-07-25s3: cli_qpathinfo->cli_qpathinfo1Volker Lendecke1-1/+1
2010-05-18s3-crypto: only include crypto headers when crypto is done.Günther Deschner1-0/+1
Guenther
2010-05-12s3-rap: fix cli_oem_change_password() and give room for the convert reply word.Günther Deschner1-1/+1
Any servers I could find so far return it. Guenther
2010-04-26s3: use generated rap header.Günther Deschner1-0/+1
Guenther
2010-02-20s3: Convert cli_qpathinfo_basic to use cli_trans()Volker Lendecke1-39/+26
2010-02-09Fix off-by-one error in working out the limit of the NetServerEnum comment.Jeremy Allison1-1/+1
Jeremy.
2010-02-08s3:libsmb: fix NetServerEnum3 rap calls.Stefan Metzmacher1-5/+19
metze
2010-02-04s3:libsmb: don't reuse the callers stype variable in cli_NetServerEnum()Stefan Metzmacher1-2/+3
When we need to do more than one network operation to get the browse list we need to use the same 'stype' value each time. metze
2009-11-14s3: Add min_setup, min_param and min_data to cli_trans_recvVolker Lendecke1-14/+6
Every caller that expects to receive something needs to check if enough was sent. Make this check mandatory for everyone. Yes, this makes the parameter list for cli_trans a bit silly, but that's just the way it is: A silly protocol request :-) While there, convert some _done functions to tevent_req_simple_finish_ntstatus.
2009-05-26Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STATVolker Lendecke1-3/+3
This patch introduces struct stat_ex { dev_t st_ex_dev; ino_t st_ex_ino; mode_t st_ex_mode; nlink_t st_ex_nlink; uid_t st_ex_uid; gid_t st_ex_gid; dev_t st_ex_rdev; off_t st_ex_size; struct timespec st_ex_atime; struct timespec st_ex_mtime; struct timespec st_ex_ctime; struct timespec st_ex_btime; /* birthtime */ blksize_t st_ex_blksize; blkcnt_t st_ex_blocks; }; typedef struct stat_ex SMB_STRUCT_STAT; It is really large because due to the friendly libc headers playing macro tricks with fields like st_ino, so I renamed them to st_ex_xxx. Why this change? To support birthtime, we already have quite a few #ifdef's at places where it does not really belong. With a stat struct that we control, we can consolidate the nanosecond timestamps and the birthtime deep in the VFS stat calls. At this moment it is triggered by a request to support the birthtime field for GPFS. GPFS does not extend the system level struct stat, but instead has a separate call that gets us the additional information beyond posix. Without being able to do that within the VFS stat calls, that support would have to be scattered around the main smbd code. It will very likely break all the onefs modules, but I think the changes will be reasonably easy to do.
2009-04-30Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison1-3/+3
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy.