VERSION: Bump version number up to 4.0.23...
[Samba.git] / source3 / librpc / idl / secrets.idl
blob1d0ba1940ab5c92dd6dba332a139b0180a8d0653
1 #include "idl_types.h"
3 import "security.idl";
5 /*
6 IDL structures for secrets code
7 */
10 pointer_default(unique)
12 interface secrets
16 * s3 on-disc storage structure for trusted domains, do not change !
19 typedef [flag(NDR_NOALIGN),public] struct {
20 [value(strlen_m_term(uni_name))] uint32 uni_name_len;
21 [charset(UTF16)] uint16 uni_name[32]; /* unicode domain name */
22 [value(strlen(pass))] uint32 pass_len;
23 astring pass; /* trust relationship's password */
24 time_t mod_time;
25 dom_sid domain_sid; /* remote domain's sid */
26 } TRUSTED_DOM_PASS;
29 * s3 on-disc storage structure for lsa secrets, do not change !
32 typedef [public] struct {
33 DATA_BLOB *secret_current;
34 NTTIME secret_current_lastchange;
35 DATA_BLOB *secret_old;
36 NTTIME secret_old_lastchange;
37 security_descriptor *sd;
38 } lsa_secret;