summaryrefslogtreecommitdiff
path: root/source3/libsmb/clisecdesc.c
AgeCommit message (Collapse)AuthorFilesLines
2012-02-02Allow a SACL to be sent in cli_set_secdesc().Jeremy Allison1-0/+2
2011-07-23s3:libsmb: cli_set_secdesc() only needs a const struct security_descriptorStefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Jul 23 11:08:19 CEST 2011 on sn-devel-104
2011-07-23s3:libsmb: remove unused cli_query_secdesc_old()Stefan Metzmacher1-48/+0
metze
2011-07-23s3-libsmb: introduce new cli_query_secdesc() which returns NTSTATUSBjörn Baumbach1-0/+50
Replacement for cli_query_secdesc_old() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()Björn Baumbach1-1/+1
Will introduce new cli_query_secdesc() function Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-31libcli/security: move secdesc.c to the top level libcli/securityAndrew Bartlett1-0/+1
This code does not rely on lp_ or other source3 only functions, so can be part of the common library. Andrew Bartlett
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-01-15s3: Convert cli_set_secdesc to cli_transVolker Lendecke1-34/+19
2011-01-15s3: Fix some nonempty blank linesVolker Lendecke1-3/+3
2010-08-05s3: Save the received trans2 from the inbuf in cli_transVolker Lendecke1-0/+1
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner1-1/+1
Guenther
2010-06-03s3-security: use shared SECINFO_GROUP define.Günther Deschner1-1/+1
Guenther
2010-06-03s3-security: use shared SECINFO_OWNER define.Günther Deschner1-1/+1
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner1-3/+3
Guenther
2009-11-14s3: Add min_setup, min_param and min_data to cli_trans_recvVolker Lendecke1-6/+5
Every caller that expects to receive something needs to check if enough was sent. Make this check mandatory for everyone. Yes, this makes the parameter list for cli_trans a bit silly, but that's just the way it is: A silly protocol request :-) While there, convert some _done functions to tevent_req_simple_finish_ntstatus.
2009-04-30Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison1-2/+2
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy.
2008-09-09Convert cli_query_secdesc to the async trans callVolker Lendecke1-21/+16
(This used to be commit ab41017896e08d32c8a87bf172654ff2db6b6f1a)
2007-12-29Make use of [un]marshall_sec_descVolker Lendecke1-28/+17
(This used to be commit 54576733d6c0511dc7379f964b1cb035913b7c8d)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-3/+3
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij1-3/+3
descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it. (This used to be commit b41c52b9db5fc4a553b20a7a5a051a4afced9366)
2007-10-10r4917: Merge some of Derrell.Lipman@UnwiredUniverse.com obvious fixes.Jeremy Allison1-2/+7
Added text explaining units in pdbedit time fields. Jeremy. (This used to be commit 3d09c15d8f06ad06fae362291a6c986f7b6107e6)
2007-10-10r2834: Netapps can return NT_STATUS_ACCESS_DENIED when trying to return theTim Potter1-0/+3
security descriptor for a file. Return an error in this case instead of panicing trying to unpack a zero length buffer. Found by Brett Funderburg. (This used to be commit 588de0d4a84a5228d0f99f743ad327ad3b70ead1)
2003-10-23According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrindVolker Lendecke1-1/+1
reports an unitialized read which is obviously correct. And I hate valgrind errors ;-) Volker (This used to be commit e5dbf2441c2ce7e7cb62f2538786e38bb8c8bdd9)
2003-08-15get rid of some sompiler warnings on IRIXHerb Lewis1-2/+2
(This used to be commit a6a39c61e8228c8b3b7552ab3c61ec3a6a639143)
2003-05-10Fix from Tom.Lackemann@falconstor.com to correctly set the flags basedJeremy Allison1-1/+9
on the security entries sent. Jeremy. (This used to be commit 45953d59f707b58e66b980512afc7f929d360ad5)
2003-02-14Ensure that only parse_prs.c access internal members of the prs_struct.Jeremy Allison1-3/+3
Needed to move to disk based i/o later. Jeremy. (This used to be commit a823fee5b41a5b6cd4ef05aa1f85f7725bd272a5)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison1-1/+1
named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-09-17move to SAFE_FREE()Simo Sorce1-4/+4
(This used to be commit 48fc6a6cd52e01b287030fbbf0aa08a6814c5e11)
2001-07-05Renamed formal parameter fd to fnum because we're talking about SMB fileTim Potter1-10/+7
handles, not unix ones. (This used to be commit 974790e45e6774a0e8ca3f8bb73ea941457e0866)
2001-05-01Fixup smbcacls. Don't return memory already freed, don't free memory allocatedJeremy Allison1-12/+1
with talloc. Jeremy. (This used to be commit 0ae0d024f5898f7e47e4b1d4487b15447096780c)
2001-04-28- fixed some compiler warningsAndrew Tridgell1-1/+1
- fixed slprintf and vsprintf macros (This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)
2001-04-22merging from 2.2 to headAndrew Tridgell1-10/+7
(This used to be commit bfcc6f88271025760732271f03933839b1cbe0de)
2001-03-09Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison1-2/+2
We were reading the endainness in the RPC header and then never propagating it to the internal parse_structs used to parse the data. Also removed the "align" argument to prs_init as it was *always* set to 4, and if needed can be set differently on a case by case basis. Now ready for AS/U testing when Herb gets it set up :-). Jeremy. (This used to be commit 0cd37c831d79a12a10e479bf4fa89ffe64c1292a)
2001-02-22make sure we don't free non-allocated dataAndrew Tridgell1-7/+10
(This used to be commit 4a620f7037378dc042b6388ede6356c6db5d58fb)
2000-12-15Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. MergedJeremy Allison1-15/+24
in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open problem. Jeremy. (This used to be commit 0a40bc83e14c69a09948ec09bb6fc5026c4f4c14)
2000-12-04removed SACL support (as it doesn't work with w2k if you ask forAndrew Tridgell1-2/+2
SACLs) (This used to be commit 52b27d75e12eeeb52b3a93952900809c2ee0b992)
2000-12-03changed an error messageAndrew Tridgell1-1/+1
(This used to be commit f9f14a4293cecb738f733c6c845275619f7bec40)
2000-12-03getting/setting acls now works. The SIDs are still numeric, the nextAndrew Tridgell1-1/+56
step is to support usernames etc (This used to be commit 6cea1647fcbc6f5a903c691273dcec44fcda1fc4)
2000-12-03- added client support for nttrans callsAndrew Tridgell1-0/+82
- added a cli_ function for querying a security descriptor on a remote file (This used to be commit e21994ff9d512d1c9d6d360e930809b135df4cf7)