samba.git
12 years agotalloc: test talloc_steal out of a talloc_pool
Stefan Metzmacher [Mon, 16 May 2011 17:25:47 +0000 (19:25 +0200)]
talloc: test talloc_steal out of a talloc_pool

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue May 17 09:43:01 CEST 2011 on sn-devel-104

12 years agotalloc: add memset() calls to test_pool()
Stefan Metzmacher [Tue, 17 May 2011 06:20:13 +0000 (08:20 +0200)]
talloc: add memset() calls to test_pool()

This way we the pool based valgrind code.

metze

12 years agotalloc: setup the new 'tc' before TC_UNDEFINE_GROW_CHUNK() _talloc_realloc()
Stefan Metzmacher [Tue, 17 May 2011 06:19:04 +0000 (08:19 +0200)]
talloc: setup the new 'tc' before TC_UNDEFINE_GROW_CHUNK()  _talloc_realloc()

metze

12 years agotalloc: make really sure only optimize realloc if there's only one pool chunk
Stefan Metzmacher [Mon, 16 May 2011 18:15:59 +0000 (20:15 +0200)]
talloc: make really sure only optimize realloc if there's only one pool chunk

*talloc_pool_objectcount(pool_tc) == 2 doesn't mean the one of the objects
is the pool itself! So we better check for == 1 and calculate the chunk count.

metze

12 years agotalloc: make use of _talloc_free_poolmem() in _talloc_realloc()
Stefan Metzmacher [Mon, 16 May 2011 18:23:13 +0000 (20:23 +0200)]
talloc: make use of _talloc_free_poolmem() in _talloc_realloc()

This should follow the same logic...

metze

12 years agotalloc: split the handling of FLAG_POOL/FLAG_POOLMEM in _talloc_free_internal
Stefan Metzmacher [Mon, 16 May 2011 17:06:07 +0000 (19:06 +0200)]
talloc: split the handling of FLAG_POOL/FLAG_POOLMEM in _talloc_free_internal

The optimization of the object_count == 1 case should only happen
for when we're not destroying the pool itself. And it should only
happen if the pool itself is still valid.

If the pool isn't valid (it has TALLOC_FLAG_FREE),
object_count == 1 does not mean that the pool is the last object,
which can happen if you use talloc_steal/move() on memory
from the pool and then free the pool itself.

Thanks to Volker for noticing this!

metze

12 years agos4-dfs: Use a workaround for ndr relative pointer bug/limitation
Matthieu Patou [Mon, 16 May 2011 16:51:20 +0000 (20:51 +0400)]
s4-dfs: Use a workaround for ndr relative pointer bug/limitation

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Tue May 17 01:33:27 CEST 2011 on sn-devel-104

12 years agos4-torture: Add more tests to DFS referral suite
Matthieu Patou [Sun, 15 May 2011 18:17:46 +0000 (22:17 +0400)]
s4-torture: Add more tests to DFS referral suite

12 years agotorture: adapt to idl evolution
root [Sun, 15 May 2011 12:25:15 +0000 (16:25 +0400)]
torture: adapt to idl evolution

12 years agos4-dfs: clean the code
Matthieu Patou [Sun, 15 May 2011 18:18:19 +0000 (22:18 +0400)]
s4-dfs: clean the code

12 years agos4-dfs: fix bugs in idl and adapt code accordingly
Matthieu Patou [Sun, 15 May 2011 15:56:25 +0000 (19:56 +0400)]
s4-dfs: fix bugs in idl and adapt code accordingly

12 years agos4-python: add an option for just fixing gpo folders
Matthieu Patou [Sun, 15 May 2011 12:06:18 +0000 (16:06 +0400)]
s4-python: add an option for just fixing gpo folders

12 years agos4-python: keep wheel_gid as an integer
Matthieu Patou [Sun, 15 May 2011 12:02:54 +0000 (16:02 +0400)]
s4-python: keep wheel_gid as an integer

12 years agos4-python: raise an error if unable to bind remote ldap while joining
Matthieu Patou [Fri, 13 May 2011 12:04:07 +0000 (16:04 +0400)]
s4-python: raise an error if unable to bind remote ldap while joining

12 years agoFix the SMB2 showstopper, found by an extended torture test from Volker.
Jeremy Allison [Mon, 16 May 2011 19:20:14 +0000 (12:20 -0700)]
Fix the SMB2 showstopper, found by an extended torture test from Volker.

In the oplock refactoring, the algorithm underwent an unnoticed change.
In 3.5.x stat_opens were silently (i.e. no explicit code had comments
explaining this) ignored when looking for oplock breaks and share mode
violations. After the refactoring, the function find_oplock_types()
no longer ignored stat_open entries in the share mode table when looking
for batch and exclusive oplocks. This patch adds two changes to find_oplock_types()
to ignore the case where the incoming open request is a stat open being
tested against existing opens, and also when the incoming open request
is a non-stat open being tested against existing stat opens. Neither
of these cause an oplock break or share mode violation. Thanks a *lot*
to Volker, who persevered in reproducing this problem.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon May 16 22:38:20 CEST 2011 on sn-devel-104

12 years agoEnsure we always write the correct incoming mid into the share mode
Jeremy Allison [Mon, 16 May 2011 17:41:51 +0000 (10:41 -0700)]
Ensure we always write the correct incoming mid into the share mode
table entries.

12 years agos3-rpc_server: Force ncalrpc dir to be mode 755.
Andreas Schneider [Mon, 16 May 2011 14:50:51 +0000 (16:50 +0200)]
s3-rpc_server: Force ncalrpc dir to be mode 755.

This completes aae9353ecf56323b63da66aa84d8a0a4f219d94d.

directory_create_or_exist() is not needed cause create_pipe_sock() takes
care of setting up the directory correctly.

Andrew please check!

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Mon May 16 17:54:20 CEST 2011 on sn-devel-104

12 years agos3-printing: remove cups_pull_comment_location from header file
David Disseldorp [Mon, 16 May 2011 11:26:41 +0000 (13:26 +0200)]
s3-printing: remove cups_pull_comment_location from header file

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon May 16 16:03:57 CEST 2011 on sn-devel-104

12 years agos3: Document gpfs:syncio
Volker Lendecke [Mon, 16 May 2011 11:30:26 +0000 (13:30 +0200)]
s3: Document gpfs:syncio

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon May 16 15:00:40 CEST 2011 on sn-devel-104

12 years agogpfs.so: Add gpfs:syncio option
Gregor Beck [Thu, 5 May 2011 14:28:58 +0000 (16:28 +0200)]
gpfs.so: Add gpfs:syncio option

This enables optimizations for shared file access on gpfs

12 years agowaf: Enable Samba3 torture tests in top level build.
Andreas Schneider [Mon, 16 May 2011 09:56:14 +0000 (11:56 +0200)]
waf: Enable Samba3 torture tests in top level build.

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon May 16 13:57:01 CEST 2011 on sn-devel-104

12 years agos3-selftest: no point in running base.chkpath and base.delaywrite twice.
Günther Deschner [Mon, 16 May 2011 10:48:10 +0000 (12:48 +0200)]
s3-selftest: no point in running base.chkpath and base.delaywrite twice.

Thanks to Bjoern Baumbach for pointing this out!

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
12 years agos3-printing: Remove obsolete and unused cups_pull_comment_location().
Andreas Schneider [Fri, 13 May 2011 08:57:33 +0000 (10:57 +0200)]
s3-printing: Remove obsolete and unused cups_pull_comment_location().

Signed-off-by: Günther Deschner <gd@samba.org>
12 years agos3-spoolss: Get the printer location from cups.
Andreas Schneider [Fri, 13 May 2011 08:28:20 +0000 (10:28 +0200)]
s3-spoolss: Get the printer location from cups.

Signed-off-by: Günther Deschner <gd@samba.org>
12 years agos3-printing: Get the location info from cups.
Günther Deschner [Fri, 13 May 2011 08:02:42 +0000 (10:02 +0200)]
s3-printing: Get the location info from cups.

Signed-off-by: Günther Deschner <gd@samba.org>
12 years agos3: Added waf build header locations for clang complete.
Andreas Schneider [Fri, 13 May 2011 08:27:46 +0000 (10:27 +0200)]
s3: Added waf build header locations for clang complete.

Signed-off-by: Günther Deschner <gd@samba.org>
12 years agos4-smbtorture: add test_netremotetod.
Günther Deschner [Wed, 11 May 2011 21:50:23 +0000 (23:50 +0200)]
s4-smbtorture: add test_netremotetod.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon May 16 12:45:52 CEST 2011 on sn-devel-104

12 years agos4-libcli/rap: add smbcli_rap_netremotetod().
Günther Deschner [Wed, 11 May 2011 21:37:08 +0000 (23:37 +0200)]
s4-libcli/rap: add smbcli_rap_netremotetod().

Guenther

12 years agos3-rap: add rap_NetRemoteTOD to IDL.
Günther Deschner [Wed, 11 May 2011 21:35:21 +0000 (23:35 +0200)]
s3-rap: add rap_NetRemoteTOD to IDL.

Guenther

12 years agos3:libsmb convert user-specified domain to uppercase
Christian Ambach [Fri, 6 May 2011 11:16:26 +0000 (13:16 +0200)]
s3:libsmb convert user-specified domain to uppercase

with client ntlmv2 auth = yes, there is a small difference between
using smbclient -U user\domain and smbclient -U user -W domain
if domain is provided in lowercase

using -W will uppercase the given parameter, while picking the
domain name from -U will not convert it to uppercase and this
leads to failing NTLMv2 authentication

with this patch, there is no difference between
smbclient -U domain\user and smbclient -U user -W domain any more

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Mon May 16 11:42:55 CEST 2011 on sn-devel-104

12 years agos3: Fix return check in nss_wins
Volker Lendecke [Sun, 15 May 2011 21:26:10 +0000 (23:26 +0200)]
s3: Fix return check in nss_wins

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon May 16 00:30:42 CEST 2011 on sn-devel-104

12 years agos3: Make&use set_socket_addr_v4
Volker Lendecke [Sat, 14 May 2011 16:04:49 +0000 (18:04 +0200)]
s3: Make&use set_socket_addr_v4

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat May 14 18:57:57 CEST 2011 on sn-devel-104

12 years agoUse ZERO_STRUCTP in util_net
Volker Lendecke [Sat, 14 May 2011 15:39:40 +0000 (17:39 +0200)]
Use ZERO_STRUCTP in util_net

12 years agos3: Paranoia in smbsock_connect_state_destructor
Volker Lendecke [Sat, 14 May 2011 11:15:19 +0000 (13:15 +0200)]
s3: Paranoia in smbsock_connect_state_destructor

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat May 14 14:19:01 CEST 2011 on sn-devel-104

12 years agos3-param Deprecate a number of security parameters for 3.6
Andrew Bartlett [Fri, 13 May 2011 15:55:41 +0000 (17:55 +0200)]
s3-param Deprecate a number of security parameters for 3.6

This follows up on the agreement on the samba-technical list in Jan
2011 to deprecate these options, and to possibly remove these in the
4.0 release after user feedback.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri May 13 19:51:41 CEST 2011 on sn-devel-104

12 years agodo an explicit A record search for SRV entries
Luke Howard [Thu, 12 May 2011 18:52:52 +0000 (20:52 +0200)]
do an explicit A record search for SRV entries

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos3-build: use ndr-standard in msrpc3
Andrew Bartlett [Fri, 13 May 2011 09:49:49 +0000 (11:49 +0200)]
s3-build: use ndr-standard in msrpc3

This avoids pulling in the symbols from the NDR_ subsystems directly.

Andrew Bartlett

12 years agobuild: Move NDR_DSSETUP and NDR_SPOOLSS into ndr-standard
Andrew Bartlett [Fri, 13 May 2011 09:48:14 +0000 (11:48 +0200)]
build: Move NDR_DSSETUP and NDR_SPOOLSS into ndr-standard

This is to address multiple defintion of symbol issues in msrpc3
linked libraries.

Andrew Bartlett

12 years agolib/util/charset Move built-in charset modules to the top level
Andrew Bartlett [Fri, 13 May 2011 08:26:20 +0000 (10:26 +0200)]
lib/util/charset Move built-in charset modules to the top level

This removes the 'charset' subsystem and allows these modules to be
used across the whole of Samba.

Andrew Bartlett

12 years agos3-netapi Initialise global variables in libnetapi
Andrew Bartlett [Tue, 10 May 2011 20:11:55 +0000 (22:11 +0200)]
s3-netapi Initialise global variables in libnetapi

It is important to initalise the global variables when loading this
configuration for the potentially first time.

Andrew Bartlett

12 years agos3-libnetapi Don't create a talloc_stackframe() in a global variable
Andrew Bartlett [Tue, 10 May 2011 20:08:36 +0000 (22:08 +0200)]
s3-libnetapi Don't create a talloc_stackframe() in a global variable

This also ensures that libnetapi_free() invalidates the global
stat_ctx variable, and changes the API so that the behaviour of the
error string routines is to consistently return a allocated string.

Pair-Programmed-With: Günther Deschner <gd@samba.org>

Andrew Bartlett

12 years agolib/util/ Fix crash bug caused by gfree_debug()
Andrew Bartlett [Mon, 9 May 2011 15:43:45 +0000 (17:43 +0200)]
lib/util/ Fix crash bug caused by gfree_debug()

The issue is that we should reset the debug_num_classes to 0 when we
un-initialise the debug system.

Andrew Bartlett

12 years agos3-net: fix potential crash bug in display_print_driver3().
Günther Deschner [Fri, 13 May 2011 13:03:59 +0000 (15:03 +0200)]
s3-net: fix potential crash bug in display_print_driver3().

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri May 13 18:49:06 CEST 2011 on sn-devel-104

12 years agos3:build: install libtdb with full version number instead of only SO version
Michael Adam [Fri, 6 May 2011 15:10:13 +0000 (17:10 +0200)]
s3:build: install libtdb with full version number instead of only SO version

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri May 13 17:45:01 CEST 2011 on sn-devel-104

12 years agos3:build: install libtalloc with full version number instead of only SO version
Michael Adam [Fri, 6 May 2011 15:10:13 +0000 (17:10 +0200)]
s3:build: install libtalloc with full version number instead of only SO version

12 years agos3:build: build libtalloc.so.$VERSION with full version number instead only SO version
Michael Adam [Fri, 6 May 2011 15:00:32 +0000 (17:00 +0200)]
s3:build: build libtalloc.so.$VERSION with full version number instead only SO version

12 years agos3:build: build libtdb.so.$VERSION with full version number instead only SO version
Michael Adam [Fri, 6 May 2011 15:00:32 +0000 (17:00 +0200)]
s3:build: build libtdb.so.$VERSION with full version number instead only SO version

12 years agos3:build: link libtdb as shared lib if using shared libs at all
Michael Adam [Fri, 6 May 2011 14:43:31 +0000 (16:43 +0200)]
s3:build: link libtdb as shared lib if using shared libs at all

12 years agos3:build: determine full version of libtdb for the samba build
Michael Adam [Fri, 6 May 2011 14:42:53 +0000 (16:42 +0200)]
s3:build: determine full version of libtdb for the samba build

12 years agos3:build: link libtalloc as shared lib if using shared libs at all
Michael Adam [Fri, 6 May 2011 14:42:07 +0000 (16:42 +0200)]
s3:build: link libtalloc as shared lib if using shared libs at all

12 years agos3:build: determine full version of libtalloc for the samba build
Michael Adam [Fri, 6 May 2011 14:40:59 +0000 (16:40 +0200)]
s3:build: determine full version of libtalloc for the samba build

12 years agos3:build: fix typo in definition of --enable-external-libtdb
Michael Adam [Fri, 6 May 2011 14:39:03 +0000 (16:39 +0200)]
s3:build: fix typo in definition of --enable-external-libtdb

12 years agos3:build: reformat AC_ARG_ENABLE(external_libtalloc...)
Michael Adam [Fri, 6 May 2011 14:38:38 +0000 (16:38 +0200)]
s3:build: reformat AC_ARG_ENABLE(external_libtalloc...)

12 years agos3:build: print the full version number in the showlibs targets
Michael Adam [Fri, 6 May 2011 10:57:03 +0000 (12:57 +0200)]
s3:build: print the full version number in the showlibs targets

12 years agos3:build: add LIBWBCLIENT_FULLVER for consistency with SMB_LIBRARY()
Michael Adam [Fri, 6 May 2011 14:37:58 +0000 (16:37 +0200)]
s3:build: add LIBWBCLIENT_FULLVER for consistency with SMB_LIBRARY()

12 years agos3:build: add an optional full version argument to the SMB_LIBRARY() macro.
Michael Adam [Fri, 6 May 2011 10:44:04 +0000 (12:44 +0200)]
s3:build: add an optional full version argument to the SMB_LIBRARY() macro.

12 years agos3:configure: add --enable-smbtorture4 switch
Michael Adam [Fri, 6 May 2011 16:35:06 +0000 (18:35 +0200)]
s3:configure: add --enable-smbtorture4 switch

12 years agorpc_server: Always use rpc_pipe_open_interface()
Simo Sorce [Wed, 11 May 2011 20:38:46 +0000 (16:38 -0400)]
rpc_server: Always use rpc_pipe_open_interface()

This way we can configure which rpc service we actually want to connect to.
By default it uses an "embedded" interface and calls rpc_pipe_open_internal()

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri May 13 14:40:26 CEST 2011 on sn-devel-104

12 years agos4/test/getnc_exop: Tune the the test to work against windows
Kamen Mazdrashki [Thu, 12 May 2011 16:43:54 +0000 (19:43 +0300)]
s4/test/getnc_exop: Tune the the test to work against windows

It turns out that sometimes, w2k8-r2 returns objects
even when FSMO extended request has failed.

Also verify that target DC returns source_dsa_guid and
source_dsa_invocation_id correctly

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Fri May 13 02:26:04 CEST 2011 on sn-devel-104

12 years agos3-libnetjoin: fix uninitialized variable.
Günther Deschner [Thu, 12 May 2011 22:19:13 +0000 (00:19 +0200)]
s3-libnetjoin: fix uninitialized variable.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri May 13 01:22:18 CEST 2011 on sn-devel-104

12 years agos3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf changes.
Günther Deschner [Thu, 12 May 2011 22:15:41 +0000 (00:15 +0200)]
s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf changes.

Guenther

12 years agolibcli/auth/krb5_wrap: correctly use discard_const().
Günther Deschner [Thu, 12 May 2011 22:09:48 +0000 (00:09 +0200)]
libcli/auth/krb5_wrap: correctly use discard_const().

Jeremy, please check.

Guenther

12 years agos3-lib/smbconf: fix uninitialized error code in smbconf_reg_init().
Günther Deschner [Thu, 12 May 2011 15:03:20 +0000 (17:03 +0200)]
s3-lib/smbconf: fix uninitialized error code in smbconf_reg_init().

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu May 12 18:09:16 CEST 2011 on sn-devel-104

12 years agos3-waf: stop building smbtortre4.
Günther Deschner [Thu, 12 May 2011 12:33:15 +0000 (14:33 +0200)]
s3-waf: stop building smbtortre4.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu May 12 15:35:02 CEST 2011 on sn-devel-104

12 years agolibcli/auth/smbencrypt: in E_deshash, use talloc_stackframe instead of "#if _SAMBA_BU...
Michael Adam [Wed, 11 May 2011 09:57:10 +0000 (11:57 +0200)]
libcli/auth/smbencrypt: in E_deshash, use talloc_stackframe instead of "#if _SAMBA_BUILD_ == 3" and talloc_tos()

talloc_stackframe() is used in other shared components already,
and if the stack is a talloc_pool, then in most cases, it should
also not be more expensive than directly using talloc_tos().

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu May 12 12:52:02 CEST 2011 on sn-devel-104

12 years agos3:registry: add a warning debug message when the sorted subkeys is created from...
Michael Adam [Wed, 11 May 2011 14:19:41 +0000 (16:19 +0200)]
s3:registry: add a warning debug message when the sorted subkeys is created from key_exists()

12 years agos3:registry: recreate the sorted subkeys cache when storing keys
Michael Adam [Wed, 11 May 2011 13:58:48 +0000 (15:58 +0200)]
s3:registry: recreate the sorted subkeys cache when storing keys

This is to avoid turning the next read operation into a write op.

12 years agos3:registry: add create_sorted_subkeys() to delete and recreate the sorted subkeys key
Michael Adam [Wed, 11 May 2011 13:27:01 +0000 (15:27 +0200)]
s3:registry: add create_sorted_subkeys() to delete and recreate the sorted subkeys key

This is to be used from other places than the key_exists() code path.

12 years agos3:registry: turn create_sorted_subkeys_internal to NTSTATUS return type
Michael Adam [Wed, 11 May 2011 12:53:48 +0000 (14:53 +0200)]
s3:registry: turn create_sorted_subkeys_internal to NTSTATUS return type

(from bool)

12 years agos3:registry: rename create_sorted_subkeys() to create_sorted_subkeys_internal()
Michael Adam [Wed, 11 May 2011 12:49:10 +0000 (14:49 +0200)]
s3:registry: rename create_sorted_subkeys() to create_sorted_subkeys_internal()

12 years agos3:registry: fix a typo in a debug message
Michael Adam [Wed, 11 May 2011 12:17:21 +0000 (14:17 +0200)]
s3:registry: fix a typo in a debug message

12 years agos3: Slightly simplify smbd_smb2_request_next_vector
Volker Lendecke [Fri, 6 May 2011 09:26:56 +0000 (11:26 +0200)]
s3: Slightly simplify smbd_smb2_request_next_vector

Metze, Jeremy, please check!

12 years agos4/drepl_fsmo: Add an CR so that message is visible in the logs
Kamen Mazdrashki [Wed, 11 May 2011 18:05:42 +0000 (21:05 +0300)]
s4/drepl_fsmo: Add an CR so that message is visible in the logs

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed May 11 21:03:59 CEST 2011 on sn-devel-104

12 years agos4/getnc_exop: Initial implementation of a testsuite for GetNCChanges extended opeart...
Kamen Mazdrashki [Wed, 11 May 2011 18:04:54 +0000 (21:04 +0300)]
s4/getnc_exop: Initial implementation of a testsuite for GetNCChanges extended opeartion handling

12 years agos4/getncchanges: Pre-mark extended requests as success in case a sub-function "forget...
Kamen Mazdrashki [Wed, 11 May 2011 18:09:34 +0000 (21:09 +0300)]
s4/getncchanges: Pre-mark extended requests as success in case a sub-function "forget" to do this

12 years agos4/getncchanges: Implement placeholder for handling ex-op collection of objects
Kamen Mazdrashki [Wed, 11 May 2011 17:49:42 +0000 (20:49 +0300)]
s4/getncchanges: Implement placeholder for handling ex-op collection of objects

Right now it is solely based on function that handles objects
in normal DsGetNCChanges calls.

12 years agos4/getncchanges: Move the code that collects objects into separate function
Kamen Mazdrashki [Wed, 11 May 2011 17:48:53 +0000 (20:48 +0300)]
s4/getncchanges: Move the code that collects objects into separate function

12 years agos4/getncchanges: Don't mask Extended operation result - callers need it
Kamen Mazdrashki [Mon, 9 May 2011 17:11:22 +0000 (20:11 +0300)]
s4/getncchanges: Don't mask Extended operation result - callers need it

12 years agos4/getncchanges: Fail extended request rather than failing whole request
Kamen Mazdrashki [Mon, 9 May 2011 17:09:49 +0000 (20:09 +0300)]
s4/getncchanges: Fail extended request rather than failing whole request

in case that destination_dsa_guid is not valid

12 years agos3-printing: make cups_pull_comment_location() work again.
Günther Deschner [Wed, 11 May 2011 08:30:42 +0000 (10:30 +0200)]
s3-printing: make cups_pull_comment_location() work again.

we deal with lp_cups_server in cups_connect() already, inside the URI all our
other cups functions we use ipp://localhost, do the same here.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed May 11 11:36:07 CEST 2011 on sn-devel-104

12 years agos3:librpc: remove unneded gssapi includes from source3/librpc/crypto/gse.c
Michael Adam [Tue, 10 May 2011 20:02:49 +0000 (22:02 +0200)]
s3:librpc: remove unneded gssapi includes from source3/librpc/crypto/gse.c

These come in via the smb_krb5.h include (and lib/replace/system/kerberos.h)
in the end.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue May 10 23:12:31 CEST 2011 on sn-devel-104

12 years agolibcli/auth: fix "no talloc stackframe around" message from the samba4.blackbox.kinit...
Michael Adam [Tue, 10 May 2011 19:59:38 +0000 (21:59 +0200)]
libcli/auth: fix "no talloc stackframe around" message from the samba4.blackbox.kinit test

create_kerberos_key_from_string_direct() used talloc_tos() directly.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

12 years agolib/replace: fix an #if HAVE_GSSAPI_GSSAPI_EXT_H to be an #ifdef
Michael Adam [Tue, 10 May 2011 18:54:06 +0000 (20:54 +0200)]
lib/replace: fix an #if HAVE_GSSAPI_GSSAPI_EXT_H to be an #ifdef

12 years agolibsmbconf: Define a doxygen group for libsmbconf.
Andreas Schneider [Thu, 14 Apr 2011 09:59:57 +0000 (11:59 +0200)]
libsmbconf: Define a doxygen group for libsmbconf.

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_transaction_cancel().
Andreas Schneider [Thu, 14 Apr 2011 09:54:11 +0000 (11:54 +0200)]
libsmbconf: Document smbconf_transaction_cancel().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_transaction_commit().
Andreas Schneider [Thu, 14 Apr 2011 09:53:25 +0000 (11:53 +0200)]
libsmbconf: Document smbconf_transaction_commit().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_transaction_start().
Andreas Schneider [Thu, 14 Apr 2011 09:52:30 +0000 (11:52 +0200)]
libsmbconf: Document smbconf_transaction_start().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_delete_global_includes().
Andreas Schneider [Thu, 14 Apr 2011 09:50:05 +0000 (11:50 +0200)]
libsmbconf: Document smbconf_delete_global_includes().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_delete_includes().
Andreas Schneider [Thu, 14 Apr 2011 09:49:24 +0000 (11:49 +0200)]
libsmbconf: Document smbconf_delete_includes().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_set_global_includes().
Andreas Schneider [Thu, 14 Apr 2011 09:48:15 +0000 (11:48 +0200)]
libsmbconf: Document smbconf_set_global_includes().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_set_includes().
Andreas Schneider [Thu, 14 Apr 2011 09:47:41 +0000 (11:47 +0200)]
libsmbconf: Document smbconf_set_includes().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_get_global_includes().
Andreas Schneider [Thu, 14 Apr 2011 09:45:14 +0000 (11:45 +0200)]
libsmbconf: Document smbconf_get_global_includes().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_get_includes().
Andreas Schneider [Thu, 14 Apr 2011 09:44:22 +0000 (11:44 +0200)]
libsmbconf: Document smbconf_get_includes().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_delete_global_parameter().
Andreas Schneider [Thu, 14 Apr 2011 09:38:31 +0000 (11:38 +0200)]
libsmbconf: Document smbconf_delete_global_parameter().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_delete_parameter().
Andreas Schneider [Thu, 14 Apr 2011 09:37:59 +0000 (11:37 +0200)]
libsmbconf: Document smbconf_delete_parameter().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_get_global_parameter().
Andreas Schneider [Thu, 14 Apr 2011 09:36:36 +0000 (11:36 +0200)]
libsmbconf: Document smbconf_get_global_parameter().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_get_parameter().
Andreas Schneider [Thu, 14 Apr 2011 09:35:11 +0000 (11:35 +0200)]
libsmbconf: Document smbconf_get_parameter().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_set_global_parameter().
Andreas Schneider [Thu, 14 Apr 2011 09:32:06 +0000 (11:32 +0200)]
libsmbconf: Document smbconf_set_global_parameter().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_set_parameter().
Andreas Schneider [Thu, 14 Apr 2011 09:31:17 +0000 (11:31 +0200)]
libsmbconf: Document smbconf_set_parameter().

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolibsmbconf: Document smbconf_delete_share().
Andreas Schneider [Thu, 14 Apr 2011 09:28:00 +0000 (11:28 +0200)]
libsmbconf: Document smbconf_delete_share().

Signed-off-by: Michael Adam <obnox@samba.org>