summaryrefslogtreecommitdiff
path: root/source3/utils/net.h
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2005-07-06 21:02:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:58:18 -0500
commite0ffbfc5587ed296d5a9e8f5ed30b6e8b2cd6fcf (patch)
treec7650ee5c7cc4fe3925273a6f337bd7b4c0b568b /source3/utils/net.h
parentc379e33da6a9692cf6540a933e1b8a682645b6b1 (diff)
downloadsamba-e0ffbfc5587ed296d5a9e8f5ed30b6e8b2cd6fcf.tar.gz
samba-e0ffbfc5587ed296d5a9e8f5ed30b6e8b2cd6fcf.tar.bz2
samba-e0ffbfc5587ed296d5a9e8f5ed30b6e8b2cd6fcf.zip
r8189: commit vampire ldif patch, mostly from Don Watson (dwatson@us.ibm.com). Yes,
that's my copyright...that's just how we have to do things at big blue. Adds subcommand to vampire to allow data to be put into an ldif file instead of actually writing to the passdb. See "net rpc help vampire" for usage info. This should be added to docs as well. (This used to be commit cb5634a305256a70daa2fcbd85d9a5459b4aeaa3)
Diffstat (limited to 'source3/utils/net.h')
-rw-r--r--source3/utils/net.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/utils/net.h b/source3/utils/net.h
index 0bec621c3c..a2df6596b4 100644
--- a/source3/utils/net.h
+++ b/source3/utils/net.h
@@ -97,3 +97,16 @@ extern struct in_addr opt_dest_ip;
extern const char *share_type[];
+/* Structure for mapping accounts to groups */
+/* Array element is the group rid */
+typedef struct _groupmap {
+ uint32 rid;
+ uint32 gidNumber;
+ fstring sambaSID;
+ fstring group_dn;
+} GROUPMAP;
+
+typedef struct _accountmap {
+ uint32 rid;
+ fstring cn;
+} ACCOUNTMAP;