1SMBINFO(1) SMBINFO(1)
2
3
4
6 smbinfo - Userspace helper to display SMB-specific file information for
7 the Linux SMB client file system (CIFS)
8
10 smbinfo [-v] [-h] [-V] {command} {file system object}
11
13 This tool is part of the cifs-utils suite.
14
15 smbinfo is a userspace helper program for the Linux SMB client file
16 system (CIFS). It is intended to display SMB-specific file informations
17 such as Security Descriptors and Quota.
18
19 This tool works by making an CIFS_QUERY_INFO IOCTL call to the Linux
20 SMB client which in turn issues a SMB Query Info request and returns
21 the result. This differs from getcifsacl which uses extended file
22 attributes.
23
25 -v Print version number and exit.
26
27 -V Verbose output.
28
29 -h Print help explaining the command line options.
30
32 fileaccessinfo: Prints the FileAccessInformation class
33
34 filealigninfo: Prints the FileAlignmentInformation class
35
36 fileallinfo: Prints the FileAllInformation class
37
38 filebasicinfo: Prints the FileBasicInformation class
39
40 fileeainfo: Prints the FileEaInformation class
41
42 filefsfullsizeinfo: Prints the FileFsFullSizeInformation class
43
44 fileinternalinfo: Prints the FileInternalInformation class
45
46 filemodeinfo: Prints the FileModeInformation class
47
48 filepositioninfo: Prints the FilePositionInformation class
49
50 filestandardinfo: Prints the FileStandardInformation class
51
52 fsctl-getobjid: Prints the ObjectID
53
54 getcompression: Prints the compression setting for the file.
55
56 setcompression -c <no|default|lznt1>: Sets the compression setting for
57 the file.
58
59 list-snapshots: Lists the previous versions of the volume that backs
60 this file
61
62 quota: Print the quota for the volume in the form - SID Length - Change
63 Time - Quota Used - Quota Threshold - Quota Limit - SID
64
65 secdesc: Print the security descriptor in the form - Revision - Control
66 - Owner SID - Group SID - ACL - File types - File flags
67
68 keys: Dump session id, encryption keys and decryption keys so that the
69 SMB3 traffic of this mount can be decryped e.g. via wireshark (requires
70 root).
71
73 Kernel support for smbinfo utilities requires the CIFS_QUERY_INFO IOCTL
74 which was initially introduced in the 4.20 kernel and is only impleā
75 mented for mount points using SMB2 or above (see mount.cifs(8) vers
76 option).
77
79 mount.cifs(8), getcifsacl(1)
80
82 Ronnie Sahlberg wrote the smbinfo program.
83
84 The Linux CIFS Mailing list is the preferred place to ask questions
85 regarding these programs.
86
87
88
89
90 SMBINFO(1)