Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef NT_LDAP_H
      7 #define NT_LDAP_H
      8 
      9 #ifdef __cplusplus
     10 extern "C" {
     11 #endif
     12 
     13 #define LDAP_SERVER_PERMISSIVE_MODIFY_OID "1.2.840.113556.1.4.1413"
     14 #define LDAP_SERVER_PERMISSIVE_MODIFY_OID_W L"1.2.840.113556.1.4.1413"
     15 
     16 #define LDAP_SERVER_SHOW_DELETED_OID "1.2.840.113556.1.4.417"
     17 #define LDAP_SERVER_SHOW_DELETED_OID_W L"1.2.840.113556.1.4.417"
     18 
     19 #define LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID "1.2.840.113556.1.4.521"
     20 #define LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID_W L"1.2.840.113556.1.4.521"
     21 
     22 #define LDAP_SERVER_NOTIFICATION_OID "1.2.840.113556.1.4.528"
     23 #define LDAP_SERVER_NOTIFICATION_OID_W L"1.2.840.113556.1.4.528"
     24 
     25 #define LDAP_SERVER_SHUTDOWN_NOTIFY_OID "1.2.840.113556.1.4.1907"
     26 #define LDAP_SERVER_SHUTDOWN_NOTIFY_OID_W L"1.2.840.113556.1.4.1907"
     27 
     28 #define LDAP_SERVER_LAZY_COMMIT_OID "1.2.840.113556.1.4.619"
     29 #define LDAP_SERVER_LAZY_COMMIT_OID_W L"1.2.840.113556.1.4.619"
     30 
     31 #define LDAP_SERVER_SD_FLAGS_OID "1.2.840.113556.1.4.801"
     32 #define LDAP_SERVER_SD_FLAGS_OID_W L"1.2.840.113556.1.4.801"
     33 
     34 #define LDAP_SERVER_TREE_DELETE_OID "1.2.840.113556.1.4.805"
     35 #define LDAP_SERVER_TREE_DELETE_OID_W L"1.2.840.113556.1.4.805"
     36 
     37 #define LDAP_SERVER_ASQ_OID "1.2.840.113556.1.4.1504"
     38 #define LDAP_SERVER_ASQ_OID_W L"1.2.840.113556.1.4.1504"
     39 
     40 #define LDAP_SERVER_DIRSYNC_OID "1.2.840.113556.1.4.841"
     41 #define LDAP_SERVER_DIRSYNC_OID_W L"1.2.840.113556.1.4.841"
     42 
     43 #define LDAP_SERVER_EXTENDED_DN_OID "1.2.840.113556.1.4.529"
     44 #define LDAP_SERVER_EXTENDED_DN_OID_W L"1.2.840.113556.1.4.529"
     45 
     46 #define LDAP_SERVER_VERIFY_NAME_OID "1.2.840.113556.1.4.1338"
     47 #define LDAP_SERVER_VERIFY_NAME_OID_W L"1.2.840.113556.1.4.1338"
     48 
     49 #define LDAP_SERVER_DOMAIN_SCOPE_OID "1.2.840.113556.1.4.1339"
     50 #define LDAP_SERVER_DOMAIN_SCOPE_OID_W L"1.2.840.113556.1.4.1339"
     51 
     52 #define LDAP_SERVER_SEARCH_OPTIONS_OID "1.2.840.113556.1.4.1340"
     53 #define LDAP_SERVER_SEARCH_OPTIONS_OID_W L"1.2.840.113556.1.4.1340"
     54 
     55 #define SERVER_SEARCH_FLAG_DOMAIN_SCOPE 0x1
     56 #define SERVER_SEARCH_FLAG_PHANTOM_ROOT 0x2
     57 
     58 #define LDAP_SERVER_QUOTA_CONTROL_OID "1.2.840.113556.1.4.1852"
     59 #define LDAP_SERVER_QUOTA_CONTROL_OID_W L"1.2.840.113556.1.4.1852"
     60 
     61 #define LDAP_OPATT_BECOME_DOM_MASTER "becomeDomainMaster"
     62 #define LDAP_OPATT_BECOME_DOM_MASTER_W L"becomeDomainMaster"
     63 
     64 #define LDAP_OPATT_BECOME_RID_MASTER "becomeRidMaster"
     65 #define LDAP_OPATT_BECOME_RID_MASTER_W L"becomeRidMaster"
     66 
     67 #define LDAP_OPATT_BECOME_SCHEMA_MASTER "becomeSchemaMaster"
     68 #define LDAP_OPATT_BECOME_SCHEMA_MASTER_W L"becomeSchemaMaster"
     69 
     70 #define LDAP_OPATT_RECALC_HIERARCHY "recalcHierarchy"
     71 #define LDAP_OPATT_RECALC_HIERARCHY_W L"recalcHierarchy"
     72 
     73 #define LDAP_OPATT_SCHEMA_UPDATE_NOW "schemaUpdateNow"
     74 #define LDAP_OPATT_SCHEMA_UPDATE_NOW_W L"schemaUpdateNow"
     75 
     76 #define LDAP_OPATT_BECOME_PDC "becomePdc"
     77 #define LDAP_OPATT_BECOME_PDC_W L"becomePdc"
     78 
     79 #define LDAP_OPATT_FIXUP_INHERITANCE "fixupInheritance"
     80 #define LDAP_OPATT_FIXUP_INHERITANCE_W L"fixupInheritance"
     81 
     82 #define LDAP_OPATT_INVALIDATE_RID_POOL "invalidateRidPool"
     83 #define LDAP_OPATT_INVALIDATE_RID_POOL_W L"invalidateRidPool"
     84 
     85 #define LDAP_OPATT_ABANDON_REPL "abandonReplication"
     86 #define LDAP_OPATT_ABANDON_REPL_W L"abandonReplication"
     87 
     88 #define LDAP_OPATT_DO_GARBAGE_COLLECTION "doGarbageCollection"
     89 #define LDAP_OPATT_DO_GARBAGE_COLLECTION_W L"doGarbageCollection"
     90 
     91 #define LDAP_OPATT_SUBSCHEMA_SUBENTRY "subschemaSubentry"
     92 #define LDAP_OPATT_SUBSCHEMA_SUBENTRY_W L"subschemaSubentry"
     93 
     94 #define LDAP_OPATT_CURRENT_TIME "currentTime"
     95 #define LDAP_OPATT_CURRENT_TIME_W L"currentTime"
     96 
     97 #define LDAP_OPATT_SERVER_NAME "serverName"
     98 #define LDAP_OPATT_SERVER_NAME_W L"serverName"
     99 
    100 #define LDAP_OPATT_NAMING_CONTEXTS "namingContexts"
    101 #define LDAP_OPATT_NAMING_CONTEXTS_W L"namingContexts"
    102 
    103 #define LDAP_OPATT_DEFAULT_NAMING_CONTEXT "defaultNamingContext"
    104 #define LDAP_OPATT_DEFAULT_NAMING_CONTEXT_W L"defaultNamingContext"
    105 
    106 #define LDAP_OPATT_SUPPORTED_CONTROL "supportedControl"
    107 #define LDAP_OPATT_SUPPORTED_CONTROL_W L"supportedControl"
    108 
    109 #define LDAP_OPATT_HIGHEST_COMMITTED_USN "highestCommitedUSN"
    110 #define LDAP_OPATT_HIGHEST_COMMITTED_USN_W L"highestCommitedUSN"
    111 
    112 #define LDAP_OPATT_SUPPORTED_LDAP_VERSION "supportedLDAPVersion"
    113 #define LDAP_OPATT_SUPPORTED_LDAP_VERSION_W L"supportedLDAPVersion"
    114 
    115 #define LDAP_OPATT_SUPPORTED_LDAP_POLICIES "supportedLDAPPolicies"
    116 #define LDAP_OPATT_SUPPORTED_LDAP_POLICIES_W L"supportedLDAPPolicies"
    117 
    118 #define LDAP_OPATT_SCHEMA_NAMING_CONTEXT "schemaNamingContext"
    119 #define LDAP_OPATT_SCHEMA_NAMING_CONTEXT_W L"schemaNamingContext"
    120 
    121 #define LDAP_OPATT_CONFIG_NAMING_CONTEXT "configurationNamingContext"
    122 #define LDAP_OPATT_CONFIG_NAMING_CONTEXT_W L"configurationNamingContext"
    123 
    124 #define LDAP_OPATT_ROOT_DOMAIN_NAMING_CONTEXT "rootDomainNamingContext"
    125 #define LDAP_OPATT_ROOT_DOMAIN_NAMING_CONTEXT_W L"rootDomainNamingContext"
    126 
    127 #define LDAP_OPATT_SUPPORTED_SASL_MECHANISM "supportedSASLMechanisms"
    128 #define LDAP_OPATT_SUPPORTED_SASL_MECHANISM_W L"supportedSASLMechanisms"
    129 
    130 #define LDAP_OPATT_DNS_HOST_NAME "dnsHostName"
    131 #define LDAP_OPATT_DNS_HOST_NAME_W L"dnsHostName"
    132 
    133 #define LDAP_OPATT_LDAP_SERVICE_NAME "ldapServiceName"
    134 #define LDAP_OPATT_LDAP_SERVICE_NAME_W L"ldapServiceName"
    135 
    136 #define LDAP_OPATT_DS_SERVICE_NAME "dsServiceName"
    137 #define LDAP_OPATT_DS_SERVICE_NAME_W L"dsServiceName"
    138 
    139 #define LDAP_OPATT_SUPPORTED_CAPABILITIES "supportedCapabilities"
    140 #define LDAP_OPATT_SUPPORTED_CAPABILITIES_W L"supportedCapabilities"
    141 
    142 #define LDAP_CAP_ACTIVE_DIRECTORY_OID "1.2.840.113556.1.4.800"
    143 #define LDAP_CAP_ACTIVE_DIRECTORY_OID_W L"1.2.840.113556.1.4.800"
    144 
    145 #define LDAP_CAP_ACTIVE_DIRECTORY_V51_OID "1.2.840.113556.1.4.1670"
    146 #define LDAP_CAP_ACTIVE_DIRECTORY_V51_OID_W L"1.2.840.113556.1.4.1670"
    147 
    148 #define LDAP_CAP_ACTIVE_DIRECTORY_LDAP_INTEG_OID "1.2.840.113556.1.4.1791"
    149 #define LDAP_CAP_ACTIVE_DIRECTORY_LDAP_INTEG_OID_W L"1.2.840.113556.1.4.1791"
    150 
    151 #define LDAP_CAP_ACTIVE_DIRECTORY_ADAM_OID "1.2.840.113556.1.4.1851"
    152 #define LDAP_CAP_ACTIVE_DIRECTORY_ADAM_OID_W L"1.2.840.113556.1.4.1851"
    153 
    154 #define LDAP_MATCHING_RULE_BIT_AND "1.2.840.113556.1.4.803"
    155 #define LDAP_MATCHING_RULE_BIT_AND_W L"1.2.840.113556.1.4.803"
    156 
    157 #define LDAP_MATCHING_RULE_BIT_OR "1.2.840.113556.1.4.804"
    158 #define LDAP_MATCHING_RULE_BIT_OR_W L"1.2.840.113556.1.4.804"
    159 
    160 #define LDAP_SERVER_FAST_BIND_OID "1.2.840.113556.1.4.1781"
    161 #define LDAP_SERVER_FAST_BIND_OID_W L"1.2.840.113556.1.4.1781"
    162 
    163 #define LDAP_DIRSYNC_OBJECT_SECURITY (0x1)
    164 #define LDAP_DIRSYNC_ANCESTORS_FIRST_ORDER (0x0800)
    165 #define LDAP_DIRSYNC_PUBLIC_DATA_ONLY (0x2000)
    166 #define LDAP_DIRSYNC_INCREMENTAL_VALUES (0x80000000)
    167 
    168 #ifdef __cplusplus
    169 }
    170 #endif
    171 #endif
    172