1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-09 00:23:50 +03:00
Commit Graph

31 Commits

Author SHA1 Message Date
Gerald Carter
23a8828613 r18560: * Add in the winreg and initshutdown IDL files
* rename PI_SHUTDOWN from include/smb.h to PI_INITSHUTDOWN
  for compatibility with pidl libndr output
2007-10-10 11:51:50 -05:00
Gerald Carter
3da9f80c28 r18271: Big change:
* autogenerate lsa ndr code
* rename 'enum SID_NAME_USE' to 'enum lsa_SidType'
* merge a log more security descriptor functions from
  gen_ndr/ndr_security.c in SAMBA_4_0

The most embarassing thing is the "#define strlen_m strlen"
We need a real implementation in SAMBA_3_0 which I'll work on
after this code is in.
2007-10-10 11:51:18 -05:00
Jelmer Vernooij
1115745cae r18188: merge 3.0-libndr branch 2007-10-10 11:43:56 -05:00
Volker Lendecke
fd82f185a2 r17363: Some C++ warnings 2007-10-10 11:38:28 -05:00
Jeremy Allison
9dafb7f48c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
to do the upper layer directories but this is what
everyone is waiting for....

Jeremy.
2007-10-10 11:19:14 -05:00
Jeremy Allison
ee2b2d96b6 r16644: Fix bug #3887 reported by jason@ncac.gwu.edu
by converting the lookup_XX functions to correctly
return SID_NAME_TYPE enums.
Jeremy.
2007-10-10 11:19:05 -05:00
Jeremy Allison
a912ef0d97 r16585: Fix Klocwork #1976. Possible null deref.
Jeremy.
2007-10-10 11:19:01 -05:00
Jeremy Allison
be888a3cda r16546: Fix bug #3865 reported by jason@ncac.gwu.edu.
Jeremy.
2007-10-10 11:18:59 -05:00
Jim McDonough
cb370cc28c r14408: More on fix for coverity #36. The previous fix would cause us to
marshall a buffer based on an unknown size.  Zero out the sec_desc
buffer to prevent this.  This is still not getting proper results for
a registry security descriptor (everything gets ACCESS DENIED), but
at least we aren't blowing out memory now...
2007-10-10 11:15:29 -05:00
Jeremy Allison
d241f74e06 r14406: Disable this call until we can sort out how this
should be done correctly. Fix coverity #37.
Jeremy.
2007-10-10 11:15:29 -05:00
Jeremy Allison
f65d7afe19 r14387: Try and fix the coverity issues (#53, #54) with negative
sink by ensuring all uses of rpcstr_push are consistent
with a size_t dest size arg.
Jeremy.
2007-10-10 11:15:27 -05:00
Simo Sorce
aa26642ee1 r14377: Fix coverity #4 for 3_0 too 2007-10-10 11:15:27 -05:00
Volker Lendecke
075e784491 r14367: Not that I fully understand what's going on here, but the code as it was here
was clearly buggy as Coverity showed with bug id #36.

According to samba4 idl the sec_desc_buf is [in,out,ref], so we _have_ to ship
it in the request.

Volker
2007-10-10 11:15:27 -05:00
Jeremy Allison
2a2b966b7b r14261: Fix coverity #38. No null deref.
Jeremy.
2007-10-10 11:15:21 -05:00
Volker Lendecke
e1c617adae r14224: Fix Coverity bug # 6 2007-10-10 11:15:18 -05:00
Jeremy Allison
54c899ef3b r14212: Definately fixes a coverity issue but I've lost track
of the coverity id.... Oh well - definately needs a fix.
Jeremy.
2007-10-10 11:15:16 -05:00
Jeremy Allison
6f4804a265 r14196: Move to using talloc, not malloc for all policy handles.
Jeremy
2007-10-10 11:15:16 -05:00
Jeremy Allison
8aca76f035 r14194: Coverity bug #35. Fix uninitialized pipe_hnd.
Jeremy.
2007-10-10 11:15:16 -05:00
Jeremy Allison
6b3dc96dcf r14192: Don't forget to correctly initialize pipe_hnd.
Coverity fix #34.
Jeremy.
2007-10-10 11:15:16 -05:00
Jeremy Allison
144fda3637 r14190: Coverity bug #33. Missing initialization of pipe_hnd.
Jeremy.
2007-10-10 11:15:15 -05:00
Jeremy Allison
218c924d91 r14188: Coverity fix #32. Don't deref null.
Jeremy.
2007-10-10 11:15:15 -05:00
Jeremy Allison
014a3c8661 r14186: Coverity fix #31. Don't deref null.
Jeremy.
2007-10-10 11:15:15 -05:00
Günther Deschner
0ae3fddf95 r13864: Some cleanup and the samr set security object function client-side.
Guenther
2007-10-10 11:10:57 -05:00
Gerald Carter
b65be8874a r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()
macro which sets the freed pointer to NULL.
2007-10-10 11:10:14 -05:00
Jeremy Allison
9a08383707 r13491: Fix bug # 3498 from jason@ncac.gwu.edu. Unsigned comparison
with < 0.
Jeremy.
2007-10-10 11:10:06 -05:00
Gerald Carter
17e63ac4ed r13316: Let the carnage begin....
Sync with trunk as off r13315
2007-10-10 11:06:23 -05:00
Jeremy Allison
d720867a78 r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4
x86_64 box.
Jeremy.
2007-10-10 11:05:02 -05:00
Gerald Carter
d404919d92 r11125: remove unused variables 2007-10-10 11:05:01 -05:00
Gerald Carter
d3a52900ec r11124: Commit Chris' fixes for libmsrpc after the rpc_client
rewrite.  His comments:

        I've gotten the libmsrpc code to work with TRUNK.
        I've put the patch at:
        www.uoguelph.ca/~cnicholl/libmsrpc_trunk_v1.patch.gz

        It is from revision 11093.

        I also fixed a minor bug in the svcctl code, the timeout
        parameter for all the control functions was working
        in milliseconds instead of seconds.

Also fixed bug in Makefile when building libmsrpc.a
2007-10-10 11:05:01 -05:00
Gerald Carter
adba19fb48 r10005: forgot to remove one object file 2007-10-10 11:03:31 -05:00
Gerald Carter
32bebc452d r10003: in the rush for 10k, I forgot to run add the rest of Chris' libmsrpc files 2007-10-10 11:03:30 -05:00