summaryrefslogtreecommitdiffstats
path: root/source3/lib/secdesc.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-lib: add marshall_sec_desc_buf and unmarshall_sec_desc_buf helpers.Günther Deschner2009-02-241-0/+63
| | | | Guenther
* Add iconv_convenience argument to size functions.Jelmer Vernooij2009-01-011-2/+2
|
* s3: Refactor getting sec_info from a security_descriptor into separate functionTim Prouty2008-12-091-0/+27
|
* Fix a subtle logic bug in the adaption of se_create_child_secdesc(), pass ↵Jeremy Allison2008-11-081-0/+3
| | | | | | RAW-ACL inheritance tests. Only access masks for SD get/set left to fix. Jeremy.
* If we didn't inherit any ACE's the ACE pointer should be NULL.Jeremy Allison2008-11-061-4/+6
| | | | Jeremy.
* Start factoring out the inheritance differences.Jeremy Allison2008-11-061-2/+1
| | | | Jeremy.
* Get closer to passing S4 RAW-ACLs.Jeremy Allison2008-10-311-3/+3
| | | | Jeremy.
* Inherit Windows ACLs on a new directory.Jeremy Allison2008-10-301-3/+3
| | | | Jeremy.
* Allow a new file to inherit the Windows ACL from its parent.Jeremy Allison2008-10-291-63/+131
| | | | | Now to do the same for directories. Jeremy.
* Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison2008-10-091-12/+1
| | | | Jeremy.
* s3-nbt: fix remaining callers of ndr_push/pull_struct_blob.Günther Deschner2008-09-231-2/+2
| | | | Guenther
* Remove tiny code duplicationVolker Lendecke2007-12-291-29/+0
| | | | | ndr_size_security_descriptor does the same as sec_desc_size (This used to be commit bc3bd7a8e7c6e9e27acb195c86abb92c0f53112f)
* Make [un]marshall_sec_desc use librpc/ndrVolker Lendecke2007-12-291-25/+29
| | | | (This used to be commit 387936ec3952f88d46df2d4943bbc4e408ad2bb5)
* Remove tiny code duplicationVolker Lendecke2007-12-291-4/+4
| | | | | sid_size did the same as ndr_size_dom_sid (This used to be commit 8aec5d09ba023413bd8ecbdfbc7d23904df94389)
* Some C++ fixesVolker Lendecke2007-12-211-4/+8
| | | | (This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)
* Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke2007-12-151-17/+8
| | | | (This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
* 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)
* r25534: Apply some constVolker Lendecke2007-10-101-1/+1
| | | | | | | Why? It moves these structs from the data into the text segment, so they will never been copy-on-write copied. Not much, but as in German you say "Kleinvieh macht auch Mist...." (This used to be commit 0141e64ad4972232de867137064d0dae62da22ee)
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r22589: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison2007-10-101-2/+6
| | | | | Jeremy. (This used to be commit 8968808c3b5b0208cbad9ac92eaf948f2c546dd9)
* r19963: Add 'registry shares = yes' and registry key security descriptors.Volker Lendecke2007-10-101-4/+61
| | | | (This used to be commit 6cab254c49e07b11c170511ec613f0f33914c3e6)
* r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij2007-10-101-44/+37
| | | | | | | | | | descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it. (This used to be commit b41c52b9db5fc4a553b20a7a5a051a4afced9366)
* r14280: Fix Coverity #129 and 130: check before dereferencing a pointer. ThisJim McDonough2007-10-101-4/+4
| | | | | | was especially silly as we checked immediately _after_ dereferencing it :-/ (This used to be commit 7ebfe2cb26b72d7fac397cfe3ceb14f244388224)
* r14249: We've dereferenced the_acl before, no point in checking.Volker Lendecke2007-10-101-1/+1
| | | | | | | Fix Coverity bug # 128. Volker (This used to be commit 84e9e73f3c71a0ccef76d56bc72dcd21160ed286)
* r14002: Quick fix for Coverity CID #12.Jeremy Allison2007-10-101-0/+4
| | | | | Jeremy (This used to be commit 7c6e274cd578521192a0b0c4e6a4fb5dc7d722ac)
* r13316: Let the carnage begin....Gerald Carter2007-10-101-0/+10
| | | | | Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
* r6263: Get rid of generate_wellknown_sids, they are const static and ↵Volker Lendecke2007-10-101-2/+2
| | | | | | | | | initializable statically. Volker (This used to be commit 3493d9f383567d286e69c0e60c0708ed400a04d9)
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-3/+3
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* split some security related functions in their own files.Simo Sorce2003-10-061-0/+522
(no need to include all of smbd files to use some basic sec functions) also minor compile fixes (This used to be commit 66074d3b097d8cf2a231bf08c7f4db62da68189d)