Windows: Return error for SetToken PIOCTL_LOGON if not LocalSystem
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 16 Aug 2010 18:27:44 +0000 (14:27 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Mon, 16 Aug 2010 18:32:56 +0000 (11:32 -0700)
commit67ca70bfd3dcb2b5fc9d318b0be6817188302dc3
tree829cd67571fd8d35242787b8a1bbf18c0f29f5ec
parentce2422000446eed0e4a6edf926df4fe93206508d
Windows: Return error for SetToken PIOCTL_LOGON if not LocalSystem

If the PIOCTL_LOGON flag is set and the user is not LocalSystem,
return Access Denied.

LICENSE MIT

Change-Id: I25f042353fb8b70aba4fb01ba1a5b204470416f5
Reviewed-on: http://gerrit.openafs.org/2568
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/smb_ioctl.c