summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/clisecdesc.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:libsmb: cli_set_secdesc() only needs a const struct security_descriptorStefan Metzmacher2011-07-231-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Jul 23 11:08:19 CEST 2011 on sn-devel-104
* s3:libsmb: remove unused cli_query_secdesc_old()Stefan Metzmacher2011-07-231-48/+0
| | | | metze
* s3-libsmb: introduce new cli_query_secdesc() which returns NTSTATUSBjörn Baumbach2011-07-231-0/+50
| | | | | | Replacement for cli_query_secdesc_old() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()Björn Baumbach2011-07-231-1/+1
| | | | | | Will introduce new cli_query_secdesc() function Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/security: move secdesc.c to the top level libcli/securityAndrew Bartlett2011-05-311-0/+1
| | | | | | | This code does not rely on lp_ or other source3 only functions, so can be part of the common library. Andrew Bartlett
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* s3: Convert cli_set_secdesc to cli_transVolker Lendecke2011-01-151-34/+19
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-01-151-3/+3
|
* s3: Save the received trans2 from the inbuf in cli_transVolker Lendecke2010-08-051-0/+1
|
* s3-security: use shared SECINFO_DACL define.Günther Deschner2010-06-031-1/+1
| | | | Guenther
* s3-security: use shared SECINFO_GROUP define.Günther Deschner2010-06-031-1/+1
| | | | Guenther
* s3-security: use shared SECINFO_OWNER define.Günther Deschner2010-06-031-1/+1
| | | | Guenther
* s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2010-05-181-3/+3
| | | | Guenther
* s3: Add min_setup, min_param and min_data to cli_trans_recvVolker Lendecke2009-11-141-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.
* Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison2009-04-301-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.
* Convert cli_query_secdesc to the async trans callVolker Lendecke2008-09-091-21/+16
| | | | (This used to be commit ab41017896e08d32c8a87bf172654ff2db6b6f1a)
* Make use of [un]marshall_sec_descVolker Lendecke2007-12-291-28/+17
| | | | (This used to be commit 54576733d6c0511dc7379f964b1cb035913b7c8d)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-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)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij2007-10-101-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)
* r4917: Merge some of Derrell.Lipman@UnwiredUniverse.com obvious fixes.Jeremy Allison2007-10-101-2/+7
| | | | | | Added text explaining units in pdbedit time fields. Jeremy. (This used to be commit 3d09c15d8f06ad06fae362291a6c986f7b6107e6)
* r2834: Netapps can return NT_STATUS_ACCESS_DENIED when trying to return theTim Potter2007-10-101-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)
* According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrindVolker Lendecke2003-10-231-1/+1
| | | | | | | | reports an unitialized read which is obviously correct. And I hate valgrind errors ;-) Volker (This used to be commit e5dbf2441c2ce7e7cb62f2538786e38bb8c8bdd9)
* get rid of some sompiler warnings on IRIXHerb Lewis2003-08-151-2/+2
| | | | (This used to be commit a6a39c61e8228c8b3b7552ab3c61ec3a6a639143)
* Fix from Tom.Lackemann@falconstor.com to correctly set the flags basedJeremy Allison2003-05-101-1/+9
| | | | | | on the security entries sent. Jeremy. (This used to be commit 45953d59f707b58e66b980512afc7f929d360ad5)
* Ensure that only parse_prs.c access internal members of the prs_struct.Jeremy Allison2003-02-141-3/+3
| | | | | | Needed to move to disk based i/o later. Jeremy. (This used to be commit a823fee5b41a5b6cd4ef05aa1f85f7725bd272a5)
* Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2002-12-201-1/+1
| | | | | | named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* move to SAFE_FREE()Simo Sorce2001-09-171-4/+4
| | | | (This used to be commit 48fc6a6cd52e01b287030fbbf0aa08a6814c5e11)
* Renamed formal parameter fd to fnum because we're talking about SMB fileTim Potter2001-07-051-10/+7
| | | | | handles, not unix ones. (This used to be commit 974790e45e6774a0e8ca3f8bb73ea941457e0866)
* Fixup smbcacls. Don't return memory already freed, don't free memory allocatedJeremy Allison2001-05-011-12/+1
| | | | | | with talloc. Jeremy. (This used to be commit 0ae0d024f5898f7e47e4b1d4487b15447096780c)
* - fixed some compiler warningsAndrew Tridgell2001-04-281-1/+1
| | | | | - fixed slprintf and vsprintf macros (This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)
* merging from 2.2 to headAndrew Tridgell2001-04-221-10/+7
| | | | (This used to be commit bfcc6f88271025760732271f03933839b1cbe0de)
* Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2001-03-091-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)
* make sure we don't free non-allocated dataAndrew Tridgell2001-02-221-7/+10
| | | | (This used to be commit 4a620f7037378dc042b6388ede6356c6db5d58fb)
* Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. MergedJeremy Allison2000-12-151-15/+24
| | | | | | | in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open problem. Jeremy. (This used to be commit 0a40bc83e14c69a09948ec09bb6fc5026c4f4c14)
* removed SACL support (as it doesn't work with w2k if you ask forAndrew Tridgell2000-12-041-2/+2
| | | | | SACLs) (This used to be commit 52b27d75e12eeeb52b3a93952900809c2ee0b992)
* changed an error messageAndrew Tridgell2000-12-031-1/+1
| | | | (This used to be commit f9f14a4293cecb738f733c6c845275619f7bec40)
* getting/setting acls now works. The SIDs are still numeric, the nextAndrew Tridgell2000-12-031-1/+56
| | | | | step is to support usernames etc (This used to be commit 6cea1647fcbc6f5a903c691273dcec44fcda1fc4)
* - added client support for nttrans callsAndrew Tridgell2000-12-031-0/+82
- added a cli_ function for querying a security descriptor on a remote file (This used to be commit e21994ff9d512d1c9d6d360e930809b135df4cf7)