XCP SMB verify returns failed to get security descriptor error after migration
Applies to
- XCP SMB
- ONTAP 9
Issue
- After using XCP SMB tool to copy data between CIFS shares, running the
xcp verifycommand producedfailed to get security descriptorerror for all files
Example:
C:\xcp\windows>xcp verify -loglevel debug \\storage_ip\cifs01 \\storage_ip\des01
XCP SMB 1.9.4P1; (c) 2025 NetApp, Inc.
57 scanned, 0 compared, 0 same, 0 different, 0 missing, 0 errors, 7s
failed to get security descriptor for "\\storage_ip\cifs01\all_source_files
failed to get security descriptor for "\\storage_ip\cifs01\all_target_files
57 scanned, 56 compared, 56 same, 0 different, 0 missing, 0 errors, 43s
xcp verify -loglevel debug \\storage_ip\cifs01 \\storage_ip\des01
57 scanned, 56 compared, 56 same, 0 different, 0 missing, 0 errors
Total Time : 43s
STATUS : PASSED
- Only the Everyone group is applied to the source volume and its underlying data
- The security style setting of the source volume is ntfs
- The
xcp copycompleted without any problems - After the
xcp copy, the target data also inherited the ACL of the Everyone group. - The CIFS user configured for XCP has sufficient permissions
cluster::*>vserver cifs users-and-groups local-group show-members -vserver svm01Vserver Group Name Members-------------- ---------------------------- ------------------------svm01 BUILTIN\Administrators CIFS\AdministratorCIFS\cifs_usercluster::*>diag secd authentication show-creds -vserver svm01 -win-name cifs_userUNIX UID: pcuser <> Windows User: CIFS\cifs_user (Windows Local User)GID: pcuserSupplementary GIDs:pcuserPrimary Group SID: CIFS\None (Windows Domain group)Windows Membership:User is also a member of Everyone, Authenticated Users, and Network UsersPrivileges (0x201f):SeTcbPrivilegeSeBackupPrivilegeSeRestorePrivilegeSeTakeOwnershipPrivilegeSeSecurityPrivilegeSeChangeNotifyPrivilegecluster::*> vserver cifs users-and-groups privilege show -vserver svm01Vserver User or Group Name Privileges-------------- ---------------------------- -------------------svm01 CIFS\cifs_user SeBackupPrivilegeSeChangeNotifyPrivilegeSeRestorePrivilegeSeSecurityPrivilegeSeTakeOwnershipPrivilegeSeTcbPrivilege