diff options
author | Günther Deschner <gd@samba.org> | 2008-05-27 12:11:28 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-06-03 01:27:40 +0200 |
commit | ee671b19826ebf57d03ec7f3ee8f653d22d9ce3e (patch) | |
tree | d76d855ce4b1d143a674c1aaf37a1dc5b1be37f9 /source3/lib/netapi/group.c | |
parent | 2da5df92df46d8399024efd92f856dddafd68f28 (diff) | |
download | samba-ee671b19826ebf57d03ec7f3ee8f653d22d9ce3e.tar.gz samba-ee671b19826ebf57d03ec7f3ee8f653d22d9ce3e.tar.bz2 samba-ee671b19826ebf57d03ec7f3ee8f653d22d9ce3e.zip |
libnetapi: add dummy implementation for NetGroupAdd() and NetGroupDel().
Guenther
(This used to be commit d690f9e9f8b8a0aeda311913589ae48805f7e3b8)
Diffstat (limited to 'source3/lib/netapi/group.c')
-rw-r--r-- | source3/lib/netapi/group.c | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/source3/lib/netapi/group.c b/source3/lib/netapi/group.c new file mode 100644 index 0000000000..3515d28c69 --- /dev/null +++ b/source3/lib/netapi/group.c @@ -0,0 +1,54 @@ +/* + * Unix SMB/CIFS implementation. + * NetApi Group Support + * Copyright (C) Guenther Deschner 2008 + * + * 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 <http://www.gnu.org/licenses/>. + */ + +#include "includes.h" + +#include "librpc/gen_ndr/libnetapi.h" +#include "lib/netapi/netapi.h" +#include "lib/netapi/netapi_private.h" +#include "lib/netapi/libnetapi.h" + +/**************************************************************** +****************************************************************/ + + +WERROR NetGroupAdd_r(struct libnetapi_ctx *ctx, + struct NetGroupAdd *r) +{ + return WERR_NOT_SUPPORTED; +} + +WERROR NetGroupAdd_l(struct libnetapi_ctx *ctx, + struct NetGroupAdd *r) +{ + return WERR_NOT_SUPPORTED; +} + +WERROR NetGroupDel_r(struct libnetapi_ctx *ctx, + struct NetGroupDel *r) +{ + return WERR_NOT_SUPPORTED; +} + +WERROR NetGroupDel_l(struct libnetapi_ctx *ctx, + struct NetGroupDel *r) +{ + return WERR_NOT_SUPPORTED; +} + |