From 353c00dc1fccfcc71c1a4ffe297845d336ff13f7 Mon Sep 17 00:00:00 2001 From: Rafal Szczesniak Date: Thu, 27 Sep 2007 00:25:54 +0000 Subject: r25367: Add initial implementation of internal group add function. rafal (This used to be commit 05624840c79982a6125fb037dc771a3c42f3c7ac) --- source4/libnet/groupman.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 source4/libnet/groupman.h (limited to 'source4/libnet/groupman.h') diff --git a/source4/libnet/groupman.h b/source4/libnet/groupman.h new file mode 100644 index 0000000000..0acb02de5a --- /dev/null +++ b/source4/libnet/groupman.h @@ -0,0 +1,35 @@ +/* + Unix SMB/CIFS implementation. + + Copyright (C) Rafal Szczesniak 2007 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +#include "librpc/gen_ndr/misc.h" + + +/* + * IO structures for groupman.c functions + */ + +struct libnet_rpc_groupadd { + struct { + struct policy_handle domain_handle; + const char *groupname; + } in; + struct { + struct policy_handle group_handle; + } out; +}; -- cgit From d6b91ac202f81fc1a5293f630515e30ed921efeb Mon Sep 17 00:00:00 2001 From: Rafal Szczesniak Date: Tue, 8 Jan 2008 10:20:44 -0600 Subject: r26693: Add (untested) libnet_rpc_groupdel function. rafal (This used to be commit e940b1020a3c2e7ee43198dc40c47cbdbef0d950) --- source4/libnet/groupman.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'source4/libnet/groupman.h') diff --git a/source4/libnet/groupman.h b/source4/libnet/groupman.h index 0acb02de5a..cd4452e73c 100644 --- a/source4/libnet/groupman.h +++ b/source4/libnet/groupman.h @@ -33,3 +33,14 @@ struct libnet_rpc_groupadd { struct policy_handle group_handle; } out; }; + + +struct libnet_rpc_groupdel { + struct { + struct policy_handle domain_handle; + const char *groupname; + } in; + struct { + struct policy_handle group_handle; + } out; +}; -- cgit