summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-31 14:12:50 -0700
committerJeremy Allison <jra@samba.org>2007-10-31 14:12:50 -0700
commitc9c8dbcc5307c6153230c9b9c4c3a5a422af2ddc (patch)
treea5ff2e039bc9026f718a3f10e19c6263b7225aca
parent133fad90b5f9cef26f9c78cc5b302358c9c4da6a (diff)
downloadsamba-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)
-rw-r--r--source3/client/client.c6
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';