diff options
author | Günther Deschner <gd@samba.org> | 2008-05-27 12:06:44 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-06-03 01:27:39 +0200 |
commit | 3e67dfcf87666000d7d67d47bc48e24a20b0d32b (patch) | |
tree | 7a379056223dc9efb4bf656703f2fe542643b6ad /source3/librpc/gen_ndr/libnetapi.h | |
parent | 93baa932088d8f7b806b05cc73fc6f467c48fe81 (diff) | |
download | samba-3e67dfcf87666000d7d67d47bc48e24a20b0d32b.tar.gz samba-3e67dfcf87666000d7d67d47bc48e24a20b0d32b.tar.bz2 samba-3e67dfcf87666000d7d67d47bc48e24a20b0d32b.zip |
re-run make idl.
Guenther
(This used to be commit bad8b5e010adcd9df85c4b3a58678112d328e6b7)
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 */ |