VNX: After renaming the CIFS server on VDM, localuser is not enabled. (User Correctable)

Summary: Local user was originally enabled on the CIFS server, but after rename of the CIFS Server, local user is not enabled.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Local user was originally enabled on the CIFS server, but after rename of the CIFS Server, local user is not enabled.

Result of server_cifs <vdm_name> command in case of no problem:
>> CIFS Server <new-cifs-name>[<domain_name>] RC=x (local users supported)

Result of server_cifs <vdm_name> command in case of problem:
>> CIFS Server <new-cifs-name>[<domain_name>] RC=x 

[note]
As a precondition, when rename a CIFS Server, the correct procedure must be followed.
If the correct procedure is followed and an event occurs, it may match this knowledge base.

[Configuring and Managing CIFS on VNX]
https://www.delltechnologies.com/asset/en-us/products/storage/technical-support/docu48457.pdf
Please refer to "Rename a compname" on Page 74.

example:
server_cifs <vdm_name> -Unjoin compname=<old-cifs-name>,domain=<domain_name>,admin=<admin_name>
server_cifs <vdm_name> -delete compname=<old-cifs-name>

server_cifs <vdm_name> -add netbios=<old-cifs-name>,domain=<domain_name>,interface=<interface_name>
server_cifs <vdm_name> -rename -netbios <old-cifs-name> <new-cifs-name>
server_cifs <vdm_name> -delete netbios=<new-cifs-name>

server_cifs <vdm_name> -add compname=<new-cifs-name>,domain=<domain_name>,interface=<interface_name>
server_cifs <vdm_name> -Join compname=<new-cifs-name>,domain==<domain_name>,admin=<admin_name>

Cause

This is a timing issue where localgroup file was not updated before domain join.
As a best effort, adding around 90 seconds delay before domain join is expected to reduce the occurrence of the event.

Resolution

This problem is expected to be corrected by performing the VDM reload operation with the following command.

nas_server -vdm <vdm_name> -setstate mounted
nas_server -vdm <vdm_name> -setstate loaded

[Note]
When VDM is mounted or unloaded, services on the corresponding VDM are temporarily unavailable.

- This is an example of the time from the start to the end of a command.

-----
YYYY-MM-DD HH:01:04.091 db:201:11223:S: nas_server -vdm <vdm_name> -setstate mounted
YYYY-MM-DD HH:01:13.662 db:201:11223:E: nas_server -vdm <vdm_name> -setstate mounted

YYYY-MM-DD HH:02:37.666 db:201:7721:S: nas_server -vdm <vdm_name> -setstate loaded
YYYY-MM-DD HH:02:44.010 db:201:7721:E: nas_server -vdm <vdm_name> -setstate loaded
-----

Additional Information

- If the event matches, the following error is generated at the time of attempting a JOIN of the renamed CIFS Sever.

rename operation timestamp:(/nas/log/cmd_log)
-----
YYYY-MM-DD HH:23:37.658 vdm_name:201:16081:S: server_cifs <vdm_name> -Unjoin compname=xxxxxxxx domain=<domain> admin=<admin
YYYY-MM-DD HH:25:05.345 vdm_name:201:23177:S: server_cifs <vdm_name> -delete compname=xxxxxxxx

YYYY-MM-DD HH:26:55.316 vdm_name:201:31418:S: server_cifs <vdm_name> -add netbios=xxxxxxxx domain=<domain> interface=<interface>
YYYY-MM-DD HH:28:04.043 vdm_name:201:5755:S: server_cifs <vdm_name> -rename -netbios xxxxxxxx xxxxxxxx-old                               
YYYY-MM-DD HH:29:05.757 vdm_name:201:11967:S: server_cifs <vdm_name> -delete netbios=xxxxxxxx-old

YYYY-MM-DD HH:30:13.910 vdm_name:201:19018:S: server_cifs <vdm_name> -add compname=xxxxxxxx-old domain=<domain> interface=<interface_name>
YYYY-MM-DD HH:41:00.754 vdm_name:201:9837:S: server_cifs <vdm_name> -Join compname=xxxxxxxx-old domain=<domain> admin=<admin>
-----

server_log timestamp:(server_log DM_name)
-----
YYYY-MM-DD HH:30:14: SMB: 6:[vdm_name] CIFS Server xxxxxxxx-OLD[<domain>] created (0x0000000000)
YYYY-MM-DD HH:30:14: SMB: 6:[vdm_name] Full computer name xxxxxxxx-old.<domain>, Realm <domain>
YYYY-MM-DD HH:30:17: SMB: 3:[vdm_name] MS_PAC::build PAC buffer[5] unknown type=16 Size=0x14
YYYY-MM-DD HH:34:06: SMB: 3:[vdm_name] getServerGUID failed for xxxxxxxx-old@<domain>
YYYY-MM-DD HH:34:06: SMB: 3:[vdm_name] SSXAK() FAILURE=LOGON_FAILURE Client=xx.xx.xx.xxx origin=510 stat=Miscellaneous failure. No principal in keytab matches desired name.
YYYY-MM-DD HH:41:01: SMB: 6:[vdm_name] New GUID value for compname=xxxxxxxx-old@<domain>: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
YYYY-MM-DD HH:41:01: SMB: 3:[vdm_name] resetLocalgroups cannot get local group for server=xxxxxxxx-OLD 
-----

Affected Products

VNX1 Series, VNX2 Series
Article Properties
Article Number: 000201521
Article Type: Solution
Last Modified: 07 Nov 2022
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.