summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-27 10:18:22 -0800
committerJeremy Allison <jra@samba.org>2007-12-27 10:18:22 -0800
commit5413ad4aca69245c575b621db33b61eae5db4a35 (patch)
tree8c67d41deb9287e6af7a784a1ea3fbb570587882 /source3/smbd
parent3a52874815b2b58f361ef4eb104f0bebd0cdb6ae (diff)
downloadsamba-5413ad4aca69245c575b621db33b61eae5db4a35.tar.gz
samba-5413ad4aca69245c575b621db33b61eae5db4a35.tar.bz2
samba-5413ad4aca69245c575b621db33b61eae5db4a35.zip
Add CIFS_UNIX_TRANSPORT_ENCRYPTION_CAP capability to
our reported caps. Jeremy. (This used to be commit e86d027823c85173c64e7b85406e98f6f7345b10)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 0e34284443..5a8fe41d27 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2737,7 +2737,10 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)bsize, (unsigned
data_len = 12;
SSVAL(pdata,0,CIFS_UNIX_MAJOR_VERSION);
SSVAL(pdata,2,CIFS_UNIX_MINOR_VERSION);
- /* We have POSIX ACLs, pathname and locking capability. */
+
+ /* We have POSIX ACLs, pathname, encryption,
+ * large read/write, and locking capability. */
+
SBIG_UINT(pdata,4,((SMB_BIG_UINT)(
CIFS_UNIX_POSIX_ACLS_CAP|
CIFS_UNIX_POSIX_PATHNAMES_CAP|
@@ -2745,6 +2748,7 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)bsize, (unsigned
CIFS_UNIX_EXTATTR_CAP|
CIFS_UNIX_POSIX_PATH_OPERATIONS_CAP|
CIFS_UNIX_LARGE_READ_CAP|
+ CIFS_UNIX_TRANSPORT_ENCRYPTION_CAP|
(large_write ?
CIFS_UNIX_LARGE_WRITE_CAP : 0))));
break;