You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: manifests/install.pp
+24-8Lines changed: 24 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,32 @@
5
5
when => refreshed
6
6
}
7
7
8
-
dsc_xcredssp{ 'Server':
9
-
dsc_ensure => 'Present',
10
-
dsc_role => 'Server',
11
-
notify => Reboot['after_run']
8
+
#Implemented a GPO check to prevent an endless reboot loop when CredSSP is configured via a GPO
9
+
if (!$credsspservicegpo) {
10
+
dsc_xcredssp{ 'Server':
11
+
dsc_ensure => 'Present',
12
+
dsc_role => 'Server',
13
+
notify => Reboot['after_run']
14
+
}
15
+
}
16
+
else {
17
+
notify { 'CredSSPServic#Implemented a GPO check to prevent an endless reboot loop when CredSSP is configured via a GPOeAlreadyConfigured':
18
+
message => 'CredSSP already configured by GPO. Unauthorized to overide GPO configuration. Please check that CredSSP service is allowed on this Computer.'
19
+
}
12
20
}
13
21
14
-
dsc_xcredssp{ 'Client':
15
-
dsc_ensure => 'Present',
16
-
dsc_role => 'Client',
17
-
dsc_delegatecomputers => '*'
22
+
#Implemented a GPO check to prevent an endless reboot loop when CredSSP is configured via a GPO
23
+
if (!$credsspclientgpo) {
24
+
dsc_xcredssp{ 'Client':
25
+
dsc_ensure => 'Present',
26
+
dsc_role => 'Client',
27
+
dsc_delegatecomputers => '*'
28
+
}
29
+
}
30
+
else {
31
+
notify { 'CredSSPClientAlreadyConfigured':
32
+
message => 'CredSSP already configured by GPO. Unauthorized to overide GPO configuration. Please check that CredSSP client is allowed on this Computer.'
33
+
}
18
34
}
19
35
20
36
#Ensure IIS is not installed on the system to avoid conflicts with Broker Service
0 commit comments