diff options
Diffstat (limited to 'usr/src/uts/common/smbsrv/ndl/netlogon.ndl')
| -rw-r--r-- | usr/src/uts/common/smbsrv/ndl/netlogon.ndl | 45 |
1 files changed, 39 insertions, 6 deletions
diff --git a/usr/src/uts/common/smbsrv/ndl/netlogon.ndl b/usr/src/uts/common/smbsrv/ndl/netlogon.ndl index 561928440f..de6c19049b 100644 --- a/usr/src/uts/common/smbsrv/ndl/netlogon.ndl +++ b/usr/src/uts/common/smbsrv/ndl/netlogon.ndl @@ -21,6 +21,7 @@ /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2012 Nexenta Systems, Inc. All rights reserved. */ #ifndef _MLSVC_NETR_NDL_ @@ -57,6 +58,17 @@ #define NETR_OPNUM_DatabaseRedo 0x11 #define NETR_OPNUM_LogonControl2Ex 0x12 #define NETR_OPNUM_TrustDomainList 0x13 +#define NETR_OPNUM_DsrGetDcName 0x14 +#define NETR_OPNUM_LogonGetCapabilities 0x15 +#define NETR_OPNUM_LogonSetServiceBits 0x16 +#define NETR_OPNUM_LogonGetTrustRid 0x17 +#define NETR_OPNUM_LogonComputeServerDigest 0x18 +#define NETR_OPNUM_LogonComputeClientDigest 0x19 +#define NETR_OPNUM_ServerAuthenticate3 0x1A +#define NETR_OPNUM_DsrGetDcNameEx 0x1B +#define NETR_OPNUM_DsrGetSiteName 0x1C +#define NETR_OPNUM_LogonGetDomainInfo 0x1D +#define NETR_OPNUM_ServerPasswordSet2 0x1E struct netr_sid { @@ -134,17 +146,25 @@ struct OLD_LARGE_INTEGER { }; typedef struct OLD_LARGE_INTEGER netr_int64_t; +struct CYPHER_BLOCK { + BYTE data[8]; +}; struct OWF_PASSWORD { BYTE data[16]; }; typedef struct OWF_PASSWORD netr_owf_password_t; - -struct CYPHER_BLOCK { - BYTE data[8]; +/* + * NL_TRUST_PASSWORD + * See also: samr_user_password + */ +#define NETR_TRUST_PWLEN 256 +struct netr_trust_password { + WORD Buffer[NETR_TRUST_PWLEN]; + DWORD Length; }; - +typedef struct netr_trust_password netr_trust_password_t; struct USER_SESSION_KEY { struct CYPHER_BLOCK data[2]; @@ -198,10 +218,21 @@ OPERATION(NETR_OPNUM_ServerPasswordSet) struct netr_PasswordSet { IN LPTSTR servername; IN REFERENCE LPTSTR account_name; - IN WORD account_type; + IN WORD sec_chan_type; + IN REFERENCE LPTSTR hostname; + INOUT struct netr_authenticator auth; + IN netr_owf_password_t owf_password; + OUT DWORD status; +}; + +OPERATION(NETR_OPNUM_ServerPasswordSet2) +struct netr_PasswordSet2 { + IN LPTSTR servername; + IN REFERENCE LPTSTR account_name; + IN WORD sec_chan_type; IN REFERENCE LPTSTR hostname; INOUT struct netr_authenticator auth; - IN netr_owf_password_t uas_new_password; + IN netr_trust_password_t trust_password; OUT DWORD status; }; @@ -398,6 +429,8 @@ union netr_interface { struct netr_SamLogoff SamLogoff; CASE(NETR_OPNUM_ServerPasswordSet) struct netr_PasswordSet PasswordSet; + CASE(NETR_OPNUM_ServerPasswordSet2) + struct netr_PasswordSet2 PasswordSet2; }; typedef union netr_interface netr_interface_t; EXTERNTYPEINFO(netr_interface) |
