summaryrefslogtreecommitdiff
path: root/source3/lib/sharesec.c
diff options
context:
space:
mode:
authorRichard Sharpe <rsharpe@samba.org>2015-04-24 19:22:21 -0700
committerJeremy Allison <jra@samba.org>2015-04-29 23:42:20 +0200
commit2224796fc354bc1e457e6baed52aaf3b7520e461 (patch)
tree21c6aa064ee3981874ee3c3ce18b1d6f23e010cb /source3/lib/sharesec.c
parentc6ad8a10c12c8a79dc83cab1591e5279edd62bd6 (diff)
downloadsamba-2224796fc354bc1e457e6baed52aaf3b7520e461.tar.gz
Change all uses of uint32/16/8 in proto.h to uint32_t/16_t/8_t.
Signed-off-by: Richard Sharpe <rsharpe@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/sharesec.c')
-rw-r--r--source3/lib/sharesec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c
index e9a3eae9178..9d7787ef4ce 100644
--- a/source3/lib/sharesec.c
+++ b/source3/lib/sharesec.c
@@ -260,13 +260,13 @@ bool share_info_db_init(void)
def_access is a GENERIC_XXX access mode.
********************************************************************/
-struct security_descriptor *get_share_security_default( TALLOC_CTX *ctx, size_t *psize, uint32 def_access)
+struct security_descriptor *get_share_security_default( TALLOC_CTX *ctx, size_t *psize, uint32_t def_access)
{
uint32_t sa;
struct security_ace ace;
struct security_acl *psa = NULL;
struct security_descriptor *psd = NULL;
- uint32 spec_access = def_access;
+ uint32_t spec_access = def_access;
se_map_generic(&spec_access, &file_generic_mapping);
@@ -442,10 +442,10 @@ bool delete_share_security(const char *servicename)
bool share_access_check(const struct security_token *token,
const char *sharename,
- uint32 desired_access,
+ uint32_t desired_access,
uint32_t *pgranted)
{
- uint32 granted;
+ uint32_t granted;
NTSTATUS status;
struct security_descriptor *psd = NULL;
size_t sd_size;
@@ -509,8 +509,8 @@ bool parse_usershare_acl(TALLOC_CTX *ctx, const char *acl_str, struct security_d
for (i = 0; i < num_aces; i++) {
uint32_t sa;
- uint32 g_access;
- uint32 s_access;
+ uint32_t g_access;
+ uint32_t s_access;
struct dom_sid sid;
char *sidstr;
enum security_ace_type type = SEC_ACE_TYPE_ACCESS_ALLOWED;