libwbclient: add trust routing and more trust-types
authorRalph Boehme <slow@samba.org>
Tue, 19 Dec 2017 16:26:46 +0000 (17:26 +0100)
committerKarolin Seeger <kseeger@samba.org>
Sat, 13 Jan 2018 11:55:08 +0000 (12:55 +0100)
This adds the struct member and the defines, the implementation comes
later.

Signed-off-by: Ralph Boehme <slow@samba.org>
nsswitch/libwbclient/wbclient.h

index ed97a673739acbc56be33624bab39374ec7335cc..81a6a6a069be144d9ed19acd3e15b16cfeacee99 100644 (file)
@@ -187,6 +187,7 @@ struct wbcDomainInfo {
        uint32_t domain_flags;
        uint32_t trust_flags;
        uint32_t trust_type;
+       char *trust_routing;
 };
 
 /* wbcDomainInfo->domain_flags */
@@ -209,6 +210,12 @@ struct wbcDomainInfo {
 #define WBC_DOMINFO_TRUSTTYPE_FOREST     0x00000001
 #define WBC_DOMINFO_TRUSTTYPE_IN_FOREST  0x00000002
 #define WBC_DOMINFO_TRUSTTYPE_EXTERNAL   0x00000003
+#define WBC_DOMINFO_TRUSTTYPE_LOCAL      0x00000004
+#define WBC_DOMINFO_TRUSTTYPE_WKSTA      0x00000005
+#define WBC_DOMINFO_TRUSTTYPE_RWDC       0x00000006
+#define WBC_DOMINFO_TRUSTTYPE_RODC       0x00000007
+#define WBC_DOMINFO_TRUSTTYPE_PDC        0x00000008
+
 
 /**
  * @brief Generic Blob