Only check if the host name is the same as the configured CIFS server name on Windows.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2007-01-29 10:39:34 +00:00
parent c45bb470ba
commit b92da20832

View File

@@ -819,7 +819,7 @@ public class ServerConfiguration extends AbstractLifecycleBean
// Make sure the CIFS server name does not match the local server name
if (hostName.equals(srvName))
if (hostName.equals(srvName) && getPlatformType() == PlatformType.WINDOWS)
throw new AlfrescoRuntimeException("CIFS server name must be unique");
}