kai/samba.git
8 years agoheaders: include Python.h first to avoid warnings
Andrew Tridgell [Wed, 16 Mar 2011 06:42:02 +0000 (17:42 +1100)]
headers: include Python.h first to avoid warnings

8 years agos3: Fix a cut&paste error in pdb_ads_connect
Volker Lendecke [Wed, 16 Mar 2011 06:31:48 +0000 (07:31 +0100)]
s3: Fix a cut&paste error in pdb_ads_connect

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Mar 16 08:22:28 CET 2011 on sn-devel-104

8 years agos3: Use jenkins hash for str_checksum, fix bug 8010
Volker Lendecke [Tue, 15 Mar 2011 08:30:22 +0000 (09:30 +0100)]
s3: Use jenkins hash for str_checksum, fix bug 8010

From the bugreport:

I have a folder with ~90 photos: IMG_XXXX.JPG where XXXX is a four digit
number, almost consecutive (photos from camera for one day).
Current implementation gives about 30 different checksums for this set of
files.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Mar 16 01:15:41 CET 2011 on sn-devel-104

8 years agolibcli: openchange doesn't need these headers any more
Andrew Tridgell [Tue, 15 Mar 2011 21:47:11 +0000 (08:47 +1100)]
libcli: openchange doesn't need these headers any more

thanks to Simo for pointing this out

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Mar 16 00:25:10 CET 2011 on sn-devel-104

8 years agos3-build: try to silence annoying "Ignoring invalid value 'vlp' for parameter 'printing'"
Günther Deschner [Tue, 15 Mar 2011 21:51:58 +0000 (22:51 +0100)]
s3-build: try to silence annoying "Ignoring invalid value 'vlp' for parameter 'printing'"
warning on the buildfarm.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 15 23:38:43 CET 2011 on sn-devel-104

8 years agos4-rap: remove last iconv_convenience traces from rap client and test code.
Günther Deschner [Tue, 15 Mar 2011 16:40:39 +0000 (17:40 +0100)]
s4-rap: remove last iconv_convenience traces from rap client and test code.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 15 22:01:51 CET 2011 on sn-devel-104

8 years agos4-rap: decouple rap client code from torture binary, add new LIBCLI_RAP subsystem.
Günther Deschner [Tue, 15 Mar 2011 16:28:51 +0000 (17:28 +0100)]
s4-rap: decouple rap client code from torture binary, add new LIBCLI_RAP subsystem.

Guenther

8 years agos4-smbtorture: check for username and computername presence in rap_netsessionenum...
Günther Deschner [Tue, 15 Mar 2011 15:35:58 +0000 (16:35 +0100)]
s4-smbtorture: check for username and computername presence in rap_netsessionenum test.

Guenther

8 years agos3-libsmb: only include rap client when needed.
Günther Deschner [Thu, 24 Feb 2011 09:46:55 +0000 (10:46 +0100)]
s3-libsmb: only include rap client when needed.

Guenther

8 years agos3-build: share smbtorture4 build rules with s3-waf build.
Günther Deschner [Tue, 15 Mar 2011 10:32:03 +0000 (11:32 +0100)]
s3-build: share smbtorture4 build rules with s3-waf build.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 15 16:10:17 CET 2011 on sn-devel-104

8 years agolibwbclient: CID 2199 -- NULL pointer return
Volker Lendecke [Tue, 15 Mar 2011 10:19:57 +0000 (11:19 +0100)]
libwbclient: CID 2199 -- NULL pointer return

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Mar 15 12:08:48 CET 2011 on sn-devel-104

8 years agos3: Fix Coverity ID 2278: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 10:09:26 +0000 (11:09 +0100)]
s3: Fix Coverity ID 2278: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.

8 years agos3: Fix Coverity ID 2279: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 10:08:12 +0000 (11:08 +0100)]
s3: Fix Coverity ID 2279: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.

8 years agos3: Fix Coverity ID 2280: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 10:06:49 +0000 (11:06 +0100)]
s3: Fix Coverity ID 2280: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.

8 years agos3: Fix Coverity ID 2281: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 10:05:48 +0000 (11:05 +0100)]
s3: Fix Coverity ID 2281: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.

8 years agos3: Fix Coverity ID 2282: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 10:04:23 +0000 (11:04 +0100)]
s3: Fix Coverity ID 2282: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.

8 years agos3: Fix Coverity ID 2283: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 10:02:57 +0000 (11:02 +0100)]
s3: Fix Coverity ID 2283: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_OpenKey.

8 years agos3: Fix Coverity ID 2284: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 10:00:13 +0000 (11:00 +0100)]
s3: Fix Coverity ID 2284: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteValue.

8 years agos3: Fix Coverity ID 2285: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 09:58:55 +0000 (10:58 +0100)]
s3: Fix Coverity ID 2285: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteValue.

8 years agos3: Fix Coverity ID 2286: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 09:56:37 +0000 (10:56 +0100)]
s3: Fix Coverity ID 2286: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.

8 years agos3: Fix Coverity ID 2287: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 09:54:59 +0000 (10:54 +0100)]
s3: Fix Coverity ID 2287: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_CreateKey.

8 years agos3: Fix Coverity ID 2288: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 09:52:49 +0000 (10:52 +0100)]
s3: Fix Coverity ID 2288: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.

8 years agos3: Fix Coverity ID 2289: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 09:49:00 +0000 (10:49 +0100)]
s3: Fix Coverity ID 2289: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_OpenKey.

8 years agos3: Fix Coverity ID 2290: Uninitialized read
Volker Lendecke [Tue, 15 Mar 2011 09:47:02 +0000 (10:47 +0100)]
s3: Fix Coverity ID 2290: Uninitialized read

We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteKey.

8 years agos3: Read uidNumber/gidNumber in pdb_ads_sid_to_id
Volker Lendecke [Mon, 14 Mar 2011 20:47:18 +0000 (21:47 +0100)]
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

8 years agos3: Remove some unused code
Volker Lendecke [Mon, 14 Mar 2011 07:10:13 +0000 (08:10 +0100)]
s3: Remove some unused code

8 years agos3: "hex_encode" does the same as "binary_string"
Volker Lendecke [Mon, 14 Mar 2011 07:09:21 +0000 (08:09 +0100)]
s3: "hex_encode" does the same as "binary_string"

8 years agos4-rpc: added dcesrv_call_account_name()
Andrew Tridgell [Tue, 15 Mar 2011 03:43:24 +0000 (14:43 +1100)]
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

8 years agolibcli: protect access_check.h against double inclusion
Andrew Tridgell [Tue, 15 Mar 2011 03:05:42 +0000 (14:05 +1100)]
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

8 years agowaf: ensure that MAKEFLAGS is set before parsing it
Andrew Tridgell [Tue, 15 Mar 2011 02:56:46 +0000 (13:56 +1100)]
waf: ensure that MAKEFLAGS is set before parsing it

8 years agobuild: added simple header handling for our libraries
Andrew Tridgell [Tue, 15 Mar 2011 02:09:30 +0000 (13:09 +1100)]
build: added simple header handling for our libraries

we don't need header munging for tdb/talloc etc

8 years agos3-waf: enable public_headers_allow_broken
Andrew Tridgell [Tue, 8 Mar 2011 05:44:17 +0000 (16:44 +1100)]
s3-waf: enable public_headers_allow_broken

8 years agobuild: removed mkdir of public headers directory
Andrew Tridgell [Tue, 8 Mar 2011 05:43:49 +0000 (16:43 +1100)]
build: removed mkdir of public headers directory

not needed now that we have public_headers_allow_broken

8 years agobuild: added public_headers_allow_broken option
Andrew Tridgell [Tue, 8 Mar 2011 05:42:42 +0000 (16:42 +1100)]
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

8 years agos3-waf: enable public header building in s3
Andrew Tridgell [Tue, 8 Mar 2011 02:01:21 +0000 (13:01 +1100)]
s3-waf: enable public header building in s3

8 years agowaf: auto-create include paths if needed
Andrew Tridgell [Fri, 4 Mar 2011 06:11:33 +0000 (17:11 +1100)]
waf: auto-create include paths if needed

8 years agowaf: make mkdir_p() a bit more robust
Andrew Tridgell [Fri, 4 Mar 2011 06:11:20 +0000 (17:11 +1100)]
waf: make mkdir_p() a bit more robust

8 years agobuild: fixed cflags for test_header
Andrew Tridgell [Thu, 3 Mar 2011 07:06:00 +0000 (18:06 +1100)]
build: fixed cflags for test_header

when using system libraries, we need the right cflags

8 years agowaf: build headers in separate 'headers' build group
Andrew Tridgell [Thu, 3 Mar 2011 06:41:45 +0000 (17:41 +1100)]
waf: build headers in separate 'headers' build group

8 years agobuild: force _SAMBA_BUILD_==4 to be true in public headers
Andrew Tridgell [Thu, 3 Mar 2011 06:22:38 +0000 (17:22 +1100)]
build: force _SAMBA_BUILD_==4 to be true in public headers

for s4 public headers, this is always true

8 years agoldb: only install headers if we are not building as a private lib
Andrew Tridgell [Thu, 3 Mar 2011 06:21:45 +0000 (17:21 +1100)]
ldb: only install headers if we are not building as a private lib

8 years agolib: don't install public headers if a private library
Andrew Tridgell [Thu, 3 Mar 2011 06:19:33 +0000 (17:19 +1100)]
lib: don't install public headers if a private library

for talloc/tevent/tdb, only install headers if we are doing a
standalone build

8 years agowaf: always generate public headers in the build tree
Andrew Tridgell [Thu, 3 Mar 2011 06:18:58 +0000 (17:18 +1100)]
waf: always generate public headers in the build tree

this allows us to properly test our public headers before install

8 years agobuild: mark some private includes as OK in public headers
Andrew Tridgell [Thu, 3 Mar 2011 05:34:57 +0000 (16:34 +1100)]
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

8 years agorpc: make ndr/ndr_svcctl.h public
Andrew Tridgell [Thu, 3 Mar 2011 05:34:13 +0000 (16:34 +1100)]
rpc: make ndr/ndr_svcctl.h public

this is used by public header gen_ndr/ndr_svcctl.h

8 years agos4-rpc: make common/proto.h public
Andrew Tridgell [Thu, 3 Mar 2011 05:33:12 +0000 (16:33 +1100)]
s4-rpc: make common/proto.h public

this is needed by public header common.h

8 years agos4-policy: don't make s4 policy.h public
Andrew Tridgell [Thu, 3 Mar 2011 05:32:39 +0000 (16:32 +1100)]
s4-policy: don't make s4 policy.h public

if we are going to make GPO headers public, it should be from libgpo/

8 years agoldb: use include <> form for public headers
Andrew Tridgell [Thu, 3 Mar 2011 05:31:00 +0000 (16:31 +1100)]
ldb: use include <> form for public headers

8 years agowaf: build substituted public headers in build tree
Andrew Tridgell [Thu, 3 Mar 2011 05:30:33 +0000 (16:30 +1100)]
waf: build substituted public headers in build tree

the bin/default/include/public directory will contain headers that are
ready to install

8 years agolib: fixed header paths
Andrew Tridgell [Thu, 3 Mar 2011 05:29:15 +0000 (16:29 +1100)]
lib: fixed header paths

this is a public header, and needs to use sane paths for the public
header creation

8 years agotalloc: use <talloc.h> not "talloc.h"
Andrew Tridgell [Thu, 3 Mar 2011 05:28:14 +0000 (16:28 +1100)]
talloc: use <talloc.h> not "talloc.h"

this ensures we use the right header

8 years agotdb: use public_headers to install header files
Andrew Tridgell [Thu, 3 Mar 2011 05:27:44 +0000 (16:27 +1100)]
tdb: use public_headers to install header files

8 years agotdb: use system include style for system headers
Andrew Tridgell [Thu, 3 Mar 2011 05:27:26 +0000 (16:27 +1100)]
tdb: use system include style for system headers

8 years agowaf: moved header file handling into its own module
Andrew Tridgell [Thu, 3 Mar 2011 02:23:13 +0000 (13:23 +1100)]
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

8 years agobuild: added automated testing of our public headers
Andrew Tridgell [Mon, 28 Feb 2011 07:57:25 +0000 (18:57 +1100)]
build: added automated testing of our public headers

we generate test_headers.h, which includes all of our public headers,
and check it compiles

8 years agobuild: added include/public to the list of include paths
Andrew Tridgell [Mon, 28 Feb 2011 07:56:33 +0000 (18:56 +1100)]
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

8 years agotevent: use public_headers for tevent.h
Andrew Tridgell [Mon, 28 Feb 2011 07:56:05 +0000 (18:56 +1100)]
tevent: use public_headers for tevent.h

8 years agotalloc: use public_headers to install talloc.h and pytalloc.h
Andrew Tridgell [Mon, 28 Feb 2011 07:55:52 +0000 (18:55 +1100)]
talloc: use public_headers to install talloc.h and pytalloc.h

this allows them to be included in the test_headers.h generated header

8 years agowafsamba: keep a list of public headers
Andrew Tridgell [Mon, 28 Feb 2011 07:55:12 +0000 (18:55 +1100)]
wafsamba: keep a list of public headers

this will be used to construct test_headers.h, for testing our public
headers

8 years agowafsamba: don't follow symlinks outside the build tree
Andrew Tridgell [Mon, 28 Feb 2011 07:53:36 +0000 (18:53 +1100)]
wafsamba: don't follow symlinks outside the build tree

when computing stale files, don't follow symlinks that are not within
the build tree

8 years agowafsamba: added global_include option
Andrew Tridgell [Mon, 28 Feb 2011 07:52:36 +0000 (18:52 +1100)]
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

8 years agobuild: install public headers in the build tree
Andrew Tridgell [Mon, 28 Feb 2011 04:48:25 +0000 (15:48 +1100)]
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.

8 years agoldb: don't install ldb_wrap.h twice
Andrew Tridgell [Mon, 28 Feb 2011 04:46:41 +0000 (15:46 +1100)]
ldb: don't install ldb_wrap.h twice

8 years agobuild: added placeholder files for public header directories
Andrew Tridgell [Mon, 28 Feb 2011 02:28:54 +0000 (13:28 +1100)]
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

8 years agos4-rpc: added public APIs for dce_call authentication
Andrew Tridgell [Fri, 25 Feb 2011 02:13:01 +0000 (13:13 +1100)]
s4-rpc: added public APIs for dce_call authentication

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

8 years agoRe-enable base.tcondev test for S3, now we pass it correctly.
Jeremy Allison [Mon, 14 Mar 2011 23:05:55 +0000 (16:05 -0700)]
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

8 years agoFix bug #8005 - smbtorture4 BASE-TCONDEV fails when tested on Samba
Jeremy Allison [Mon, 14 Mar 2011 23:12:31 +0000 (16:12 -0700)]
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.

8 years agoMerge new lorikeet heimdal, revision 85ed7247f515770c73b1f1ced1739f6ce19d75d2
Jelmer Vernooij [Mon, 14 Mar 2011 22:06:40 +0000 (23:06 +0100)]
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

8 years agos3: Change tldap_entry_attributes to the "array,count" convention
Volker Lendecke [Mon, 14 Mar 2011 20:16:23 +0000 (21:16 +0100)]
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

8 years agos3: Fix bug 8009 - net rap session cannot get username
Volker Lendecke [Mon, 14 Mar 2011 17:35:23 +0000 (10:35 -0700)]
s3: Fix bug 8009 - net rap session cannot get username

Looking in [MS-RAP].pdf - these strings are always 4 bytes as an
offset in the rparam area, the string length is the size in the rdata area.
Se we must always return we have consumed 4 param bytes.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Mar 14 20:09:09 CET 2011 on sn-devel-104

8 years agos3: Fix the talloc hierarchy in shadow_copy2_connectpath
Volker Lendecke [Mon, 14 Mar 2011 17:35:36 +0000 (18:35 +0100)]
s3: Fix the talloc hierarchy in shadow_copy2_connectpath

We have to return on talloc_tos() because we don't have a mem_ctx given to us.
So we have to create a separate temporary talloc context.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Mar 14 19:21:11 CET 2011 on sn-devel-104

8 years agos3: This module needs rewriting...
Volker Lendecke [Mon, 14 Mar 2011 15:17:49 +0000 (16:17 +0100)]
s3: This module needs rewriting...

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Mar 14 17:47:32 CET 2011 on sn-devel-104

8 years agoFix public header not to include private (not installed) ones.
Simo Sorce [Mon, 14 Mar 2011 15:01:47 +0000 (11:01 -0400)]
Fix public header not to include private (not installed) ones.

Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Mon Mar 14 17:01:20 CET 2011 on sn-devel-104

8 years agolibrpc/rpc: move DCERPC_ flags to rpc_common.h
Stefan Metzmacher [Sun, 13 Mar 2011 17:57:43 +0000 (18:57 +0100)]
librpc/rpc: move DCERPC_ flags to rpc_common.h

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104

8 years agos3:librpc/rpc: add DCERPC_ANON_FALLBACK flag
Stefan Metzmacher [Sun, 13 Mar 2011 18:22:27 +0000 (19:22 +0100)]
s3:librpc/rpc: add DCERPC_ANON_FALLBACK flag

With this they're in sync with source4.

metze

8 years agos4:librpc/rpc: finaly make struct rpc_request and enum rpc_request_state private
Stefan Metzmacher [Sun, 13 Mar 2011 15:24:55 +0000 (16:24 +0100)]
s4:librpc/rpc: finaly make struct rpc_request and enum rpc_request_state private

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Mar 13 17:46:02 CET 2011 on sn-devel-104

8 years agos4:librpc/rpc: remove unused dcerpc_request()
Stefan Metzmacher [Sun, 13 Mar 2011 15:21:44 +0000 (16:21 +0100)]
s4:librpc/rpc: remove unused dcerpc_request()

metze

8 years agos4:librpc/rpc: make dcerpc_request_recv() static
Stefan Metzmacher [Sun, 13 Mar 2011 15:24:22 +0000 (16:24 +0100)]
s4:librpc/rpc: make dcerpc_request_recv() static

metze

8 years agos4:torture/rpc/scanner: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()
Stefan Metzmacher [Sun, 13 Mar 2011 15:16:12 +0000 (16:16 +0100)]
s4:torture/rpc/scanner: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()

metze

8 years agos4:torture/rpc/countcalls: use dcerpc_binding_handle_raw_call() instead of dcerpc_req...
Stefan Metzmacher [Sun, 13 Mar 2011 15:15:35 +0000 (16:15 +0100)]
s4:torture/rpc/countcalls: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()

metze

8 years agos4:torture/rpc/autoidl: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()
Stefan Metzmacher [Sun, 13 Mar 2011 15:15:06 +0000 (16:15 +0100)]
s4:torture/rpc/autoidl: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()

metze

8 years agos4:pyrpc: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()
Stefan Metzmacher [Sun, 13 Mar 2011 13:44:53 +0000 (14:44 +0100)]
s4:pyrpc: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()

metze

8 years agos4:pyrpc: fix memory leaks in error pathes
Stefan Metzmacher [Sun, 13 Mar 2011 13:44:28 +0000 (14:44 +0100)]
s4:pyrpc: fix memory leaks in error pathes

metze

8 years agolibrpc/rpc: add dcerpc_binding_handle_raw_call()
Stefan Metzmacher [Sun, 13 Mar 2011 13:58:12 +0000 (14:58 +0100)]
librpc/rpc: add dcerpc_binding_handle_raw_call()

metze

8 years agolibrpc/rpc: move struct dcerpc_binding to rpc_common.h
Stefan Metzmacher [Sun, 13 Mar 2011 13:10:42 +0000 (14:10 +0100)]
librpc/rpc: move struct dcerpc_binding to rpc_common.h

metze

8 years agos3:librpc/rpc: add target_principal to struct dcerpc_binding
Stefan Metzmacher [Sun, 13 Mar 2011 13:19:12 +0000 (14:19 +0100)]
s3:librpc/rpc: add target_principal to struct dcerpc_binding

This brings the source3 copy in sync with the source4 copy
of struct dcerpc_binding.

metze

8 years agolibrpc/rpc: move enum dcerpc_transport_t to rpc_common.h
Stefan Metzmacher [Sun, 13 Mar 2011 13:05:19 +0000 (14:05 +0100)]
librpc/rpc: move enum dcerpc_transport_t to rpc_common.h

metze

8 years agos4:librpc/rpc: s/dcerpc_security/dcecli_security
Stefan Metzmacher [Sun, 13 Mar 2011 12:49:41 +0000 (13:49 +0100)]
s4:librpc/rpc: s/dcerpc_security/dcecli_security

We'll use 'dcerpc_security' for the generic dcerpc
client and server code.

metze

8 years agos3: Enhance error messages in idmap_tdb2_init_hwm
Volker Lendecke [Sun, 13 Mar 2011 09:41:27 +0000 (10:41 +0100)]
s3: Enhance error messages in idmap_tdb2_init_hwm

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 13 12:59:37 CET 2011 on sn-devel-104

8 years agos4:librpc/rpc: remove unused dcerpc_ndr_request* code
Stefan Metzmacher [Sat, 12 Mar 2011 09:18:56 +0000 (10:18 +0100)]
s4:librpc/rpc: remove unused dcerpc_ndr_request* code

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Mar 13 11:19:59 CET 2011 on sn-devel-104

8 years agos4:torture/rpc/object_uuid: use dcerpc_binding_handle_call() instead of dcerpc_ndr_re...
Stefan Metzmacher [Sat, 12 Mar 2011 09:16:22 +0000 (10:16 +0100)]
s4:torture/rpc/object_uuid: use dcerpc_binding_handle_call() instead of dcerpc_ndr_request()

metze

8 years agos4:rpc_server/remote: use dcerpc_binding_handle_call_*() instead of dcerpc_ndr_reques...
Stefan Metzmacher [Fri, 11 Mar 2011 17:53:35 +0000 (18:53 +0100)]
s4:rpc_server/remote: use dcerpc_binding_handle_call_*() instead of dcerpc_ndr_request_*()

metze

8 years agoRevert "s3: Fix bug 8009"
Volker Lendecke [Sun, 13 Mar 2011 08:48:08 +0000 (09:48 +0100)]
Revert "s3: Fix bug 8009"

This reverts commit 1829891391d978e8dd322cdbd3320e30e5c78b72.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 13 10:33:25 CET 2011 on sn-devel-104

8 years agos3: Fix bug 8009
Volker Lendecke [Sat, 12 Mar 2011 09:49:27 +0000 (10:49 +0100)]
s3: Fix bug 8009

Jeremy, please check!

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Mar 12 11:39:41 CET 2011 on sn-devel-104

8 years agosamba_abi: Also sort ABI files properly so symbols end up in the right version.
Jelmer Vernooij [Sat, 12 Mar 2011 00:58:17 +0000 (01:58 +0100)]
samba_abi: Also sort ABI files  properly so symbols end up in the right version.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Mar 12 02:45:20 CET 2011 on sn-devel-104

8 years agoSort by release component integer values rather than using standard string
Jelmer Vernooij [Sat, 12 Mar 2011 00:09:31 +0000 (01:09 +0100)]
Sort by release component integer values rather than using standard string
sort.

This makes sure tevent 0.9.9 is considered to be older than 0.9.10 and 0.9.11

8 years agos3: Fix a typo
Volker Lendecke [Thu, 10 Mar 2011 16:11:37 +0000 (17:11 +0100)]
s3: Fix a typo

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Mar 11 13:15:00 CET 2011 on sn-devel-104

8 years agolibrpc/rpc: move dcerpc_binding_handle stuff to rpc_common.h
Stefan Metzmacher [Fri, 11 Mar 2011 09:31:25 +0000 (10:31 +0100)]
librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.h

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104

8 years agos3:librpc/rpc: remove unused dcerpc_pipe define hack
Stefan Metzmacher [Fri, 11 Mar 2011 08:56:10 +0000 (09:56 +0100)]
s3:librpc/rpc: remove unused dcerpc_pipe define hack

metze

8 years agos4:librpc/rpc: s/struct dcerpc_connection/struct dcecli_connection/g
Stefan Metzmacher [Fri, 11 Mar 2011 07:27:00 +0000 (08:27 +0100)]
s4:librpc/rpc: s/struct dcerpc_connection/struct dcecli_connection/g

The name 'struct dcerpc_connection' will be used in the new generic
dcerpc code. It will be used for client and server.

metze