Linux VDA: Unable to register to DDC "Exception:System.NullReferenceException"

Linux VDA: Unable to register to DDC "Exception:System.NullReferenceException"

book

Article ID: CTX328175

calendar_today

Updated On:

Description

[BrokerAgent] [Error] RegistrationManager.AttemptRegistrationWithSingleDdc: Failed to register with xxxx .. Citrix/CdsController/IRegistrar Exception:System.NullReferenceException, Object reference not set to an instance of an object.

 

Resolution

Make sure VDA IP PTR record matches the VDA host FQDN. 

or 

Create a VDA PTR name to VDA KRB5 REALM mapping in DDC using ksetup
 
ksetup /addhosttorealmmap fqdn-of-vda-from-IP-PTR  REALM-OF-LVDA

 

Problem Cause

  • DDC and LVDA were part of two different AD Domains.
  • PTR record of VDA IP was different from VDA host FQDN. 
  • Due to the above configurations DDC was not able to find KRB5 PRINCIPAL it built from the PTR record of VDA IP. 
  • DDC will get KDC_ERR_S_PRINCPAL_UNKNOWN error when it tries to connect to VDA for registration. 
  • This can be visible in Network traces collected in DDC. 

image.png

Additional Information

ksetup | Microsoft Docs