from samba.dcerpc import security
from samba.dsdb import DS_GUID_MANAGED_SERVICE_ACCOUNTS_CONTAINER
+from .computer import Computer
from .exceptions import FieldError
from .fields import BinaryField, EnumField, IntegerField, SDDLField, StringField
from .types import SupportedEncryptionTypes
-from .user import User
-class GroupManagedServiceAccount(User):
- """A GroupManagedServiceAccount is a type of User with additional fields."""
+class GroupManagedServiceAccount(Computer):
+ """A GroupManagedServiceAccount is a type of Computer which is also a User."""
managed_password_interval = IntegerField("msDS-ManagedPasswordInterval")
dns_host_name = StringField("dNSHostName")
group_msa_membership = SDDLField("msDS-GroupMSAMembership",