go/doc/next/6-stdlib/99-minor
qmuntal 60d66e6a86 os/user: support built-in service user accounts on Windows
Built-in service user accounts should be treated as special cases
of well-known groups and allowed in user.Lookup and user.LookupId.

Namely, these accounts are:
- NT AUTHORITY\SYSTEM (S-1-5-18)
- NT AUTHORITY\LOCAL SERVICE (S-1-5-19)
- NT AUTHORITY\NETWORK SERVICE (S-1-5-20)

See https://learn.microsoft.com/en-us/windows/win32/services/service-user-accounts.

Note that #49509 also mentions S-1-5-17 (NT AUTHORITY\IUSR) as
another well-known group that should be treated as a user. I haven't
found any documentation supporting this claim, and it is not an account
that is used usually, so I'm not adding it for now.

This CL is heavily based on CL 452497.

Fixes #49509

Change-Id: I6e204ddfb4ed0c01b4503001cf284602531e4a88
Reviewed-on: https://go-review.googlesource.com/c/go/+/626255
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
2024-11-15 16:10:50 +00:00
..
archive archive/{zip,tar}: fix Writer.AddFS to include empty directories 2024-09-23 14:32:33 +00:00
bytes bytes, strings: add Lines, SplitSeq, SplitAfterSeq, FieldsSeq, FieldsFuncSeq 2024-08-14 18:23:13 +00:00
crypto crypto/x509,math/rand/v2: implement the encoding.(Binary|Text)Appender 2024-08-21 19:19:57 +00:00
debug/elf debug/elf: add SHT_GNU_VERDEF section parsing 2024-11-07 15:23:24 +00:00
encoding encoding/json: add omitzero option 2024-10-02 14:22:27 +00:00
go/types go/types: add go1.23 iterator methods for 10 exported types 2024-07-31 22:54:09 +00:00
hash hash/maphash: add WriteComparable and Comparable 2024-10-02 15:54:11 +00:00
log/slog log/slog: add DiscardHandler 2024-11-14 22:27:09 +00:00
math crypto/x509,math/rand/v2: implement the encoding.(Binary|Text)Appender 2024-08-21 19:19:57 +00:00
net net/http: add Protocols field to Server and Transport 2024-11-05 22:14:59 +00:00
os/user os/user: support built-in service user accounts on Windows 2024-11-15 16:10:50 +00:00
regexp math/big,regexp: implement the encoding.TextAppender interface 2024-08-15 23:43:00 +00:00
runtime runtime: deprecate GOROOT 2024-08-20 22:49:59 +00:00
strings bytes, strings: add Lines, SplitSeq, SplitAfterSeq, FieldsSeq, FieldsFuncSeq 2024-08-14 18:23:13 +00:00
testing testing: implement testing.B.Loop 2024-09-20 19:09:41 +00:00
text/template text/template: support range-over-int 2024-09-26 20:17:24 +00:00
time time: implement the encoding.(Binary|Text)Appender for Time 2024-08-20 16:48:48 +00:00
0-heading.md doc: initialize next directory for Go 1.24 2024-07-22 17:55:04 +00:00
README doc: initialize next directory for Go 1.24 2024-07-22 17:55:04 +00:00

README

API changes and other small changes to the standard library go here.