Skip to content

Commit

Permalink
Minor fix for GPO name matching
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Jan 5, 2023
1 parent c4f5db3 commit b63280c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/integrations/activedirectory/analyze/gpoimport.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func ImportGPOInfo(ginfo activedirectory.GPOdump, ao *engine.Objects) error {

// The account targeted
target, _ := ao.FindOrAdd(
engine.DownLevelLogonName, engine.AttributeValueString(e.Username),
engine.SAMAccountName, engine.AttributeValueString(e.Username),
)

// GPO exposes this object
Expand Down

0 comments on commit b63280c

Please sign in to comment.