diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-04-14 13:19:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:33 -0500 |
commit | d9c15b0f280621fca844c0e8482b5e95f4ad2d11 (patch) | |
tree | 2b4e506c9012caece3916f1d63fd9daf7a46fd9c /source4/libcli | |
parent | fdbc094c3ebdc2464ebcdd220667348b684ce103 (diff) | |
download | samba-d9c15b0f280621fca844c0e8482b5e95f4ad2d11.tar.gz samba-d9c15b0f280621fca844c0e8482b5e95f4ad2d11.tar.bz2 samba-d9c15b0f280621fca844c0e8482b5e95f4ad2d11.zip |
r6342: fixed a bad union assumption that caused ACLs to fail on 64 bit machines
Thanks to lars and agruen for finding this
(This used to be commit 2acc06918574b1178eecf3d61026f84f85bb40e1)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/raw/rawacl.c | 2 | ||||
-rw-r--r-- | source4/libcli/raw/rawfileinfo.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/rawacl.c b/source4/libcli/raw/rawacl.c index 82c69ec706..e168da9d1d 100644 --- a/source4/libcli/raw/rawacl.c +++ b/source4/libcli/raw/rawacl.c @@ -40,7 +40,7 @@ struct smbcli_request *smb_raw_query_secdesc_send(struct smbcli_tree *tree, SSVAL(params, 0, io->query_secdesc.in.fnum); SSVAL(params, 2, 0); /* padding */ - SIVAL(params, 4, io->query_secdesc.in.secinfo_flags); + SIVAL(params, 4, io->query_secdesc.secinfo_flags); nt.in.params.data = params; nt.in.params.length = 8; diff --git a/source4/libcli/raw/rawfileinfo.c b/source4/libcli/raw/rawfileinfo.c index 88c2f0d0fc..9f7786429c 100644 --- a/source4/libcli/raw/rawfileinfo.c +++ b/source4/libcli/raw/rawfileinfo.c @@ -310,7 +310,7 @@ static struct smbcli_request *smb_raw_fileinfo_blob_send(struct smbcli_tree *tre return NULL; } - SIVAL(tp.in.params.data, 0, fnum); + SSVAL(tp.in.params.data, 0, fnum); SSVAL(tp.in.params.data, 2, info_level); req = smb_raw_trans2_send(tree, &tp); |