From 3e478f1950f2948c48ffb417ededc9f001fb4b25 Mon Sep 17 00:00:00 2001 From: Gary Spencer Date: Fri, 2 Feb 2007 11:49:07 +0000 Subject: [PATCH] Set a default domain/workgroup name of 'WORKGROUP', if the domain name cannot be found it can cause a null pointer exception when building the CIFS session setup response. Fix for AR-1069. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5013 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../org/alfresco/filesys/server/config/ServerConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/java/org/alfresco/filesys/server/config/ServerConfiguration.java b/source/java/org/alfresco/filesys/server/config/ServerConfiguration.java index b7c2b91d90..67231314e1 100644 --- a/source/java/org/alfresco/filesys/server/config/ServerConfiguration.java +++ b/source/java/org/alfresco/filesys/server/config/ServerConfiguration.java @@ -201,7 +201,7 @@ public class ServerConfiguration extends AbstractLifecycleBean // Server domain - private String m_domain; + private String m_domain = "WORKGROUP"; // Network broadcast mask string