summaryrefslogtreecommitdiff
path: root/source3/libsmb/clirap.c
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-04-14More work to adapt to merged libcli/auth function prototypesAndrew Bartlett1-0/+1
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett1-1/+1
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
2009-01-26Decouple clistr_pull from struct cli_state->inbufVolker Lendecke1-2/+4
2009-01-11Move cli_api_pipe() to its only user cli_pipe.cVolker Lendecke1-23/+0
2008-09-09Fix make test on sparc and possibly also on AIXVolker Lendecke1-1/+3
(This used to be commit 5721205bff539ed5f8592a86168679ec5a9c368e)
2008-09-09Convert cli_qfileinfo to the async trans callVolker Lendecke1-21/+19
(This used to be commit ddc5e77b619db7c2369b3bf72b60360051797087)
2008-09-09Fix a memleak in cli_qfilename (only used in smbtorture)Volker Lendecke1-0/+5
(This used to be commit 7e0cca19fec078c0b46807492a7a035f4fab612b)
2008-05-20Fix some signed/unsigned warningsVolker Lendecke1-1/+1
(This used to be commit dbb4d8107a61051d8bcf6c4c69ee976efc50b961)
2008-05-20Cleanup size_t return values in callers of convert_string_allocateTim Prouty1-6/+6
This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
2008-02-08Fix bug reported on IRC enumerating shares with OS/2.Jeremy Allison1-3/+4
Report and fix from kukks (thanks once again !). Jeremy. (This used to be commit 3ca58b792fb10ff2a4c25283c587f8270ed82d74)
2008-01-18Add the "allinfo" command to smbclientVolker Lendecke1-0/+131
Modeled after the Samba4 allinfo command (This used to be commit 3fa0cf3fe5f819f6e76df6f7cef3bb4e1c307a52)
2008-01-09Fix a memleak found by the IBM checker.Michael Adam1-0/+1
Michael (This used to be commit b4a37a66bbd8f5346de743d4ab427d6671e29075)
2007-12-09Support fetching very long server lists with RAP_NetServerEnum3.James Peach1-42/+125
Use the RAP_NetServerEnum3 server list continuation API for retrieving server lists that are too long to fit in a single reply. Patch from George Colley <gcolley@apple.com>. (This used to be commit 40c26d55736ae08934e18c27168fff10dd15442f)
2007-12-08Fix C++ warningsVolker Lendecke1-4/+4
(This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)
2007-12-05Remove arbitrary 1k limit on pathnames. Malloc them.Jeremy Allison1-31/+66
Jeremy. (This used to be commit 71770b4c1d021d829deeb53a6ea3b747fce55c84)
2007-11-30Remove pstring from clirap.c.Jeremy Allison1-118/+187
Jeremy. (This used to be commit 6e27663cb44a79f729fa4366e000c43383f6d1b7)
2007-11-29Remove the explicit TALLOC_CTX * from cli_struct.Jeremy Allison1-1/+1
Make us very explicit about how long a talloc ctx should last. Jeremy. (This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
2007-11-19Always check return from push_ascii.Jeremy Allison1-1/+6
Jeremy. (This used to be commit 9c3d10521e691169cfbb8b728f123911c3c970ae)