You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn
Aaron Klotz 6e33d2da2b ipn/ipnauth, util/winutil: add temporary LookupPseudoUser workaround to address os/user.LookupId errors on Windows
I added util/winutil/LookupPseudoUser, which essentially consists of the bits
that I am in the process of adding to Go's standard library.

We check the provided SID for "S-1-5-x" where 17 <= x <= 20 (which are the
known pseudo-users) and then manually populate a os/user.User struct with
the correct information.

Fixes https://github.com/tailscale/tailscale/issues/869
Fixes https://github.com/tailscale/tailscale/issues/2894

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2 years ago
..
ipnauth ipn/ipnauth, util/winutil: add temporary LookupPseudoUser workaround to address os/user.LookupId errors on Windows 2 years ago
ipnlocal util/set: add new set package for SetHandle type 2 years ago
ipnserver cmd/tailscaled: unify the two Windows paths + separate IPN server path 2 years ago
ipnstate cmd/tailscale: add start of "debug derp" subcommand 2 years ago
localapi cmd/tailscale,ipn: improve UX of lock init command, cosmetic changes 2 years ago
policy ipn/policy: treat DNS service as interesting so it's not filtered out 3 years ago
store all: remove old +build tags 2 years ago
backend.go ipn: add a WatchIPNBus option bit to subscribe to EngineStatus changes 2 years ago
doc.go ipn: add WebServerConfig, add views 2 years ago
fake_test.go ipn/ipnlocal: add support for multiple user profiles 2 years ago
ipn_clone.go ipn: add ability to name profiles 2 years ago
ipn_view.go ipn: add ability to name profiles 2 years ago
message.go ipn/ipnserver: remove IPN protocol server 2 years ago
prefs.go ipn/*: make new WindowsUserID type to consolidate docs 2 years ago
prefs_test.go ipn: add ability to name profiles 2 years ago
serve.go cmd/tailscale/cli, ipn: move serve CLI funcs on to ServeConfig (#6401) 2 years ago
store.go cmd/tailscale/cli, ipn: move serve CLI funcs on to ServeConfig (#6401) 2 years ago