diff options
author | Günther Deschner <gd@samba.org> | 2010-05-18 10:29:34 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-18 12:30:12 +0200 |
commit | 7f6bb48bdf230465fd26514ff43d92e2c1f32fe6 (patch) | |
tree | c433add21e5bc3798d418a5d7a4715312093c3b4 /source3/libsmb | |
parent | 8951c8301ac8436d49e1641b2cc7775dda44d914 (diff) | |
download | samba-7f6bb48bdf230465fd26514ff43d92e2c1f32fe6.tar.gz samba-7f6bb48bdf230465fd26514ff43d92e2c1f32fe6.tar.bz2 samba-7f6bb48bdf230465fd26514ff43d92e2c1f32fe6.zip |
s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".
Guenther
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clisecdesc.c | 6 | ||||
-rw-r--r-- | source3/libsmb/libsmb_xattr.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/source3/libsmb/clisecdesc.c b/source3/libsmb/clisecdesc.c index f4f7c545e1..b6eff394c6 100644 --- a/source3/libsmb/clisecdesc.c +++ b/source3/libsmb/clisecdesc.c @@ -22,13 +22,13 @@ /**************************************************************************** query the security descriptor for a open file ****************************************************************************/ -SEC_DESC *cli_query_secdesc(struct cli_state *cli, uint16_t fnum, +struct security_descriptor *cli_query_secdesc(struct cli_state *cli, uint16_t fnum, TALLOC_CTX *mem_ctx) { uint8_t param[8]; uint8_t *rdata=NULL; uint32_t rdata_count=0; - SEC_DESC *psd = NULL; + struct security_descriptor *psd = NULL; NTSTATUS status; SIVAL(param, 0, fnum); @@ -69,7 +69,7 @@ SEC_DESC *cli_query_secdesc(struct cli_state *cli, uint16_t fnum, /**************************************************************************** set the security descriptor for a open file ****************************************************************************/ -bool cli_set_secdesc(struct cli_state *cli, uint16_t fnum, SEC_DESC *sd) +bool cli_set_secdesc(struct cli_state *cli, uint16_t fnum, struct security_descriptor *sd) { char param[8]; char *rparam=NULL, *rdata=NULL; diff --git a/source3/libsmb/libsmb_xattr.c b/source3/libsmb/libsmb_xattr.c index 49a6a286af..c9eb103a9e 100644 --- a/source3/libsmb/libsmb_xattr.c +++ b/source3/libsmb/libsmb_xattr.c @@ -415,7 +415,7 @@ add_ace(struct security_acl **the_acl, /* parse a ascii version of a security descriptor */ -static SEC_DESC * +static struct security_descriptor * sec_desc_parse(TALLOC_CTX *ctx, struct cli_state *ipc_cli, struct policy_handle *pol, @@ -424,7 +424,7 @@ sec_desc_parse(TALLOC_CTX *ctx, { const char *p = str; char *tok; - SEC_DESC *ret = NULL; + struct security_descriptor *ret = NULL; size_t sd_size; DOM_SID *group_sid=NULL; DOM_SID *owner_sid=NULL; @@ -726,7 +726,7 @@ cacl_get(SMBCCTX *context, bool numeric = True; bool determine_size = (bufsize == 0); uint16_t fnum; - SEC_DESC *sd; + struct security_descriptor *sd; fstring sidstr; fstring name_sandbox; char *name; @@ -1501,7 +1501,7 @@ cacl_set(SMBCCTX *context, { uint16_t fnum = (uint16_t)-1; int err = 0; - SEC_DESC *sd = NULL, *old; + struct security_descriptor *sd = NULL, *old; struct security_acl *dacl = NULL; DOM_SID *owner_sid = NULL; DOM_SID *group_sid = NULL; |