summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc/gen_ndr')
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h15
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.c33
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.h7
3 files changed, 54 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h
index 21a3c1a8a1..87836d3c3e 100644
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ b/source3/librpc/gen_ndr/libnetapi.h
@@ -362,4 +362,19 @@ struct NetGroupSetInfo {
};
+
+struct NetGroupGetInfo {
+ struct {
+ const char * server_name;
+ const char * group_name;
+ uint32_t level;
+ } in;
+
+ struct {
+ uint8_t **buf;/* [ref] */
+ enum NET_API_STATUS result;
+ } out;
+
+};
+
#endif /* _HEADER_libnetapi */
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c
index a16c650c3f..1f7ab37a27 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.c
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.c
@@ -1025,3 +1025,36 @@ _PUBLIC_ void ndr_print_NetGroupSetInfo(struct ndr_print *ndr, const char *name,
ndr->depth--;
}
+_PUBLIC_ void ndr_print_NetGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupGetInfo *r)
+{
+ ndr_print_struct(ndr, name, "NetGroupGetInfo");
+ ndr->depth++;
+ if (flags & NDR_SET_VALUES) {
+ ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+ }
+ if (flags & NDR_IN) {
+ ndr_print_struct(ndr, "in", "NetGroupGetInfo");
+ ndr->depth++;
+ ndr_print_string(ndr, "server_name", r->in.server_name);
+ ndr_print_string(ndr, "group_name", r->in.group_name);
+ ndr_print_uint32(ndr, "level", r->in.level);
+ ndr->depth--;
+ }
+ if (flags & NDR_OUT) {
+ ndr_print_struct(ndr, "out", "NetGroupGetInfo");
+ ndr->depth++;
+ ndr_print_ptr(ndr, "buf", r->out.buf);
+ ndr->depth++;
+ ndr_print_ptr(ndr, "buf", *r->out.buf);
+ ndr->depth++;
+ if (*r->out.buf) {
+ ndr_print_uint8(ndr, "buf", **r->out.buf);
+ }
+ ndr->depth--;
+ ndr->depth--;
+ ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
+ ndr->depth--;
+ }
+ ndr->depth--;
+}
+
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h
index 47f4457353..f4f6797997 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.h
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.h
@@ -38,7 +38,9 @@
#define NDR_NETGROUPSETINFO (0x0f)
-#define NDR_LIBNETAPI_CALL_COUNT (16)
+#define NDR_NETGROUPGETINFO (0x10)
+
+#define NDR_LIBNETAPI_CALL_COUNT (17)
enum ndr_err_code ndr_push_NET_API_STATUS(struct ndr_push *ndr, int ndr_flags, enum NET_API_STATUS r);
enum ndr_err_code ndr_pull_NET_API_STATUS(struct ndr_pull *ndr, int ndr_flags, enum NET_API_STATUS *r);
void ndr_print_NET_API_STATUS(struct ndr_print *ndr, const char *name, enum NET_API_STATUS r);
@@ -114,4 +116,7 @@ void ndr_print_NetGroupDel(struct ndr_print *ndr, const char *name, int flags, c
enum ndr_err_code ndr_push_NetGroupSetInfo(struct ndr_push *ndr, int flags, const struct NetGroupSetInfo *r);
enum ndr_err_code ndr_pull_NetGroupSetInfo(struct ndr_pull *ndr, int flags, struct NetGroupSetInfo *r);
void ndr_print_NetGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupSetInfo *r);
+enum ndr_err_code ndr_push_NetGroupGetInfo(struct ndr_push *ndr, int flags, const struct NetGroupGetInfo *r);
+enum ndr_err_code ndr_pull_NetGroupGetInfo(struct ndr_pull *ndr, int flags, struct NetGroupGetInfo *r);
+void ndr_print_NetGroupGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupGetInfo *r);
#endif /* _HEADER_NDR_libnetapi */