Skip to content
516 changes: 516 additions & 0 deletions ad_integration_test.go

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@ func (b *backend) loadManagedUsers(ctx context.Context, s logical.Storage) (map[

// Add the static role user to the managed user set
b.managedUsers[role.StaticAccount.Username] = struct{}{}

// Track the second account username for dual-account roles
if role.StaticAccount.DualAccountMode && role.StaticAccount.UsernameB != "" {
b.managedUsers[role.StaticAccount.UsernameB] = struct{}{}
}
}

// Load users managed under library sets
Expand Down
Loading
Loading