Skip to content

Commit 89e39ae

Browse files
author
Bob Pokorny
committed
Fixed an error for OSKG jobs that contained no bindings.
1 parent 90213e5 commit 89e39ae

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
2.6.3
2-
* Fixed reenrollment or ODKG job when RDN Components contained escaped commas.
2+
* Fixed re-enrollment or ODKG job when RDN Components contained escaped commas.
33
* Updated renewal job for IIS Certs to delete the old cert if not bound or used by other web sites.
44
* Improved Inventory reporting of CSP when cert uses newer CNG Keys.
55
* Fixed an issue with complex PFX passwords that contained special characters such as '@' or '$', etc.
66
* Fixed an issue when adding certificate to store, sometimes the wrong thumbprint was returned, thus breaking web site binding.
77
* Removed the IIS bindings check. Now bindings are handled similar to IIS - if you bind a cert to a site using the same bindings, you risk the possibility of one of the duplicate sites to stop working and the certificate being bound to either site. Refer to IIS Documentation pertaining to HTTPS binding.
8-
* Fixed an issue with (remote) ODKG jobs that caused an error when the CSP was not specified.
8+
* Fixed an issue with (remote) ODKG jobs that caused an error when the CSP was not specified that included bindings.
9+
* Fixed an issue with (remote) ODKG jobs that caused an error when the CSP was not specified that did not require binding.
910

1011
2.6.2
1112
* Fixed error when attempting to connect to remote computer using UO service account

IISU/ClientPSCertStoreReEnrollment.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,17 @@ public JobResult PerformReEnrollment(ReenrollmentJobConfiguration config, Submit
208208
FailureMessage = ""
209209
};
210210

211+
break;
212+
213+
case CertStoreBindingTypeENUM.None:
214+
215+
jobResult = new JobResult
216+
{
217+
Result = OrchestratorJobStatusJobResult.Success,
218+
JobHistoryId = config.JobHistoryId,
219+
FailureMessage = ""
220+
};
221+
211222
break;
212223
}
213224
}

IISU/ImplementedStoreTypes/Win/Inventory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public JobResult ProcessJob(InventoryJobConfiguration jobConfiguration, SubmitIn
9393
{
9494
Result = OrchestratorJobStatusJobResult.Success,
9595
JobHistoryId = jobConfiguration.JobHistoryId,
96-
FailureMessage = ""
96+
FailureMessage = $"Inventory completed returning {inventoryItems.Count} Items."
9797
};
9898
}
9999

IISU/ImplementedStoreTypes/WinSQL/Inventory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public JobResult ProcessJob(InventoryJobConfiguration jobConfiguration, SubmitIn
9393
{
9494
Result = OrchestratorJobStatusJobResult.Success,
9595
JobHistoryId = jobConfiguration.JobHistoryId,
96-
FailureMessage = ""
96+
FailureMessage = $"Inventory completed returning {inventoryItems.Count} Items."
9797
};
9898
}
9999

0 commit comments

Comments
 (0)