diff options
Diffstat (limited to 'src/os/user/lookup_windows.go')
-rw-r--r-- | src/os/user/lookup_windows.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os/user/lookup_windows.go b/src/os/user/lookup_windows.go index e64b8ae028..a48fc89720 100644 --- a/src/os/user/lookup_windows.go +++ b/src/os/user/lookup_windows.go @@ -116,7 +116,7 @@ func lookupGroupName(groupname string) (string, error) { if e != nil { return "", e } - // https://msdn.microsoft.com/en-us/library/cc245478.aspx#gt_0387e636-5654-4910-9519-1f8326cf5ec0 + // https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-samr/7b2aeb27-92fc-41f6-8437-deb65d950921#gt_0387e636-5654-4910-9519-1f8326cf5ec0 // SidTypeAlias should also be treated as a group type next to SidTypeGroup // and SidTypeWellKnownGroup: // "alias object -> resource group: A group object..." @@ -145,7 +145,7 @@ func listGroupsForUsernameAndDomain(username, domain string) ([]string, error) { } var p0 *byte var entriesRead, totalEntries uint32 - // https://msdn.microsoft.com/en-us/library/windows/desktop/aa370655(v=vs.85).aspx + // https://learn.microsoft.com/en-us/windows/win32/api/lmaccess/nf-lmaccess-netusergetlocalgroups // NetUserGetLocalGroups() would return a list of LocalGroupUserInfo0 // elements which hold the names of local groups where the user participates. // The list does not follow any sorting order. @@ -255,7 +255,7 @@ func lookupUserPrimaryGroup(username, domain string) (string, error) { // // The correct way to obtain the primary group of a domain user is // probing the user primaryGroupID attribute in the server Active Directory: - // https://msdn.microsoft.com/en-us/library/ms679375(v=vs.85).aspx + // https://learn.microsoft.com/en-us/windows/win32/adschema/a-primarygroupid // // Note that the primary group of domain users should not be modified // on Windows for performance reasons, even if it's possible to do that. |