* security.cc (create_token): Fix condition for source identifier.
This commit is contained in:
parent
0d94042d8f
commit
208e95c2f2
|
@ -1,3 +1,7 @@
|
|||
2006-10-12 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* security.cc (create_token): Fix condition for source identifier.
|
||||
|
||||
2006-10-11 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* select.cc (struct socketinf): Convert ser_num and w4 to dynamically
|
||||
|
|
|
@ -839,7 +839,8 @@ create_token (cygsid &usersid, user_groups &new_groups, struct passwd *pw,
|
|||
TOKEN_STATISTICS stats;
|
||||
memcpy (source.SourceName, "Cygwin.1", 8);
|
||||
source.SourceIdentifier.HighPart = 0;
|
||||
source.SourceIdentifier.LowPart = (subauth_token ? 0x0102 : 0x0101);
|
||||
source.SourceIdentifier.LowPart = (subauth_token != INVALID_HANDLE_VALUE
|
||||
? 0x0102 : 0x0101);
|
||||
|
||||
HANDLE token = INVALID_HANDLE_VALUE;
|
||||
HANDLE primary_token = INVALID_HANDLE_VALUE;
|
||||
|
|
Loading…
Reference in New Issue