s3-rpc_cli: make dcerpc_lsa_lookup_sids_generic() public.
authorGünther Deschner <gd@samba.org>
Wed, 28 Nov 2012 15:57:57 +0000 (16:57 +0100)
committerAndreas Schneider <asn@samba.org>
Fri, 30 Nov 2012 10:49:38 +0000 (11:49 +0100)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/rpc_client/cli_lsarpc.c
source3/rpc_client/cli_lsarpc.h

index 0ca3dec5571dbf09e1e0df67c932fb34c0085aec..8ef2845de4696282dd60688edcf39d1acc57f93e 100644 (file)
@@ -330,16 +330,16 @@ static NTSTATUS dcerpc_lsa_lookup_sids_noalloc(struct dcerpc_binding_handle *h,
  * at 20480 for win2k3, but we keep it at a save 1000 for now. */
 #define LOOKUP_SIDS_HUNK_SIZE 1000
 
-static NTSTATUS dcerpc_lsa_lookup_sids_generic(struct dcerpc_binding_handle *h,
-                                              TALLOC_CTX *mem_ctx,
-                                              struct policy_handle *pol,
-                                              int num_sids,
-                                              const struct dom_sid *sids,
-                                              char ***pdomains,
-                                              char ***pnames,
-                                              enum lsa_SidType **ptypes,
-                                              bool use_lookupsids3,
-                                              NTSTATUS *presult)
+NTSTATUS dcerpc_lsa_lookup_sids_generic(struct dcerpc_binding_handle *h,
+                                       TALLOC_CTX *mem_ctx,
+                                       struct policy_handle *pol,
+                                       int num_sids,
+                                       const struct dom_sid *sids,
+                                       char ***pdomains,
+                                       char ***pnames,
+                                       enum lsa_SidType **ptypes,
+                                       bool use_lookupsids3,
+                                       NTSTATUS *presult)
 {
        NTSTATUS status = NT_STATUS_OK;
        NTSTATUS result = NT_STATUS_OK;
index 878c3f4f5571fbb2cfc996dc9411e3fca26294cd..5e76ba3e079aa643166ea167600696756a418bef 100644 (file)
@@ -125,7 +125,16 @@ NTSTATUS rpccli_lsa_lookup_sids(struct rpc_pipe_client *cli,
                                char ***pdomains,
                                char ***pnames,
                                enum lsa_SidType **ptypes);
-
+NTSTATUS dcerpc_lsa_lookup_sids_generic(struct dcerpc_binding_handle *h,
+                                       TALLOC_CTX *mem_ctx,
+                                       struct policy_handle *pol,
+                                       int num_sids,
+                                       const struct dom_sid *sids,
+                                       char ***pdomains,
+                                       char ***pnames,
+                                       enum lsa_SidType **ptypes,
+                                       bool use_lookupsids3,
+                                       NTSTATUS *presult);
 /**
  * @brief Look up the names that correspond to an array of sids.
  *