summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/gen_ndr/ndr_srvsvc.c12
-rw-r--r--source3/librpc/gen_ndr/srvsvc.h4
2 files changed, 8 insertions, 8 deletions
diff --git a/source3/librpc/gen_ndr/ndr_srvsvc.c b/source3/librpc/gen_ndr/ndr_srvsvc.c
index fbf84abf9e..3e33cc35c8 100644
--- a/source3/librpc/gen_ndr/ndr_srvsvc.c
+++ b/source3/librpc/gen_ndr/ndr_srvsvc.c
@@ -4438,7 +4438,7 @@ static enum ndr_err_code ndr_push_srvsvc_NetShareInfo502(struct ndr_push *ndr, i
NDR_CHECK(ndr_push_srvsvc_ShareType(ndr, NDR_SCALARS, r->type));
NDR_CHECK(ndr_push_unique_ptr(ndr, r->comment));
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->permissions));
- NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->max_users));
+ NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->max_users));
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->current_users));
NDR_CHECK(ndr_push_unique_ptr(ndr, r->path));
NDR_CHECK(ndr_push_unique_ptr(ndr, r->password));
@@ -4510,7 +4510,7 @@ static enum ndr_err_code ndr_pull_srvsvc_NetShareInfo502(struct ndr_pull *ndr, i
r->comment = NULL;
}
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->permissions));
- NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->max_users));
+ NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->max_users));
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->current_users));
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_path));
if (_ptr_path) {
@@ -4614,7 +4614,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareInfo502(struct ndr_print *ndr, const char
}
ndr->depth--;
ndr_print_uint32(ndr, "permissions", r->permissions);
- ndr_print_int32(ndr, "max_users", r->max_users);
+ ndr_print_uint32(ndr, "max_users", r->max_users);
ndr_print_uint32(ndr, "current_users", r->current_users);
ndr_print_ptr(ndr, "path", r->path);
ndr->depth++;
@@ -5007,7 +5007,7 @@ static enum ndr_err_code ndr_push_srvsvc_NetShareInfo1006(struct ndr_push *ndr,
{
if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->max_users));
+ NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->max_users));
}
if (ndr_flags & NDR_BUFFERS) {
}
@@ -5018,7 +5018,7 @@ static enum ndr_err_code ndr_pull_srvsvc_NetShareInfo1006(struct ndr_pull *ndr,
{
if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->max_users));
+ NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->max_users));
}
if (ndr_flags & NDR_BUFFERS) {
}
@@ -5029,7 +5029,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareInfo1006(struct ndr_print *ndr, const cha
{
ndr_print_struct(ndr, name, "srvsvc_NetShareInfo1006");
ndr->depth++;
- ndr_print_int32(ndr, "max_users", r->max_users);
+ ndr_print_uint32(ndr, "max_users", r->max_users);
ndr->depth--;
}
diff --git a/source3/librpc/gen_ndr/srvsvc.h b/source3/librpc/gen_ndr/srvsvc.h
index f619dba73f..2d03e7da70 100644
--- a/source3/librpc/gen_ndr/srvsvc.h
+++ b/source3/librpc/gen_ndr/srvsvc.h
@@ -310,7 +310,7 @@ struct srvsvc_NetShareInfo502 {
enum srvsvc_ShareType type;
const char *comment;/* [unique,charset(UTF16)] */
uint32_t permissions;
- int32_t max_users;
+ uint32_t max_users;
uint32_t current_users;
const char *path;/* [unique,charset(UTF16)] */
const char *password;/* [unique,charset(UTF16)] */
@@ -346,7 +346,7 @@ struct srvsvc_NetShareCtr1005 {
};
struct srvsvc_NetShareInfo1006 {
- int32_t max_users;
+ uint32_t max_users;
};
struct srvsvc_NetShareCtr1006 {