I'm trying to move data including NT permissions from a Windows Server 2003 box to a Celerra NS120. To do that I'm using Robocopy tool. Unfortunately in copying some Windows shares I get the following error:
ERROR 1308 (0x0000051C) Copying NTFS Security to Destination File \\servername\share\directory\filename
This security ID may not be assigned as the primary group of an object.
May anyone tell me if this error is related to the mapping of SIDs and UIDs, GIDs?
I guess that its not related to user mapping directly but rather the fact that by default the Celerra will only store CIFS ownership and ACLs for SID's that it can verify with the domain controller.
If you have orphaned SIDs (users were already deleted on the domain controller) you need to either:
- clean them up before migration
- change the cifs acl.mappingErrorAction parameter
It might also happen if you try to use localgroups that arent known on the Celerra.
Just search for "1308" in the knowledgebase
I would also suggest to use lgdup and emcopy and make sure your migration account has backup operator privileges
the server log reports only DNS errors and exactly as follows (just last four rows but they repeat in the log):
2011-07-09 19:06:49: LIB: 3: dns_updateMessage: gss_init_sec_context failed for target DNS@ELBERT.jeppesen.com 2011-07-09 19:06:49: LIB: 3: dns_updateMessage: GSS-API major error: Miscellaneous failure 2011-07-09 19:06:49: LIB: 3: dns_updateMessage: GSS-API minor error: Server not found in Kerberos database 2011-07-09 19:06:49: LIB: 3: DNS update ERROR: Primary name server not found while registering mitfs02.corp.gds.jeppesen.com
would you so kind to explain better waht do you mean with "by default the Celerra will only store CIFS ownership and ACLs for SID's that it can verify with the domain controller"?
The value of the cifs acl.mappingErrorAction parameter is equal to 0 both default and current.
for each SID used (either as the owner of a file/dir or because its used in an ACL) the Celerra will try to resolve that SID to a Windows user name by asking the authorative sources (local users/groups database for local or Windows Active Domain controller for domain SIDs).
If it cannot figure out the Windows user name for a SID the default setting is to NOT allow storing that file.
That is typically the case when users have been deleted from the AD but their SID is still used on some files.
Thats why some companies dont delete users - they rather disable and rename them.
See the Parameters guide
Also take a look at the Using EMC Utilities for the CIFS Environment from Powerlink where lgdup is explained.
You should be able to identify the file where it fails from your robocopy log file - then take a look at its owner and ACLs.
Most likely its an unresolvable SID.
If that is the case you have two choices:
- cleanup the SIDs before migrating
- configure the params to allow storing unrevolvable
Also revisit the errors in your lgdup. They might be meaningless or not depending on whether any of these failed groups are used.
If you do want to go ahead and store unrevolvable SIDs
From Knowledgebase (Primus) emc46968
In addition to the above attributes, the following parameters can be set on the Data Mover, but requires a system reboot. Additionally, using the following parameters can degrade User access performance since the Data Mover will attempt to resolve unknown SIDs whenever files are accessed that contain invalid or unresolved SIDs. If the data being migrated is known to contain orphaned SIDs (i.e., deleted User or Group accounts), it is suggested that the Source data be cleansed of these SIDs prior to the migration.
Basic parameters to allow for migration of data containing unknown SIDs
Note: This parameter defines rules for unknown mappings between SID, UID, GID on ACL setting, either because DC does not know SID or the username is not yet mapped to UID/GID.
Bit 0 = store unknown SID Bit 1 = store SID without UNIX GID/UID mapping Bit 2 = enable debug traces Bit 3 = turning on bits 0 and 1
Note: This parameter suppresses any errors resulting from unresolved ACLs during migration of files to Celerra, migrating all resolvable SIDs properly and placing unresolved SIDs in the delayed SID state. Without this setting, errors will be returned when copying files with unresolvable SIDs, resulting in copying of files with default Everyone Full Control applied.
Rainer_EMC
6 Operator
•
8645 Posts
1059
1
Posted July 4th, 2011 08:00
take a look at the server_log
I guess that its not related to user mapping directly but rather the fact that by default the Celerra will only store CIFS ownership and ACLs for SID's that it can verify with the domain controller.
If you have orphaned SIDs (users were already deleted on the domain controller) you need to either:
- clean them up before migration
- change the cifs acl.mappingErrorAction parameter
It might also happen if you try to use localgroups that arent known on the Celerra.
Just search for "1308" in the knowledgebase
I would also suggest to use lgdup and emcopy and make sure your migration account has backup operator privileges
Rainer