Pass the client domain through to the authentication server so that domain trusts are enforced correctly.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2006-09-04 10:16:03 +00:00
parent 7b3ce70218
commit 1a7d64c8a6

View File

@@ -180,7 +180,7 @@ public class PassthruAuthenticator extends CifsAuthenticator implements SessionL
// using the session that has already been setup. // using the session that has already been setup.
AuthenticateSession authSess = passDetails.getAuthenticateSession(); AuthenticateSession authSess = passDetails.getAuthenticateSession();
authSess.doSessionSetup(client.getUserName(), client.getANSIPassword(), client.getPassword()); authSess.doSessionSetup(client.getDomain(), client.getUserName(), null, client.getANSIPassword(), client.getPassword());
// Check if the user has been logged on as a guest // Check if the user has been logged on as a guest