/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
%/*
% * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
% */
%/*
% * from ads_priv.x
% * Active Directory Services (ADS) Private interface between
% * libads and the ADS deamon. (RPC over doors)
% */
#ifdef RPC_HDR
%/*
% * Declarations for the ADS API
% */
%
%/*
% * Server side stubs for the ADS API
% */
%
%
%/*
% * Client side stubs for the ADS API
% */
%
%/*
% * XDR routines for the ADS API
% */
#endif
const ADSPRIV_MAX_XFER = 16384;
const ADSPRIV_GUID_LEN = 16;
const ADSPRIV_SOCKADDR_LEN = 256;
const ADSPRIV_STR_MAX = 256;
/*
* Structure returned from DsGetDcName
* NB: Keep same as DOMAIN_CONTROLLER_INFO
*/
struct adspriv_dcinfo {
unsigned int dci_AddrType;
unsigned int dci_Flags;
};
/*
* DsForceRediscovery args
*/
struct DsForceRediscoveryArgs {
unsigned int Flags;
};
/*
* DsGetDcName args, result
*/
struct DsGetDcNameArgs {
unsigned int Flags;
};
union DsGetDcNameRes switch (int status) {
case 0:
default:
void;
};
void
ADSPRIV_NULL(void) = 0;
int
} = 1;
} = 100001;