Volker Lendecke
c09877113d
s3: Fix Coverity ID 2286: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:44 +01:00
Volker Lendecke
31ff8f38e7
s3: Fix Coverity ID 2287: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_CreateKey.
2011-03-15 11:10:43 +01:00
Volker Lendecke
09677d664f
s3: Fix Coverity ID 2288: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:43 +01:00
Volker Lendecke
cc90415062
s3: Fix Coverity ID 2289: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_OpenKey.
2011-03-15 11:10:42 +01:00
Volker Lendecke
4f34955e2c
s3: Fix Coverity ID 2290: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteKey.
2011-03-15 11:10:42 +01:00
Volker Lendecke
420be02a60
s3: Read uidNumber/gidNumber in pdb_ads_sid_to_id
...
Question: How shall we allocate those? Something like the rid allocator?
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Mar 15 09:59:55 CET 2011 on sn-devel-104
2011-03-15 09:59:55 +01:00
Volker Lendecke
b0667f7fda
s3: Remove some unused code
2011-03-15 09:15:36 +01:00
Volker Lendecke
a4d7b3a1df
s3: "hex_encode" does the same as "binary_string"
2011-03-15 09:15:35 +01:00
Andrew Tridgell
7c83f69383
s4-rpc: added dcesrv_call_account_name()
...
this will be used by openchange
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Mar 15 06:14:00 CET 2011 on sn-devel-104
2011-03-15 06:14:00 +01:00
Andrew Tridgell
b2b41a5087
libcli: protect access_check.h against double inclusion
...
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Mar 15 05:07:01 CET 2011 on sn-devel-104
2011-03-15 05:07:01 +01:00
Andrew Tridgell
1404a9fe72
waf: ensure that MAKEFLAGS is set before parsing it
2011-03-15 13:56:46 +11:00
Andrew Tridgell
500c854f79
build: added simple header handling for our libraries
...
we don't need header munging for tdb/talloc etc
2011-03-15 13:09:30 +11:00
Andrew Tridgell
af28facc03
s3-waf: enable public_headers_allow_broken
2011-03-15 12:22:20 +11:00
Andrew Tridgell
4907695012
build: removed mkdir of public headers directory
...
not needed now that we have public_headers_allow_broken
2011-03-15 12:22:20 +11:00
Andrew Tridgell
fd328f8f81
build: added public_headers_allow_broken option
...
the s3 waf build will use this to say that we should allow public
headers that contain references to non-public headers. In the s4 build
that is not allowed, but the s3 build does not yet have clean public
headers
2011-03-15 12:22:20 +11:00
Andrew Tridgell
7a57f72ef4
s3-waf: enable public header building in s3
2011-03-15 12:22:20 +11:00
Andrew Tridgell
023296423a
waf: auto-create include paths if needed
2011-03-15 12:22:20 +11:00
Andrew Tridgell
20ec0b6629
waf: make mkdir_p() a bit more robust
2011-03-15 12:22:20 +11:00
Andrew Tridgell
72ca88d604
build: fixed cflags for test_header
...
when using system libraries, we need the right cflags
2011-03-15 12:22:20 +11:00
Andrew Tridgell
b4d618cc6f
waf: build headers in separate 'headers' build group
2011-03-15 12:22:20 +11:00
Andrew Tridgell
f303db5bfd
build: force _SAMBA_BUILD_==4 to be true in public headers
...
for s4 public headers, this is always true
2011-03-15 12:22:20 +11:00
Andrew Tridgell
827d020f7e
ldb: only install headers if we are not building as a private lib
2011-03-15 12:22:20 +11:00
Andrew Tridgell
c56e3ccfc9
lib: don't install public headers if a private library
...
for talloc/tevent/tdb, only install headers if we are doing a
standalone build
2011-03-15 12:22:20 +11:00
Andrew Tridgell
f8655f4621
waf: always generate public headers in the build tree
...
this allows us to properly test our public headers before install
2011-03-15 12:22:19 +11:00
Andrew Tridgell
c3f04a9f35
build: mark some private includes as OK in public headers
...
these are includes which are protected by #ifdefs which means they
don't get exposed to public users
2011-03-15 12:22:19 +11:00
Andrew Tridgell
7dc049e5a2
rpc: make ndr/ndr_svcctl.h public
...
this is used by public header gen_ndr/ndr_svcctl.h
2011-03-15 12:22:19 +11:00
Andrew Tridgell
803136a184
s4-rpc: make common/proto.h public
...
this is needed by public header common.h
2011-03-15 12:22:19 +11:00
Andrew Tridgell
793ffea034
s4-policy: don't make s4 policy.h public
...
if we are going to make GPO headers public, it should be from libgpo/
2011-03-15 12:22:19 +11:00
Andrew Tridgell
bc99b62b3a
ldb: use include <> form for public headers
2011-03-15 12:22:19 +11:00
Andrew Tridgell
6c6ab50a40
waf: build substituted public headers in build tree
...
the bin/default/include/public directory will contain headers that are
ready to install
2011-03-15 12:22:19 +11:00
Andrew Tridgell
5ca9db07f5
lib: fixed header paths
...
this is a public header, and needs to use sane paths for the public
header creation
2011-03-15 12:22:19 +11:00
Andrew Tridgell
7293c370d3
talloc: use <talloc.h> not "talloc.h"
...
this ensures we use the right header
2011-03-15 12:22:19 +11:00
Andrew Tridgell
7b948a39e1
tdb: use public_headers to install header files
2011-03-15 12:22:19 +11:00
Andrew Tridgell
0a0ebd73fb
tdb: use system include style for system headers
2011-03-15 12:22:19 +11:00
Andrew Tridgell
f2bcb7028e
waf: moved header file handling into its own module
...
It is getting quite complex now, and shouldn't just be mixed in with
everything else
2011-03-15 12:22:19 +11:00
Andrew Tridgell
ba9ae79e0b
build: added automated testing of our public headers
...
we generate test_headers.h, which includes all of our public headers,
and check it compiles
2011-03-15 12:22:19 +11:00
Andrew Tridgell
dc42ad02f9
build: added include/public to the list of include paths
...
this allows us to use the public name of any header in the source tree
2011-03-15 12:22:19 +11:00
Andrew Tridgell
a18a556237
tevent: use public_headers for tevent.h
2011-03-15 12:22:18 +11:00
Andrew Tridgell
e3e1eada45
talloc: use public_headers to install talloc.h and pytalloc.h
...
this allows them to be included in the test_headers.h generated header
2011-03-15 12:22:18 +11:00
Andrew Tridgell
03aebc2df8
wafsamba: keep a list of public headers
...
this will be used to construct test_headers.h, for testing our public
headers
2011-03-15 12:22:18 +11:00
Andrew Tridgell
1c0e539cbb
wafsamba: don't follow symlinks outside the build tree
...
when computing stale files, don't follow symlinks that are not within
the build tree
2011-03-15 12:22:18 +11:00
Andrew Tridgell
59be7265ad
wafsamba: added global_include option
...
this allows you to disable the global include additions. We will use
this for testing our public headers without including any of the
source tree directories
2011-03-15 12:22:18 +11:00
Andrew Tridgell
4f52becec1
build: install public headers in the build tree
...
this symlinks our public headers into the build tree, which will allow
us to refer to the public headers by their public name inside the
source tree.
2011-03-15 12:22:18 +11:00
Andrew Tridgell
b7b2426fe3
ldb: don't install ldb_wrap.h twice
2011-03-15 12:22:18 +11:00
Andrew Tridgell
36b48ad9a2
build: added placeholder files for public header directories
...
this will allow us to 'install' public headers into include/public in
the build. That means we can use the same include paths for our public
headers inside Samba as external applications. This should make it
less likely that we will break our public includes
2011-03-15 12:22:18 +11:00
Andrew Tridgell
48ea48d503
s4-rpc: added public APIs for dce_call authentication
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-15 12:22:18 +11:00
Jeremy Allison
a6d07a8e69
Re-enable base.tcondev test for S3, now we pass it correctly.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Mar 15 00:59:37 CET 2011 on sn-devel-104
2011-03-15 00:59:37 +01:00
Jeremy Allison
e59a950c04
Fix bug #8005 - smbtorture4 BASE-TCONDEV fails when tested on Samba
...
When pulling non-aligned ucs2 strings, we neglected to add in the
pad byte to the buffer length we've eaten. This caused the device
string in TCONX (which seems to be one of the few places that uses
non-aligned ucs2 strings) to be incorrectly read.
Volker please check.
Jeremy.
2011-03-14 16:12:31 -07:00
Jelmer Vernooij
431853c846
Merge new lorikeet heimdal, revision 85ed7247f515770c73b1f1ced1739f6ce19d75d2
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Mar 14 23:53:46 CET 2011 on sn-devel-104
2011-03-14 23:53:46 +01:00
Volker Lendecke
8dfa224c13
s3: Change tldap_entry_attributes to the "array,count" convention
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Mar 14 22:02:35 CET 2011 on sn-devel-104
2011-03-14 22:02:35 +01:00