def add_user(user)
      raise 'InvalidUser' unless user.respond_to?(:dn)
      direct_members = @raw_ldap_data[Cratus.config.group_member_attribute]
      return true if direct_members.include?(user.dn)

      direct_members << user.dn
      Cratus::LDAP.replace_attribute(
        dn,
        Cratus.config.group_member_attribute,
        direct_members.uniq
      )
    end
def add_user(user)
      raise 'InvalidUser' unless user.respond_to?(:dn)
      direct_members = @raw_ldap_data[Cratus.config.group_member_attribute]
      return true if direct_members.include?(user.dn)

      direct_members << user.dn
      Cratus::LDAP.replace_attribute(
        dn,
        Cratus.config.group_member_attribute,
        direct_members.uniq
      )
    end
Add a User to the group