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);
|
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
|
// Save the current user token in the client information
|
||||||
|
|
||||||
@@ -528,8 +528,8 @@ public abstract class CifsAuthenticator
|
|||||||
|
|
||||||
// DEBUG
|
// DEBUG
|
||||||
|
|
||||||
logger.debug("User " + user + " logged on "
|
if (logger.isDebugEnabled() && sess.hasDebug(SMBSrvSession.DBG_NEGOTIATE))
|
||||||
+ (client != null ? " (type " + client.getLogonTypeString() + ")" : ""));
|
logger.debug("User " + user + " logged on " + (client != null ? " (type " + client.getLogonTypeString() + ")" : ""));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create a virtual circuit and allocate a UID to the new circuit
|
// Create a virtual circuit and allocate a UID to the new circuit
|
||||||
|
Reference in New Issue
Block a user