If AD is used as directory service then hue needs nt domain info to connect to. This config is getting used in hue already but is not provided via hue template currently as configurable parameter.
Cloudera source on nt domain: "The NT domain to connect to (only for use with Active Directory). This AD-specific property allows Hue to authenticate with AD without having to follow LDAP references to other partitions. This typically maps to the email address of the user or the user's ID in conjunction with the domain.If provided, Hue will use User Principal Names (UPNs) to bind to the LDAP service."