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/smb_server/nttrans.c | |
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/smb_server/nttrans.c')
-rw-r--r-- | source4/smb_server/nttrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/nttrans.c b/source4/smb_server/nttrans.c index 9a3b919d8b..215b378283 100644 --- a/source4/smb_server/nttrans.c +++ b/source4/smb_server/nttrans.c @@ -197,7 +197,7 @@ static NTSTATUS nttrans_query_sec_desc(struct smbsrv_request *req, io->query_secdesc.level = RAW_FILEINFO_SEC_DESC; io->query_secdesc.in.fnum = SVAL(trans->in.params.data, 0); - io->query_secdesc.in.secinfo_flags = IVAL(trans->in.params.data, 4); + io->query_secdesc.secinfo_flags = IVAL(trans->in.params.data, 4); /* call the backend - notice that we do it sync for now, until we support async nttrans requests */ |