mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user