From 10b82d30b782ad990fc3386a8f0101641780a14e Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Thu, 2 Dec 1999 01:46:01 +0000 Subject: improved enumdomains added -i option. (This used to be commit 50dc709fa95e86ebe2b3132176241cb3a2cc4e36) --- source3/include/ntdomain.h | 2 ++ source3/include/proto.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'source3/include') 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, -- cgit