.\" Man page generated from reStructuredText. . .TH SMBINFO 1 "" "" "" .SH NAME smbinfo \- Userspace helper to display SMB-specific file information for the Linux SMB client file system (CIFS) . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 smbinfo [\-v] [\-h] [\-V] {command} {file system object} .UNINDENT .UNINDENT .SH DESCRIPTION .sp This tool is part of the cifs\-utils suite. .sp \fIsmbinfo\fP is a userspace helper program for the Linux SMB client file system (CIFS). It is intended to display SMB\-specific file informations such as Security Descriptors and Quota. .sp This tool works by making an CIFS_QUERY_INFO IOCTL call to the Linux SMB client which in turn issues a SMB Query Info request and returns the result. This differs from \fIgetcifsacl\fP which uses extended file attributes. .SH OPTIONS .INDENT 0.0 .TP .B \-v Print version number and exit. .TP .B \-V Verbose output. .TP .B \-h Print help explaining the command line options. .UNINDENT .SH COMMAND .sp \fIfileaccessinfo\fP: Prints the FileAccessInformation class .sp \fIfilealigninfo\fP: Prints the FileAlignmentInformation class .sp \fIfileallinfo\fP: Prints the FileAllInformation class .sp \fIfilebasicinfo\fP: Prints the FileBasicInformation class .sp \fIfileeainfo\fP: Prints the FileEaInformation class .sp \fIfilefsfullsizeinfo\fP: Prints the FileFsFullSizeInformation class .sp \fIfileinternalinfo\fP: Prints the FileInternalInformation class .sp \fIfilemodeinfo\fP: Prints the FileModeInformation class .sp \fIfilepositioninfo\fP: Prints the FilePositionInformation class .sp \fIfilestandardinfo\fP: Prints the FileStandardInformation class .sp \fIfsctl\-getobjid\fP: Prints the ObjectID .sp \fIgetcompression\fP: Prints the compression setting for the file. .sp \fIsetcompression \-c \fP: Sets the compression setting for the file. .sp \fIlist\-snapshots\fP: Lists the previous versions of the volume that backs this file .sp \fIquota\fP: Print the quota for the volume in the form \- SID Length \- Change Time \- Quota Used \- Quota Threshold \- Quota Limit \- SID .sp \fIsecdesc\fP: Print the security descriptor in the form \- Revision \- Control \- Owner SID \- Group SID \- ACL \- File types \- File flags .sp \fIkeys\fP: Dump session id, encryption keys and decryption keys so that the SMB3 traffic of this mount can be decryped e.g. via wireshark (requires root). .SH NOTES .sp Kernel support for smbinfo utilities requires the CIFS_QUERY_INFO IOCTL which was initially introduced in the 4.20 kernel and is only implemented for mount points using SMB2 or above (see mount.cifs(8) \fIvers\fP option). .SH SEE ALSO .sp mount.cifs(8), getcifsacl(1) .SH AUTHOR .sp Ronnie Sahlberg wrote the smbinfo program. .sp The Linux CIFS Mailing list is the preferred place to ask questions regarding these programs. .\" Generated by docutils manpage writer. .