Skip to content

Commit 48ad8e0

Browse files
committed
Fixing syntax issue with KCD comment
1 parent a5cda21 commit 48ad8e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

provision/03_populate_AD.ps1

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ Add-DnsServerResourceRecord -ZoneName lab.local -A -Name www -IPv4Address $IISIP
3939
# Netscaler KCD service account
4040
# Note: the account's SPN is not meaningful, it just allows us to activate delegation
4141
Write-Host "Creating Netscaler Account..."
42+
# 'ServicePrincipalNames' must be set for KCD to work
4243
$User = New-ADUser -Name "Netscaler Service Account" `
4344
-SamAccountName ns_svc -UserPrincipalName ns_svc@lab.local `
4445
-AccountPassword (convertto-securestring "Passw0rd" -asplaintext -force) `
45-
-ServicePrincipalNames host/nsdbg ` # Must be set for KCD to work
46+
-ServicePrincipalNames host/nsdbg `
4647
-PasswordNeverExpires $True `
4748
-PassThru
4849

0 commit comments

Comments
 (0)