summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_rpc.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-16 21:15:54 +0200
committerAndreas Schneider <asn@samba.org>2010-07-05 15:59:09 +0200
commitbec184048ee691d9f709365f65104a53f2f33cc0 (patch)
tree5db276d3aeba1876141f02c45a759bbf2da0c83f /source3/winbindd/winbindd_rpc.h
parent692cc06f0c1e1c2dd0d553bb65a8af78ad0a6523 (diff)
downloadsamba-bec184048ee691d9f709365f65104a53f2f33cc0.tar.gz
samba-bec184048ee691d9f709365f65104a53f2f33cc0.tar.bz2
samba-bec184048ee691d9f709365f65104a53f2f33cc0.zip
s3-winbind: Added a common rpc_enum_dom_groups function.
Diffstat (limited to 'source3/winbindd/winbindd_rpc.h')
-rw-r--r--source3/winbindd/winbindd_rpc.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_rpc.h b/source3/winbindd/winbindd_rpc.h
new file mode 100644
index 0000000000..d327e16dad
--- /dev/null
+++ b/source3/winbindd/winbindd_rpc.h
@@ -0,0 +1,35 @@
+/*
+ * Unix SMB/CIFS implementation.
+ *
+ * Winbind rpc backend functions
+ *
+ * Copyright (c) 2000-2003 Tim Potter
+ * Copyright (c) 2001 Andrew Tridgell
+ * Copyright (c) 2005 Volker Lendecke
+ * Copyright (c) 2008 Guenther Deschner (pidl conversion)
+ * Copyright (c) 2010 Andreas Schneider <asn@samba.org>
+ *
+ * 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/>.
+ */
+
+#ifndef _WINBINDD_RPC_H_
+#define _WINBINDD_RPC_H_
+
+NTSTATUS rpc_enum_dom_groups(TALLOC_CTX *mem_ctx,
+ struct rpc_pipe_client *samr_pipe,
+ struct policy_handle *sam_policy,
+ uint32_t *pnum_info,
+ struct acct_info **pinfo);
+
+#endif /* _WINBINDD_RPC_H_ */