From 3922b68d13ec79b8ebf55d0624668bf6483930a6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 18 Nov 2005 10:07:14 +0000 Subject: r11777: display the security_descriptor in torture_smb2_all_info() (This used to be commit d1067fc25df57b1b6ef59a69f979ed76df5c46cd) --- source4/libcli/smb2/getinfo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/libcli/smb2/getinfo.c') diff --git a/source4/libcli/smb2/getinfo.c b/source4/libcli/smb2/getinfo.c index 4575ae2a40..85411fab92 100644 --- a/source4/libcli/smb2/getinfo.c +++ b/source4/libcli/smb2/getinfo.c @@ -91,6 +91,10 @@ NTSTATUS smb2_getinfo(struct smb2_tree *tree, TALLOC_CTX *mem_ctx, */ uint16_t smb2_getinfo_map_level(uint16_t level, uint8_t class) { + if (class == SMB2_GETINFO_FILE && + level == RAW_FILEINFO_SEC_DESC) { + return SMB2_GETINFO_SECURITY; + } if ((level & 0xFF) == class) { return level; } else if (level > 1000) { -- cgit