KERB_BINDING_CACHE_ENTRY_DATA structure (ntsecapi.h)

Specifies the data for the binding cache entry. You must have the SeTcbPrivilege privilege set.

Syntax

typedef struct _KERB_BINDING_CACHE_ENTRY_DATA {
  ULONG64        DiscoveryTime;
  UNICODE_STRING RealmName;
  UNICODE_STRING KdcAddress;
  ULONG          AddressType;
  ULONG          Flags;
  ULONG          DcFlags;
  ULONG          CacheFlags;
  UNICODE_STRING KdcName;
} KERB_BINDING_CACHE_ENTRY_DATA, *PKERB_BINDING_CACHE_ENTRY_DATA;

Members

DiscoveryTime

The time elapsed to find the domain controller to bind to.

RealmName

The name of the realm for which to obtain a binding handle.

KdcAddress

The address of the Key Distribution Center (KDC) of the server to which you want to bind.

AddressType

The type of string that is contained in the KdcAddress member. This can be one of the following values.

Value Meaning
DS_INET_ADDRESS
The address is a string IP address of the domain controller, for example, "\\157.55.94.74").
DS_NETBIOS_ADDRESS
The address is a NetBIOS name of the domain controller, for example, "\\phoenix".

Flags

The domain controller flags that the caller provides. These flags are needed to pass to the DsGetDcName function.

DcFlags

The domain controller flags. These flags are returned from the DsGetDcName function.

CacheFlags

Flags that provide more information about the binding cache.

Value Meaning
KERB_NO_DC_FLAGS
0x10000000
No flags are found for the binding cache.

KdcName

UNICODE_STRING that specifies the name of the KDC.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header ntsecapi.h