mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix problem where authentication token was set only in debug mode. Fix for AR-1150.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -517,7 +517,7 @@ public abstract class CifsAuthenticator
|
||||
|
||||
throw new SMBSrvException(SMBStatus.NTLogonFailure, SMBStatus.DOSAccessDenied, SMBStatus.ErrDos);
|
||||
}
|
||||
else if (logger.isDebugEnabled() && sess.hasDebug(SMBSrvSession.DBG_NEGOTIATE))
|
||||
else
|
||||
{
|
||||
// Save the current user token in the client information
|
||||
|
||||
@@ -527,9 +527,9 @@ public abstract class CifsAuthenticator
|
||||
client.setAuthenticationToken( null);
|
||||
|
||||
// DEBUG
|
||||
|
||||
logger.debug("User " + user + " logged on "
|
||||
+ (client != null ? " (type " + client.getLogonTypeString() + ")" : ""));
|
||||
|
||||
if (logger.isDebugEnabled() && sess.hasDebug(SMBSrvSession.DBG_NEGOTIATE))
|
||||
logger.debug("User " + user + " logged on " + (client != null ? " (type " + client.getLogonTypeString() + ")" : ""));
|
||||
}
|
||||
|
||||
// Create a virtual circuit and allocate a UID to the new circuit
|
||||
|
Reference in New Issue
Block a user