summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-02 01:46:01 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-02 01:46:01 +0000
commit10b82d30b782ad990fc3386a8f0101641780a14e (patch)
tree862c680d264db4e55d6318601b64d3ffc466703b /source3/include
parentbd4bea62ada937c58d38f6bf7af88c4cfb4115cc (diff)
downloadsamba-10b82d30b782ad990fc3386a8f0101641780a14e.tar.gz
samba-10b82d30b782ad990fc3386a8f0101641780a14e.tar.bz2
samba-10b82d30b782ad990fc3386a8f0101641780a14e.zip
improved enumdomains added -i option.
(This used to be commit 50dc709fa95e86ebe2b3132176241cb3a2cc4e36)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ntdomain.h2
-rw-r--r--source3/include/proto.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index 603dce0a17..9dd6c2d3a7 100644
--- a/source3/include/ntdomain.h
+++ b/source3/include/ntdomain.h
@@ -173,6 +173,8 @@ struct acct_info
#define DOMAIN_FN(fn)\
void (*fn)(const char*)
+#define DOMAIN_INFO_FN(fn)\
+ void (*fn)(const char*, const DOM_SID *, uint32, SAM_UNK_CTR *)
#define USER_FN(fn)\
void (*fn)(const char*, const DOM_SID*, uint32, const char*)
diff --git a/source3/include/proto.h b/source3/include/proto.h
index e84607e726..fc7653009f 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2285,7 +2285,8 @@ BOOL req_groupmem_info( const POLICY_HND *pol_dom,
uint32 msrpc_sam_enum_domains( const char* srv_name,
struct acct_info **sam,
uint32 *num_sam_entries,
- DOMAIN_FN(dom_fn));
+ DOMAIN_FN(dom_fn),
+ DOMAIN_INFO_FN(dom_inf_fn));
uint32 msrpc_sam_enum_groups( const char* srv_name,
const char* domain,
const DOM_SID *sid1,