diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-31 14:12:50 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-31 14:12:50 -0700 |
commit | c9c8dbcc5307c6153230c9b9c4c3a5a422af2ddc (patch) | |
tree | a5ff2e039bc9026f718a3f10e19c6263b7225aca /source3 | |
parent | 133fad90b5f9cef26f9c78cc5b302358c9c4da6a (diff) | |
download | samba-c9c8dbcc5307c6153230c9b9c4c3a5a422af2ddc.tar.gz samba-c9c8dbcc5307c6153230c9b9c4c3a5a422af2ddc.tar.bz2 samba-c9c8dbcc5307c6153230c9b9c4c3a5a422af2ddc.zip |
Add printout of large read/write caps if detected.
Jeremy.
(This used to be commit 52f13d84955224ebbaead53d8428baade6a22fe0)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/client.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index f18505a418..a381d13cae 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -2013,6 +2013,12 @@ static int cmd_posix(void) if (caplow & CIFS_UNIX_POSIX_PATH_OPERATIONS_CAP) { pstrcat(caps, "posix_path_operations "); } + if (caplow & CIFS_UNIX_LARGE_READ_CAP) { + pstrcat(caps, "large_read "); + } + if (caplow & CIFS_UNIX_LARGE_WRITE_CAP) { + pstrcat(caps, "large_write "); + } if (strlen(caps) > 0 && caps[strlen(caps)-1] == ' ') { caps[strlen(caps)-1] = '\0'; |