Skip to content

Bug: ADIDNS doesn't work for the System partition. #29

@haim-n

Description

@haim-n

Hi,

The ADIDNS functionality is absolutely awesome and works great when the DNS zone is stored under DomainDNSZones.
But it doesn't work when the zone is in the System partition.
Some of the functions just don't have 'System' under the the ValidateSet array:

[parameter(Mandatory=$false)][ValidateSet("DomainDNSZones","ForestDNSZones")][String]$Partition = "DomainDNSZones",

But even after fixing it, I still received the following error, and the DNS node was not created:

WARNING: [!] [2021-06-02T10:18:48] Exception calling "SendRequest" with "1" argument(s): "The object does not exist."
$connection.SendRequest($request) > $null

In Powermad, the system partition functionality works correctly.

Many thanks and kudos for these amazing tools (and for the research of ADIDNS risks)!
Haim.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions