diff --git a/modules/integrations/activedirectory/rawobject.go b/modules/integrations/activedirectory/rawobject.go index b086ca7..d78df9b 100644 --- a/modules/integrations/activedirectory/rawobject.go +++ b/modules/integrations/activedirectory/rawobject.go @@ -135,9 +135,8 @@ func EncodeAttributeData(attribute engine.Attribute, values []string) engine.Att } case ObjectCategory: attributevalue = engine.AttributeValueString(value) - case ObjectSid: + case ObjectSid, SIDHistory: attributevalue = engine.AttributeValueSID(value) - fallthrough default: // Just use string encoding if intval, err := strconv.ParseInt(value, 10, 64); err == nil {