summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-31 23:51:34 +0200
committerGünther Deschner <gd@samba.org>2008-04-01 00:26:32 +0200
commit9afc225b377c29a851150af2fddfb26050cbf4a9 (patch)
tree388a795ef1c62ffa8dbbe9d0d34c25ca0c1b7ba6 /source3/rpc_client
parentd6426f1f9a044ac9d757c3718c0ce1f556219344 (diff)
downloadsamba-9afc225b377c29a851150af2fddfb26050cbf4a9.tar.gz
samba-9afc225b377c29a851150af2fddfb26050cbf4a9.tar.bz2
samba-9afc225b377c29a851150af2fddfb26050cbf4a9.zip
Fix SRVSVC ShareInfo max_users handling server side.
Guenther (This used to be commit b4d944e724f7ae2a97ba788b185aba7b7308b475)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/init_srvsvc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/init_srvsvc.c b/source3/rpc_client/init_srvsvc.c
index 7b595683f7..4fa260c2c5 100644
--- a/source3/rpc_client/init_srvsvc.c
+++ b/source3/rpc_client/init_srvsvc.c
@@ -158,7 +158,7 @@ void init_srvsvc_NetShareInfo502(struct srvsvc_NetShareInfo502 *r,
enum srvsvc_ShareType type,
const char *comment,
uint32_t permissions,
- int32_t max_users,
+ uint32_t max_users,
uint32_t current_users,
const char *path,
const char *password,
@@ -202,7 +202,7 @@ void init_srvsvc_NetShareInfo1005(struct srvsvc_NetShareInfo1005 *r,
********************************************************************/
void init_srvsvc_NetShareInfo1006(struct srvsvc_NetShareInfo1006 *r,
- int32_t max_users)
+ uint32_t max_users)
{
r->max_users = max_users;
}