Orange-Cyberdefense / GOAD

game of active directory
GNU General Public License v3.0
5.44k stars 753 forks source link

Fix typo in ad/GOAD/scripts /constrained_delegation_kerb_only.ps1 #289

Closed theiosif closed 4 weeks ago

theiosif commented 4 weeks ago

Ansible role failed with the following error:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None
fatal: [dc02]: FAILED! => {"changed": true, "msg": "non-zero return code", "rc": 1, "stderr": "Cannot find an object with identity: 'castelblack$' under: 'DC=north,DC=sevenkingdoms,DC=local'.At C:\\Users\\vagrant\\AppData\\Local\\Temp\\ansible-tmp-1729774278.2965558-178710-193514916936457\\constrained_delegation_kerb_only.ps1:2 char:1+ Set-ADComputer -Identity \"castelblack$\" -ServicePrincipalNames @{Add= ...+ 

Fixed the typo and installation continued gracefully.

Mayfly277 commented 4 weeks ago

thanks, i reverted the change of castelblack to castleblack because it impact blog post and all. i will certainly change that later but for now it is postponed.