Merge 3.1 to HEAD

13778: Fix <homefolder> file server config missing from 3.1. ETHREEOH-1763.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13780 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2009-03-31 10:46:54 +00:00
parent fda5fc143f
commit 249905ff74
5 changed files with 384 additions and 3 deletions

View File

@@ -169,9 +169,10 @@ public abstract class CifsAuthenticatorBase extends CifsAuthenticator
*/
protected final void getHomeFolderForUser(ClientInfo client)
{
// Check if the client is an Alfresco client
// Check if the client is an Alfresco client, and not a null logon
if ( client instanceof AlfrescoClientInfo == false)
if ( client instanceof AlfrescoClientInfo == false ||
client.isNullSession() == true)
return;
AlfrescoClientInfo alfClient = (AlfrescoClientInfo) client;

View File

@@ -905,6 +905,10 @@ public class EnterpriseCifsAuthenticator extends CifsAuthenticatorBase implement
checkForAdminUserName( client);
// Get the users home folder node, if available
getHomeFolderForUser( client);
// Create a virtual circuit for the new logon
VirtualCircuit vc = new VirtualCircuit( vcNum, client);

View File

@@ -751,6 +751,10 @@ public class PassthruCifsAuthenticator extends CifsAuthenticatorBase implements
checkForAdminUserName( client);
// Get the users home folder node, if available
getHomeFolderForUser( client);
// Create a virtual circuit for the new logon
VirtualCircuit vc = new VirtualCircuit( vcNum, client);