diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-02 23:31:16 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-02 23:31:16 +0000 |
commit | aa77f20a5b8fc83799e4befe668eb2da42727ac7 (patch) | |
tree | 02bf0cd57dacf26c5dbb36b7478e34bac2d84c1f /source3/include | |
parent | dcc037cfc6d96e65048b5b5f975cca834a751016 (diff) | |
download | samba-aa77f20a5b8fc83799e4befe668eb2da42727ac7.tar.gz samba-aa77f20a5b8fc83799e4befe668eb2da42727ac7.tar.bz2 samba-aa77f20a5b8fc83799e4befe668eb2da42727ac7.zip |
dynamic mem allocation in enum dom groups and enum dom aliases
(This used to be commit baa789fabc45e62889755802fd8ec8c9191fe767)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 8 | ||||
-rw-r--r-- | source3/include/rpc_samr.h | 8 | ||||
-rw-r--r-- | source3/include/smb.h | 1 |
3 files changed, 8 insertions, 9 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 6ec2b23849..e2bbd8fd0b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2645,17 +2645,15 @@ BOOL make_samr_q_enum_dom_groups(SAMR_Q_ENUM_DOM_GROUPS *q_e, POLICY_HND *pol, BOOL samr_io_q_enum_dom_groups(char *desc, SAMR_Q_ENUM_DOM_GROUPS *q_e, prs_struct *ps, int depth); BOOL make_samr_r_enum_dom_groups(SAMR_R_ENUM_DOM_GROUPS *r_u, uint32 next_idx, - uint32 num_sam_entries, DOMAIN_GRP *grps, - uint32 status); + uint32 num_sam_entries, DOMAIN_GRP *grps, uint32 status); BOOL samr_io_r_enum_dom_groups(char *desc, SAMR_R_ENUM_DOM_GROUPS *r_u, prs_struct *ps, int depth); BOOL make_samr_q_enum_dom_aliases(SAMR_Q_ENUM_DOM_ALIASES *q_e, POLICY_HND *pol, uint32 start_idx, uint32 size); BOOL samr_io_q_enum_dom_aliases(char *desc, SAMR_Q_ENUM_DOM_ALIASES *q_e, prs_struct *ps, int depth); BOOL make_samr_r_enum_dom_aliases(SAMR_R_ENUM_DOM_ALIASES *r_u, uint32 next_idx, - uint32 num_sam_entries, LOCAL_GRP *alss, - uint32 status); -BOOL samr_io_r_enum_dom_aliases(char *desc, SAMR_R_ENUM_DOM_ALIASES *r_u, prs_struct *ps, int depth); + uint32 num_sam_entries, LOCAL_GRP *alss, uint32 status); +BOOL samr_io_r_enum_dom_aliases(char *desc, SAMR_R_ENUM_DOM_ALIASES *r_u, prs_struct *ps, int depth); BOOL make_samr_alias_info3(ALIAS_INFO3 *al3, const char *acct_desc); BOOL samr_io_alias_info3(char *desc, ALIAS_INFO3 *al3, prs_struct *ps, int depth); BOOL samr_alias_info_ctr(char *desc, ALIAS_INFO_CTR *ctr, prs_struct *ps, int depth); diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h index 87fc17cda9..9f1f8a83fe 100644 --- a/source3/include/rpc_samr.h +++ b/source3/include/rpc_samr.h @@ -655,8 +655,8 @@ typedef struct r_samr_enum_dom_groups_info uint32 num_entries3; - SAM_ENTRY sam[MAX_SAM_ENTRIES]; - UNISTR2 uni_grp_name[MAX_SAM_ENTRIES]; + SAM_ENTRY *sam; + UNISTR2 *uni_grp_name; uint32 num_entries4; @@ -689,8 +689,8 @@ typedef struct r_samr_enum_dom_aliases_info uint32 num_entries3; - SAM_ENTRY sam[MAX_SAM_ENTRIES]; - UNISTR2 uni_grp_name[MAX_SAM_ENTRIES]; + SAM_ENTRY *sam; + UNISTR2 *uni_grp_name; uint32 num_entries4; diff --git a/source3/include/smb.h b/source3/include/smb.h index 80860cf57c..dccc05ea6a 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -259,6 +259,7 @@ typedef char fstring[FSTRING_LEN]; #define PIPE_NTSVCS "\\PIPE\\ntsvcs" #define PIPE_LSASS "\\PIPE\\lsass" #define PIPE_LSARPC "\\PIPE\\lsarpc" +#define PIPE_EPMAPPER "\\PIPE\\epmapper" #define PIPE_ATSVC "\\PIPE\\atsvc" #define PIPE_SPOOLSS "\\pipe\\spoolss" #define PIPE_EVENTLOG "\\PIPE\\EVENTLOG" |