You can set a CIFS server option to determine whether CIFS servers automatically advertise DFS capabilities to SMB 2.x and SMB 3.0 clients connecting to shares. You can disable automatic advertisements in cases where you have applications that will not make connections to shares that advertise DFS capabilities.
Clustered Data ONTAP uses DFS referrals in the implementation of symbolic links for SMB access. You should keep the following in mind when deciding whether to enable or disable this option:
This is the default setting.
Clients that are connected to shares where symbolic link access is disabled might not be able to access these shares after the CIFS server option is disabled. This is because the clients have cached information that the CIFS server is DFS capable, and it is no longer advertising that it is. This causes reconnections to SMB shares to fail. There are two ways to manage this: