Skip to content

Commit

Permalink
Fix CD/CY constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Hunter Ross committed Nov 29, 2024
1 parent 55f49cc commit 38d734e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func sidToSDDLAlias(sid string) string {
return "ER"
} else if strings.HasPrefix(sid, "S-1-5-21-") && strings.HasSuffix(sid, "498") {
return "RO"
} else if sid == "S-1-5-32-569" {
} else if sid == "S-1-5-32-562" {
return "CD"
} else if sid == "S-1-15-2-1" {
return "AC"
Expand Down Expand Up @@ -511,7 +511,7 @@ func sddlAliasToSID(alias, domainIdentity, machineIdentity string) (string, erro
} else if alias == "RO" {
return "S-1-5-21-" + domainIdentity + "-498", nil
} else if alias == "CD" {
return "S-1-5-32-569", nil
return "S-1-5-32-562", nil
} else if alias == "AC" {
return "S-1-15-2-1", nil
} else if alias == "RA" {
Expand Down

0 comments on commit 38d734e

Please sign in to comment.