summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-06-29 18:41:31 +0000
committerJeremy Allison <jra@samba.org>2001-06-29 18:41:31 +0000
commit001e9b7b540f04c80ba65c879aaa41acddc86f3e (patch)
treedcc92ee5406897a1eb9fdccd54c9903064ce3360 /source/include
parent937b96feaa276f8dd626f2d640f03dc4c55f48c6 (diff)
downloadsamba-001e9b7b540f04c80ba65c879aaa41acddc86f3e.tar.gz
samba-001e9b7b540f04c80ba65c879aaa41acddc86f3e.tar.xz
samba-001e9b7b540f04c80ba65c879aaa41acddc86f3e.zip
From JF....
hi jeremy, can you commit the following patch against HEAD. I can't do it right now Thanks Tim for me. He changed the SAM_DISPINFO_1 array without checking if he didn't break the server code. And he did. So on my way I cleaned info_1, 2, .. 5 it may break winbind. I leave to tim the pleasure to fix it ;-) jf. I added some talloc changes and checks for alloc fails. Jeremy.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/rpc_samr.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/include/rpc_samr.h b/source/include/rpc_samr.h
index 20a4f5b8a07..18b0a8c1432 100644
--- a/source/include/rpc_samr.h
+++ b/source/include/rpc_samr.h
@@ -816,8 +816,8 @@ typedef struct samr_str_entry_info2
typedef struct sam_entry_info_2
{
- SAM_ENTRY2 sam[MAX_SAM_ENTRIES];
- SAM_STR2 str[MAX_SAM_ENTRIES];
+ SAM_ENTRY2 *sam;
+ SAM_STR2 *str;
} SAM_DISPINFO_2;
@@ -845,8 +845,8 @@ typedef struct samr_str_entry_info3
typedef struct sam_entry_info_3
{
- SAM_ENTRY3 sam[MAX_SAM_ENTRIES];
- SAM_STR3 str[MAX_SAM_ENTRIES];
+ SAM_ENTRY3 *sam;
+ SAM_STR3 *str;
} SAM_DISPINFO_3;
@@ -868,8 +868,8 @@ typedef struct samr_str_entry_info4
typedef struct sam_entry_info_4
{
- SAM_ENTRY4 sam[MAX_SAM_ENTRIES];
- SAM_STR4 str[MAX_SAM_ENTRIES];
+ SAM_ENTRY4 *sam;
+ SAM_STR4 *str;
} SAM_DISPINFO_4;
@@ -891,8 +891,8 @@ typedef struct samr_str_entry_info5
typedef struct sam_entry_info_5
{
- SAM_ENTRY5 sam[MAX_SAM_ENTRIES];
- SAM_STR5 str[MAX_SAM_ENTRIES];
+ SAM_ENTRY5 *sam;
+ SAM_STR5 *str;
} SAM_DISPINFO_5;