Rubeck SMB getinfo请求收到响应STATUS _LOGON_failure
适用场景
- ONTAP 9
- CIFS/SMB
- Rubeck
问题描述
- Rubeck无法备份Snapshot、 收到错误:
protocol error: QueryInfoCommand: unhandled smb error STATUS_LOGON_FAILURE - (host: 132.223.1.226:445) {smb/errors.go:183} request: &SMBMessage{CreditCharge:1,CreditReqResp:1,MessageID:9,TreeID:1,SessionID:6578633155681796630,Related:true,CommandMsg:&SMBQueryInfoRequest{FileID:FileID{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255},InfoType:3,OutputBufferLength:65536,AdditionalInfo:15},} response: &SMBMessage{Status:3221225581,Command:16,CreditReqResp:1,MessageID:9,TreeID:1,SessionID:6578633155681796630,Reply:true,}
- 数据包跟踪显示了这一点
- Rubeck发送
GetInfo Request
.snapshot
文件夹 - ONTAP回复为、
GetInfo Response
共NT Status: STATUS_LOGON_FAILURE (0xc000006d)
- Rubeck发送
- 对象的有效安全模式为Unix、因此具有Unix ACL
::*> vserver security file-directory show -vserver roshar -path /alethkar/.snapshot -fields effective-style
is-unix-nt-acl-enabled
选项设置为false
::*> cifs options show -vserver roshar -fields is-unix-nt-acl-enabled
vserver is-unix-nt-acl-enabled
------- ----------------------
roshar false
vserver path effective-style
------- ------------------- ---------------
roshar /alethkar/.snapshot unix