]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3-samr-idl: cleanup.
authorGünther Deschner <gd@samba.org>
Wed, 5 Nov 2008 12:39:25 +0000 (13:39 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 10 Nov 2008 20:46:25 +0000 (21:46 +0100)
Guenther

source3/librpc/idl/samr.idl
source3/rpc_server/srv_samr_nt.c
source3/winbindd/winbindd_rpc.c

index f47e0994dc232a5588082ce538b3ad52c47348c8..2f8657a0b1f043f65c3ea9c18e7e4a18731a4f3b 100644 (file)
@@ -441,9 +441,6 @@ import "misc.idl", "lsa.idl", "security.idl";
        /************************/
        /* Function    0x0b     */
 
-       const int MAX_SAM_ENTRIES_W2K = 0x400; /* 1024 */
-       const int MAX_SAM_ENTRIES_W95 = 50;
-
        NTSTATUS samr_EnumDomainGroups(
                [in]          policy_handle *domain_handle,
                [in,out,ref]  uint32 *resume_handle,
@@ -1437,7 +1434,6 @@ import "misc.idl", "lsa.idl", "security.idl";
                [out,ref]   dom_sid2      *sid
                );
 
-
        /************************/
        /* Function    0x42     */
 
index c573173900929c3edf11ae91d150af2ccff54c8e..62ac1cb5c363ceef096426acdd4557a674a962cf 100644 (file)
@@ -45,6 +45,9 @@
 
 #define DISP_INFO_CACHE_TIMEOUT 10
 
+#define MAX_SAM_ENTRIES_W2K 0x400 /* 1024 */
+#define MAX_SAM_ENTRIES_W95 50
+
 typedef struct disp_info {
        DOM_SID sid; /* identify which domain this is. */
        bool builtin_domain; /* Quick flag to check if this is the builtin domain. */
index d966e50159516560a162d0bd2616f0fdaf948f2a..7dea342a53af3004dc80f2c27c7cf9a125098e31 100644 (file)
@@ -636,6 +636,8 @@ static NTSTATUS lookup_usergroups(struct winbindd_domain *domain,
        return NT_STATUS_OK;
 }
 
+#define MAX_SAM_ENTRIES_W2K 0x400 /* 1024 */
+
 NTSTATUS msrpc_lookup_useraliases(struct winbindd_domain *domain,
                                  TALLOC_CTX *mem_ctx,
                                  uint32 num_sids, const DOM_SID *sids,