OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_19-22-g7852076
Gerrit Code Review
gerrit@openafs.org
Fri, 23 Nov 2012 14:25:37 -0800 (PST)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 726abac3a42696c8c02394a9f440657cb60e1fc5
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Wed Nov 21 18:03:10 2012 -0500
Windows: afslogon do not specify smbName for tokens
The smbName was added to the Windows ktc_SetTokens() interface
to provide a mechanism for passing the Windows account name
that the tokens should be associated with via Integrated Logon.
This was only required when the Authentication Provider did not
impersonate the user context prior to calling ktc_SetTokens().
Now that impersonation is used, the ktc_SetTokens() call will
do the right thing without the smbName. In fact, when impersonation
is used setting the smbName does the wrong thing by specifying
the AFS_PIOCTL_LOGON flag which is only valid if the SYSTEM account
is issuing the ktc_SetToken() call.
Reviewed-on: http://gerrit.openafs.org/8490
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 305133cde60fec7fb1050caf60a4319cdcf88a27)
Change-Id: I8fa3456b9fc2bf560e06a089bff26011cfbe17d9
Reviewed-on: http://gerrit.openafs.org/8501
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/afslogon.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository