summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-05-10 17:58:51 +0000
committerJeremy Allison <jra@samba.org>2005-05-10 17:58:51 +0000
commit75ba30782978aeff2eabca38dceb4804ad61f937 (patch)
treea9f3c9282733e4894ef990201da92246ea66f8ff /source/include
parent256c09719eed63cd6158d04fbe9b1f6e50c62025 (diff)
downloadsamba-75ba30782978aeff2eabca38dceb4804ad61f937.tar.gz
samba-75ba30782978aeff2eabca38dceb4804ad61f937.tar.xz
samba-75ba30782978aeff2eabca38dceb4804ad61f937.zip
r6715: We don't need to wrap the setfsinfo call in HAVE_QUOTA
as they'll just return ENOSYS if we don't. Add new CAP for POSIX pathnames, prepare to allow FSINFO set for client POSIX caps. Jeremy.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/trans2.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/source/include/trans2.h b/source/include/trans2.h
index 2aae1137dd7..2f56c640d3c 100644
--- a/source/include/trans2.h
+++ b/source/include/trans2.h
@@ -448,7 +448,7 @@ Offset Size Name
#define SMB_FIND_FILE_UNIX 0x202
/*
- Info level for QVOLINFO - returns version of CIFS UNIX extensions, plus
+ Info level for TRANS2_QFSINFO - returns version of CIFS UNIX extensions, plus
64-bits worth of capability fun :-).
*/
@@ -472,7 +472,14 @@ Offset Size Name
security and trusted */
#define CIFS_UNIX_EXTATTR_CAP 0x8 /* for support of chattr
(chflags) and lsattr */
-
+#define CIFS_UNIX_POSIX_PATHNAMES_CAP 0x10 /* Use POSIX pathnames on the wire. */
+
+/*
+ Info level for TRANSACT2_SETFSINFO - takes 64-bits of capabilies in the data section.
+*/
+
+#define SMB_SET_CIFS_UNIX_INFO 0x200
+
#define SMB_QUERY_POSIX_FS_INFO 0x201