VCL-1095 - Move unjoining of Windows VMs from Active Directory to earlier in the deprovision process
addomain.php: modified validateResourceData: removed check for duplicate Domain DNS Name; ; this allows multiple accounts per domain_dns_name
diff --git a/web/.ht-inc/addomain.php b/web/.ht-inc/addomain.php
index a7259d5..ba38e23 100644
--- a/web/.ht-inc/addomain.php
+++ b/web/.ht-inc/addomain.php
@@ -519,10 +519,6 @@
$return['error'] = 1;
$errormsg[] = i("An AD domain already exists with this name.");
}
- elseif($this->checkExistingField('domainDNSName', $return['domaindnsname'], $return['rscid'])) {
- $return['error'] = 1;
- $errormsg[] = i("An AD domain already exists with this Domain DNS Name.");
- }
if(! validateUserid($return['owner'])) {
$return['error'] = 1;
$errormsg[] = i("Submitted owner is not valid");