diff options
-rw-r--r-- | source3/rpc_server/srv_srvsvc_nt.c | 2 | ||||
-rw-r--r-- | source3/utils/smbcacls.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c index b28a0c9683..e56e63490d 100644 --- a/source3/rpc_server/srv_srvsvc_nt.c +++ b/source3/rpc_server/srv_srvsvc_nt.c @@ -1761,7 +1761,7 @@ static uint32 init_server_disk_enum(uint32 *resume) /*resume can be an offset into the list for now*/ - if(*resume < 0) + if(*resume & 0x80000000) *resume = 0; if(*resume > server_disk_count) diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index 7b459a32ed..4893eb4202 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -810,7 +810,7 @@ You can string acls together with spaces, commas or newlines\n\ char *p; static pstring servicesf = CONFIGFILE; struct cli_state *cli=NULL; - enum acl_mode mode = 0; + enum acl_mode mode = SMB_ACL_SET; char *the_acl = NULL; enum chown_mode change_mode = REQUEST_NONE; int result; |