summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
2010-07-15Fix bug - 7551 smbclient does not return proper exit code.Jeremy Allison1-0/+1
Catch error in cli_push. Jeremy.
2010-06-29s3-client: Make sure we only write to an opened file.Andreas Schneider1-4/+10
Found by clang-analyzer.
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner1-1/+1
Guenther
2010-04-13Split out the client unix capabilities to those the server offered, and ↵Jeremy Allison1-1/+1
those the client asked for. This fixes a bug when using encrypted transport and DFS links. Found by my basic DFS torture test, which I'll check in next. Testing *rocks* :-). Jeremy.
2010-02-22Add an "attributes" string to allinfo.Jeremy Allison1-0/+27
Jeremy.
2010-02-20s3: Slightly simplify the logic of completion_remote_filterVolker Lendecke1-39/+45
2010-02-20s3: Remove a "typedef struct"Volker Lendecke1-4/+4
2010-02-20s3: Fix a typoVolker Lendecke1-1/+1
2010-02-20s3: Convert cli_qpathinfo_basic to use cli_trans()Volker Lendecke1-2/+6
2010-02-07s3: Make cli_get_fs_volume_info() use cli_trans()Volker Lendecke1-2/+5
2010-01-21s3: Move "yesno" to the only place where it is used: client.cVolker Lendecke1-0/+18
2009-11-29s3: Pass fake_dir_create_times down to file_exist_stat, none of the callers ↵Volker Lendecke1-2/+2
look at the mtime
2009-11-29s3: "tar_parseargs" only looks at the mtimeVolker Lendecke1-1/+1
2009-11-29s3: "dotareof" only looks at the file typeVolker Lendecke1-1/+1
2009-11-29s3: client "newer" does not look at the create timestampVolker Lendecke1-1/+1
2009-11-29s3: Pass the "fake dir create times" parameter to sys_*statVolker Lendecke2-3/+4
Step 0 to restore it as a per-share paramter
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-1/+2
samba. Guenther
2009-11-23Revert "s3: Make the implicit reference to Protocol in mask_match() explicit"Volker Lendecke1-2/+1
This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.
2009-11-23Revert "s3: Make the implicit reference to Protocol in mask_match_list() ↵Volker Lendecke1-7/+2
explicit" This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78.
2009-11-23Revert "s3: Move the global variable Protocol to struct smbd_server_connection"Volker Lendecke2-3/+3
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea.
2009-11-21s3: Move the global variable Protocol to struct smbd_server_connectionVolker Lendecke2-3/+3
2009-11-21s3: Make the implicit reference to Protocol in mask_match_list() explicitVolker Lendecke1-2/+7
2009-11-21s3: Make the implicit reference to Protocol in mask_match() explicitVolker Lendecke1-1/+2
2009-11-14s3: Convert cli_set_unix_extensions_capabilities_send to asyncVolker Lendecke1-2/+5
2009-11-13s3: Convert cli_unix_extensions_version to asyncVolker Lendecke1-5/+12
2009-11-12Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison1-1/+1
initialize return variables. Jeremy.
2009-11-10s3: Convert libsmb/cli_message to the async APIVolker Lendecke1-38/+16
2009-07-13Make cli_posix_lock/unlock asynchronous.Jeremy Allison1-2/+2
Jeremy.
2009-06-19Fix coverity #729. Resource leak in error path.Jeremy Allison1-1/+4
Jeremy.
2009-06-03Fix bug #2356 - smbclient -t <term code> no longer works.Jeremy Allison1-17/+0
Removed code and docs. Jeremy.
2009-06-02Move mount.cifs/umount.cifs to the top level and remove the outdated copyJelmer Vernooij6-2639/+0
in Samba 4.
2009-05-28Make cli_posix_chown()/cli_posix_chmod() async.Jeremy Allison1-2/+2
Jeremy.
2009-05-28Make cli_posix_stat() async.Jeremy Allison1-2/+2
Jeremy.
2009-05-28Make getfacl async.Jeremy Allison1-6/+2
Jeremy.
2009-05-27Add a smbclient "readlink" command and add docs for it.Jeremy Allison1-0/+49
Jeremy.
2009-05-27Add aync POSIX hardlink and symlink and torture test for them.Jeremy Allison1-2/+2
Missing call cli_readlink() is next. Jeremy.
2009-05-26Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STATVolker Lendecke2-21/+26
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-05-20Make cli_posix_open() and cli_posix_mkdir() async.Jeremy Allison1-8/+4
Jeremy.
2009-05-15Oops. Forgot to delete now unused local from the previous patch.Jeremy Allison1-2/+0
Jeremy.
2009-05-15Fix bug #6359 - smbclient -L does not list workgroup for hosts with both ↵Ole Hansen1-4/+10
IPv4 and IPv6 addresses
2009-05-15mount.cifs: directly include sys/stat.h in mtab.cJeff Layton1-0/+1
This file is mysteriously getting included when built via the makefile, but when you try to build mtab.o by hand it fails to build. Directly include it to remove any ambiguity. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2009-05-14Maximum password length check too short in mount.cifsSteve French1-2/+2
Windows allows up to 127 byte passwords, and we using a 64 byte limit in most places and a 16 byte limit when using the "pass=" mount option Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
2009-05-06Make cli_setatr async.Jeremy Allison1-2/+2
Jeremy.
2009-05-05Make cli_getatr() async.Jeremy Allison1-1/+3
Jeremy.
2009-05-05Make cli_getattrE async.Jeremy Allison1-3/+3
Jeremy.
2009-05-03Fix some warnings due to uint16_t!=-1 always being trueVolker Lendecke1-1/+1
2009-04-30Cause cli_close to return an NTSTATUS.Jeremy Allison3-6/+7
Jeremy.
2009-04-30Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison3-27/+27
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-29Make cli_unlink async.Jeremy Allison1-2/+2
Jeremy.
2009-04-29More async calls in libsmb/clifile.cJeremy Allison1-1/+1
Jeremy.