/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Copyright 2014 Nexenta Systems, Inc. All rights reserved.
*/
/*
***********************************************************************
*
* NetLogon RPC (NETR) interface definition.
*
***********************************************************************
*/
#include "ndrtypes.ndl"
/*
* This is not a real NETR OPNUM. It's used to unpack the
* struct krb5_validation_info found in the Kerberos PAC.
*/
};
};
/*
* Alternative varying/conformant string definition - for
* non-null terminated strings. This definition must match
* ndr_vcbuf_t.
*/
/*
* size_is (actually a copy of length_is) will
* be inserted here by the marshalling library.
*/
};
};
/*
* size_is (actually a copy of length_is) will
* be inserted here by the marshalling library.
*/
};
};
};
};
};
};
};
/*
* NL_TRUST_PASSWORD
* See also: samr_user_password
*/
};
};
/*
***********************************************************************
* ServerReqChallenge
***********************************************************************
*/
ALIGN(2)
};
/*
***********************************************************************
* ServerAuthenticate2
***********************************************************************
*/
ALIGN(2)
};
/*
***********************************************************************
* ServerPasswordSet
***********************************************************************
*/
ALIGN(2)
};
};
/*
***********************************************************************
* SamLogon
***********************************************************************
*/
/*
* The challenge-response data should always be 24 bytes.
*/
};
/*
* Input data
*/
};
/*
* Level 1: interactive logon
*/
};
/*
* Level 2: network logon.
*/
};
};
};
/*
* Output data
*/
};
};
};
/* NETR_OPNUM_decode_krb5_pac */
/* Kerberos PAC "resource group" stuff. */
};
};
/*
* This structure needs to be declared, even though it can't be used
* in netr_SamLogon, in order to get the appropriate size to calculate
* the correct fixup offsets. If ndrgen did the right thing,
* netr_validation_info would be one of the out parameters. However,
* if we do it that way, the switch_value isn't known early enough to
* do the fixup calculation. So it all has to go in netr_SamLogon.
*/
};
/*
* WARNING
*
* Validation_level is really a WORD and authoritative is really a
* BYTE. They are declared as DWORD here due to the way things are
* unmarshalled. NT does not clear out the unused bytes in the
* DWORD so they must be cast to get the correct value.
*/
};
/*
***********************************************************************
* SamLogoff
***********************************************************************
*/
};
/*
***********************************************************************
* The NETR interface definition.
***********************************************************************
*/
INTERFACE(0)
/* Special, for smb_decode_krb5_pac() */
};
#endif /* _MLSVC_NETR_NDL_ */