summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-02 17:31:58 +0200
committerGünther Deschner <gd@samba.org>2008-06-03 01:27:45 +0200
commitb931bec55229230ef8356bc9d1d76c1a8ea7633c (patch)
treea78cd0402d0aa2b4c4995e9f614e410aefe3eb11
parentbe9332df6f2600b54da0c02baf4efdfee3932a79 (diff)
downloadsamba-b931bec55229230ef8356bc9d1d76c1a8ea7633c.tar.gz
samba-b931bec55229230ef8356bc9d1d76c1a8ea7633c.tar.bz2
samba-b931bec55229230ef8356bc9d1d76c1a8ea7633c.zip
re-run make idl.
Guenther (This used to be commit 8d865b9a53da70d613425a8dc2ee1b0ca12843ac)
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h28
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.c31
-rw-r--r--source3/librpc/gen_ndr/ndr_libnetapi.h7
3 files changed, 65 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h
index fd9c1edb25..82df9f9a9f 100644
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ b/source3/librpc/gen_ndr/libnetapi.h
@@ -115,6 +115,19 @@ struct GROUP_INFO_1005 {
uint32_t grpi1005_attributes;
};
+struct LOCALGROUP_INFO_0 {
+ const char * lgrpi0_name;
+};
+
+struct LOCALGROUP_INFO_1 {
+ const char * lgrpi1_name;
+ const char * lgrpi1_comment;
+};
+
+struct LOCALGROUP_INFO_1002 {
+ const char * lgrpi1002_comment;
+};
+
struct NetJoinDomain {
struct {
@@ -405,4 +418,19 @@ struct NetGroupDelUser {
};
+
+struct NetLocalGroupAdd {
+ 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 */
diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c
index 6fbe1b1bd1..d1a58bbf9d 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.c
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.c
@@ -1106,3 +1106,34 @@ _PUBLIC_ void ndr_print_NetGroupDelUser(struct ndr_print *ndr, const char *name,
ndr->depth--;
}
+_PUBLIC_ void ndr_print_NetLocalGroupAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupAdd *r)
+{
+ ndr_print_struct(ndr, name, "NetLocalGroupAdd");
+ ndr->depth++;
+ if (flags & NDR_SET_VALUES) {
+ ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+ }
+ if (flags & NDR_IN) {
+ ndr_print_struct(ndr, "in", "NetLocalGroupAdd");
+ ndr->depth++;
+ ndr_print_string(ndr, "server_name", r->in.server_name);
+ ndr_print_uint32(ndr, "level", r->in.level);
+ ndr_print_ptr(ndr, "buf", r->in.buf);
+ ndr->depth++;
+ ndr_print_uint8(ndr, "buf", *r->in.buf);
+ ndr->depth--;
+ ndr->depth--;
+ }
+ if (flags & NDR_OUT) {
+ ndr_print_struct(ndr, "out", "NetLocalGroupAdd");
+ ndr->depth++;
+ ndr_print_ptr(ndr, "parm_err", r->out.parm_err);
+ ndr->depth++;
+ ndr_print_uint32(ndr, "parm_err", *r->out.parm_err);
+ 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 9dd53f0536..fb93bc2f7d 100644
--- a/source3/librpc/gen_ndr/ndr_libnetapi.h
+++ b/source3/librpc/gen_ndr/ndr_libnetapi.h
@@ -44,7 +44,9 @@
#define NDR_NETGROUPDELUSER (0x12)
-#define NDR_LIBNETAPI_CALL_COUNT (19)
+#define NDR_NETLOCALGROUPADD (0x13)
+
+#define NDR_LIBNETAPI_CALL_COUNT (20)
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);
@@ -129,4 +131,7 @@ void ndr_print_NetGroupAddUser(struct ndr_print *ndr, const char *name, int flag
enum ndr_err_code ndr_push_NetGroupDelUser(struct ndr_push *ndr, int flags, const struct NetGroupDelUser *r);
enum ndr_err_code ndr_pull_NetGroupDelUser(struct ndr_pull *ndr, int flags, struct NetGroupDelUser *r);
void ndr_print_NetGroupDelUser(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupDelUser *r);
+enum ndr_err_code ndr_push_NetLocalGroupAdd(struct ndr_push *ndr, int flags, const struct NetLocalGroupAdd *r);
+enum ndr_err_code ndr_pull_NetLocalGroupAdd(struct ndr_pull *ndr, int flags, struct NetLocalGroupAdd *r);
+void ndr_print_NetLocalGroupAdd(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupAdd *r);
#endif /* _HEADER_NDR_libnetapi */