diff options
Diffstat (limited to 'source4/libnet/libnet_vampire.h')
-rw-r--r-- | source4/libnet/libnet_vampire.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/source4/libnet/libnet_vampire.h b/source4/libnet/libnet_vampire.h index 22ac1606bd..4777f51b0b 100644 --- a/source4/libnet/libnet_vampire.h +++ b/source4/libnet/libnet_vampire.h @@ -21,6 +21,30 @@ #include "librpc/gen_ndr/ndr_netlogon.h" /* struct and enum for doing a remote domain join */ +enum libnet_SamSync_level { + LIBNET_SAMSYNC_GENERIC, + LIBNET_SAMSYNC_NETLOGON, +}; + +union libnet_SamSync { + struct { + enum libnet_SamSync_level level; + char *error_string; + } generic; + + struct { + enum libnet_SamSync_level level; + NTSTATUS (*delta_fn)(TALLOC_CTX *mem_ctx, + void *private, + struct creds_CredentialState *creds, + enum netr_SamDatabaseID database, + struct netr_DELTA_ENUM *delta, + char **error_string); + void *fn_ctx; + char *error_string; + } netlogon; +}; + enum libnet_SamDump_level { LIBNET_SAMDUMP_GENERIC, LIBNET_SAMDUMP_NETLOGON, |