diff options
Diffstat (limited to 'source3/librpc/gen_ndr/libnetapi.h')
-rw-r--r-- | source3/librpc/gen_ndr/libnetapi.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h index 17633daf6a..de165f889a 100644 --- a/source3/librpc/gen_ndr/libnetapi.h +++ b/source3/librpc/gen_ndr/libnetapi.h @@ -3,6 +3,9 @@ #include <stdint.h> #define LIBNETAPI_LOCAL_SERVER(x) (!x || is_myname_or_ipaddr(x)) +#ifndef MAXSUBAUTHS +#define MAXSUBAUTHS 15 /* max sub authorities in a SID */ +#endif #ifndef _HEADER_libnetapi #define _HEADER_libnetapi @@ -18,6 +21,13 @@ enum NET_API_STATUS #endif ; +struct domsid { + uint8_t sid_rev_num; + uint8_t num_auths; + uint8_t id_auth[6]; + uint32_t *sub_auths; +}; + struct SERVER_INFO_1005 { const char * sv1005_comment; }; @@ -74,6 +84,29 @@ struct NET_DISPLAY_GROUP { uint32_t grpi3_next_index; }; +struct GROUP_INFO_0 { + const char * grpi0_name; +}; + +struct GROUP_INFO_1 { + const char * grpi1_name; + const char * grpi1_comment; +}; + +struct GROUP_INFO_2 { + const char * grpi2_name; + const char * grpi2_comment; + uint32_t grpi2_group_id; + uint32_t grpi2_attributes; +}; + +struct GROUP_INFO_3 { + const char * grpi3_name; + const char * grpi3_comment; + struct domsid grpi3_group_sid; + uint32_t grpi3_attributes; +}; + struct NetJoinDomain { struct { @@ -277,4 +310,19 @@ struct NetQueryDisplayInformation { }; + +struct NetGroupAdd { + struct { + const char * server_name; + uint32_t level; + uint8_t *buf;/* [ref] */ + } in; + + struct { + uint32_t *parm_err;/* [ref] */ + enum NET_API_STATUS result; + } out; + +}; + #endif /* _HEADER_libnetapi */ |