Volker Lendecke
bc3bd7a8e7
Remove tiny code duplication
...
ndr_size_security_descriptor does the same as sec_desc_size
2007-12-29 23:13:26 +01:00
Volker Lendecke
387936ec39
Make [un]marshall_sec_desc use librpc/ndr
2007-12-29 23:13:17 +01:00
Volker Lendecke
8aec5d09ba
Remove tiny code duplication
...
sid_size did the same as ndr_size_dom_sid
2007-12-29 23:12:51 +01:00
Volker Lendecke
5c392c4c6e
Some C++ fixes
2007-12-21 09:58:21 +01:00
Volker Lendecke
bb35e794ec
Replace sid_string_static by sid_string_dbg in DEBUGs
2007-12-15 22:09:36 +01:00
Jeremy Allison
f35a266b3c
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
2007-10-18 17:40:25 -07:00
Volker Lendecke
0141e64ad4
r25534: Apply some const
...
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...."
2007-10-10 12:31:12 -05:00
Andrew Tridgell
87c91e4362
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
2007-10-10 12:28:27 -05:00
Jeremy Allison
407e6e695b
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
2007-10-10 12:28:20 -05:00
Jeremy Allison
8968808c3b
r22589: Make TALLOC_ARRAY consistent across all uses.
...
Jeremy.
2007-10-10 12:19:49 -05:00
Volker Lendecke
6cab254c49
r19963: Add 'registry shares = yes' and registry key security descriptors.
2007-10-10 12:16:16 -05:00
Jelmer Vernooij
b41c52b9db
r18745: Use the Samba4 data structures for security descriptors and security descriptor
...
buffers.
Make security access masks simply a uint32 rather than a structure
with a uint32 in it.
2007-10-10 12:00:54 -05:00
Jim McDonough
7ebfe2cb26
r14280: Fix Coverity #129 and 130: check before dereferencing a pointer. This
...
was especially silly as we checked immediately _after_ dereferencing it
:-/
2007-10-10 11:15:23 -05:00
Volker Lendecke
84e9e73f3c
r14249: We've dereferenced the_acl before, no point in checking.
...
Fix Coverity bug # 128.
Volker
2007-10-10 11:15:20 -05:00
Jeremy Allison
7c6e274cd5
r14002: Quick fix for Coverity CID #12 .
...
Jeremy
2007-10-10 11:11:04 -05:00
Gerald Carter
17e63ac4ed
r13316: Let the carnage begin....
...
Sync with trunk as off r13315
2007-10-10 11:06:23 -05:00
Volker Lendecke
3493d9f383
r6263: Get rid of generate_wellknown_sids, they are const static and initializable
...
statically.
Volker
2007-10-10 10:56:33 -05:00
Jeremy Allison
620f2e608f
r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
...
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
2007-10-10 10:53:32 -05:00
Simo Sorce
66074d3b09
split some security related functions in their own files.
...
(no need to include all of smbd files to use some basic sec functions)
also minor compile fixes
-