sfrench/samba-autobuild/.git
9 years agos3: Fix some nonempty blank lines
Volker Lendecke [Thu, 10 Feb 2011 10:00:18 +0000 (11:00 +0100)]
s3: Fix some nonempty blank lines

9 years agoreplace: Add missing eval to m4 script
Sumit Bose [Tue, 8 Feb 2011 09:55:06 +0000 (10:55 +0100)]
replace: Add missing eval to m4 script

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 16:14:21 CET 2011 on sn-devel-104

9 years agosocket_wrapper: avoid c++ style comments.
Günther Deschner [Thu, 10 Feb 2011 13:20:34 +0000 (14:20 +0100)]
socket_wrapper: avoid c++ style comments.

Seen on the aix s3-waf build where it causes the build to fail.

Guenther

9 years agos4-tools: Added --sddl option, which allows the user to add an ACE to an object's...
Nadezhda Ivanova [Thu, 10 Feb 2011 13:04:23 +0000 (15:04 +0200)]
s4-tools: Added --sddl option, which allows the user to add an ACE to an object's security descriptor in SDDL format

Useful for testing purposes.

Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Thu Feb 10 15:28:04 CET 2011 on sn-devel-104

9 years agolibwbclient: doxygen: mark wbcSetGidHwm deprecated
Michael Adam [Thu, 10 Feb 2011 11:48:01 +0000 (12:48 +0100)]
libwbclient: doxygen: mark wbcSetGidHwm deprecated

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Feb 10 14:42:24 CET 2011 on sn-devel-104

9 years agolibwbclient: doxygen: mark wbcSetUidHwm deprecated
Michael Adam [Thu, 10 Feb 2011 11:48:01 +0000 (12:48 +0100)]
libwbclient: doxygen: mark wbcSetUidHwm deprecated

9 years agolibwbclient: doxygen: mark wbcRemoveGidMapping deprecated
Michael Adam [Thu, 10 Feb 2011 11:48:01 +0000 (12:48 +0100)]
libwbclient: doxygen: mark wbcRemoveGidMapping deprecated

9 years agolibwbclient: doxygen: mark wbcRemoveUidMapping deprecated
Michael Adam [Thu, 10 Feb 2011 11:48:01 +0000 (12:48 +0100)]
libwbclient: doxygen: mark wbcRemoveUidMapping deprecated

9 years agolibwbclient: doxygen: mark wbcSetGidMapping deprecated
Michael Adam [Thu, 10 Feb 2011 11:48:01 +0000 (12:48 +0100)]
libwbclient: doxygen: mark wbcSetGidMapping deprecated

9 years agolibwbclient: doxygen: mark wbcSetUidMapping deprecated
Michael Adam [Thu, 10 Feb 2011 11:48:01 +0000 (12:48 +0100)]
libwbclient: doxygen: mark wbcSetUidMapping deprecated

9 years agoRevert "libwbclient: bump the libwbclient SOVER 0 -> 1 due to ABI changes"
Michael Adam [Thu, 10 Feb 2011 10:08:02 +0000 (11:08 +0100)]
Revert "libwbclient: bump the libwbclient SOVER 0 -> 1 due to ABI changes"

This reverts commit 5dd63c6c1439f5dde00e56144c38771d81455ada.

Undo the library version bump.

9 years agoRevert "wbinfo: remove --set-uid-mapping - winbindd does not implement that any more."
Michael Adam [Thu, 10 Feb 2011 10:04:51 +0000 (11:04 +0100)]
Revert "wbinfo: remove --set-uid-mapping - winbindd does not implement that any more."

This reverts commit 0e90d01d53ee197a6451b7c55c2afa74e0d8b0bb.

Undo the library version bump.

9 years agoRevert "wbinfo: remove --set-gid-mapping - winbindd does not implement that any more."
Michael Adam [Thu, 10 Feb 2011 10:04:47 +0000 (11:04 +0100)]
Revert "wbinfo: remove --set-gid-mapping - winbindd does not implement that any more."

This reverts commit 9de1fd4352346cb71b232b7198155e157396f6ec.

Undo the library version bump.

9 years agoRevert "wbinfo: remove --remove-uid-mapping - winbindd does not implement that any...
Michael Adam [Thu, 10 Feb 2011 10:04:44 +0000 (11:04 +0100)]
Revert "wbinfo: remove --remove-uid-mapping - winbindd does not implement that any more."

This reverts commit 36e2baa8da3de559ce0f6c927f6262a8e4648a97.

Undo the library version bump.

9 years agoRevert "wbinfo: remove --remove-gid-mapping - winbindd does not implement that any...
Michael Adam [Thu, 10 Feb 2011 10:04:41 +0000 (11:04 +0100)]
Revert "wbinfo: remove --remove-gid-mapping - winbindd does not implement that any more."

This reverts commit 48ad64aa78568c4ce743345448c9d39305752d73.

Undo the library version bump.

9 years agoRevert "libwbclient: remove two unused defines"
Michael Adam [Thu, 10 Feb 2011 10:04:35 +0000 (11:04 +0100)]
Revert "libwbclient: remove two unused defines"

This reverts commit 58bf6f9ff0b29df14eee2900fb847b96ef28411f.

Undo the library version bump.

9 years agoRevert "libwbclient: remove wbcSetUidMapping() - not implemented any more"
Michael Adam [Thu, 10 Feb 2011 10:04:32 +0000 (11:04 +0100)]
Revert "libwbclient: remove wbcSetUidMapping() - not implemented any more"

This reverts commit 25a0dc44f7e180d96dcccb8701e9817ecfd54955.

Undo the library version bump.

9 years agoRevert "libwbclient: remove wbcSetGidMapping() - not implemented any more"
Michael Adam [Thu, 10 Feb 2011 10:04:27 +0000 (11:04 +0100)]
Revert "libwbclient: remove wbcSetGidMapping() - not implemented any more"

This reverts commit 52e1be2139d370bf0ce99371bc9ab73db41c6236.

Undo the library version bump.

9 years agoRevert "libwbclient: remove wbcRemoveUidMapping() - not implemented any more"
Michael Adam [Thu, 10 Feb 2011 10:04:23 +0000 (11:04 +0100)]
Revert "libwbclient: remove wbcRemoveUidMapping() - not implemented any more"

This reverts commit 1ed5961df2da73b61666a4565d0633e34f72d04d.

Undo the library version bump.

9 years agoRevert "libwbclient: remove wbcRemoveGidMapping() - not implemented any more"
Michael Adam [Thu, 10 Feb 2011 10:04:19 +0000 (11:04 +0100)]
Revert "libwbclient: remove wbcRemoveGidMapping() - not implemented any more"

This reverts commit 393c866c517636e94b48ca6030a57b712892d568.

Undo the library version bump.

9 years agoRevert "libwbclient: remove wbcSetUidHwm() - not implemented any more"
Michael Adam [Thu, 10 Feb 2011 10:04:15 +0000 (11:04 +0100)]
Revert "libwbclient: remove wbcSetUidHwm() - not implemented any more"

This reverts commit 6558323c84cdd929716c59ba66d2ae6b699931d2.

Undo the library version bump.

9 years agoRevert "libwbclient: remove wbcSetGidHwm() - not implemented any more"
Michael Adam [Thu, 10 Feb 2011 10:04:11 +0000 (11:04 +0100)]
Revert "libwbclient: remove wbcSetGidHwm() - not implemented any more"

This reverts commit 68a9b726be84aaaaa340f19e175da448409430b3.

Undo the library version bump.

9 years agoRevert "libwbclient: bump version to 0.6 -> 1.0 due to ABI change (removed symbols)"
Michael Adam [Thu, 10 Feb 2011 10:04:06 +0000 (11:04 +0100)]
Revert "libwbclient: bump version to 0.6 -> 1.0 due to ABI change (removed symbols)"

This reverts commit 128bed20c4570fa23bea4d0d49deae811a67a624.

Undo the library version bump.

9 years agoRevert "nsswitch: libwbclient has vnum 1 now."
Michael Adam [Thu, 10 Feb 2011 10:03:59 +0000 (11:03 +0100)]
Revert "nsswitch: libwbclient has vnum 1 now."

This reverts commit c9cb42a27634a0a711d48762c779c6b2f7c338e2.

Undo the library version bump.

9 years agoRevert "nsswitch: remove unused code from wbinfo.c"
Michael Adam [Thu, 10 Feb 2011 09:59:18 +0000 (10:59 +0100)]
Revert "nsswitch: remove unused code from wbinfo.c"

This reverts commit 3bdd2efff8d11448275965b464ac194a2ee0d3ae.

Undo the library version bump.

9 years agolibrpc: move preg.idl to main directory.
Günther Deschner [Thu, 10 Feb 2011 11:54:27 +0000 (12:54 +0100)]
librpc: move preg.idl to main directory.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 13:56:49 CET 2011 on sn-devel-104

9 years agos3-waf: fix the build after auth changes.
Günther Deschner [Thu, 10 Feb 2011 11:48:46 +0000 (12:48 +0100)]
s3-waf: fix the build after auth changes.

Andrews, please check.

Guenther

9 years agos3-waf: fix krb5 checks logic.
Günther Deschner [Thu, 10 Feb 2011 11:42:47 +0000 (12:42 +0100)]
s3-waf: fix krb5 checks logic.

Guenther

9 years agos3: give ../librpc/ndr/util.c its own header.
Günther Deschner [Wed, 9 Feb 2011 23:11:38 +0000 (00:11 +0100)]
s3: give ../librpc/ndr/util.c its own header.

Guenther

9 years agos4-tests: Some tests that prove behavior for INHERITED user-provided ACEs is differen...
Nadezhda Ivanova [Thu, 10 Feb 2011 10:43:35 +0000 (12:43 +0200)]
s4-tests: Some tests that prove behavior for INHERITED user-provided ACEs is different if the P flag is set.

Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Thu Feb 10 12:31:34 CET 2011 on sn-devel-104

9 years agosecurity: Fixed some handling of ACEs with INHERITED flag provided by the user
Nadezhda Ivanova [Thu, 10 Feb 2011 10:39:22 +0000 (12:39 +0200)]
security: Fixed some handling of ACEs with INHERITED flag provided by the user

Some tests showed that these ACEs are not removed if the DACL_PROTECTED flag is provided at the same time.
This is not documented but tests prove it and it has been observerd in deployment.

9 years agos4-build: need EXPAND_VARIABLES() for terminal in make test
Andrew Tridgell [Thu, 10 Feb 2011 05:49:10 +0000 (16:49 +1100)]
s4-build: need EXPAND_VARIABLES() for terminal in make test

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

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Feb 10 07:35:26 CET 2011 on sn-devel-104

9 years agos4-auth: install gen_ndr/auth.h, used by public session.h
Andrew Tridgell [Thu, 10 Feb 2011 05:46:35 +0000 (16:46 +1100)]
s4-auth: install gen_ndr/auth.h, used by public session.h

needed for openchange. Thanks to Brad for reporting this.

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

9 years agos4-torture: not having an output dir is not a fatal error
Andrew Tridgell [Thu, 10 Feb 2011 04:05:08 +0000 (15:05 +1100)]
s4-torture: not having an output dir is not a fatal error

just return NT_STATUS_OK, as nothing to cleanup

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Tridgell <tridge@samba.org>
9 years agoldb: use #include <ldb.h> for ldb
Andrew Tridgell [Thu, 10 Feb 2011 03:12:51 +0000 (14:12 +1100)]
ldb: use #include <ldb.h> for ldb

thi ensures we are using the header corresponding to the version of
ldb we're linking against. Otherwise we could use the system ldb for
link and the in-tree one for include

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

9 years agos4-krb5: authkrb5 should depend on ldb
Andrew Tridgell [Thu, 10 Feb 2011 03:12:15 +0000 (14:12 +1100)]
s4-krb5: authkrb5 should depend on ldb

this fixes the include path to add ldb

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

9 years agos3-auth Remove unused pam_handle
Andrew Bartlett [Wed, 9 Feb 2011 06:02:58 +0000 (17:02 +1100)]
s3-auth Remove unused pam_handle

Signed-off-by: Andrew Tridgell <tridge@samba.org>
9 years agos3-auth Rename cryptic 'ptok' to security_token
Andrew Bartlett [Wed, 9 Feb 2011 05:52:35 +0000 (16:52 +1100)]
s3-auth Rename cryptic 'ptok' to security_token

This will allow the auth_serversupplied_info struct to be migrated
to auth_session_info easier.

Adnrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
9 years agolibcli/named_pipe_auth Change from 'info3' to auth_session_info_transport
Andrew Bartlett [Wed, 9 Feb 2011 03:22:16 +0000 (14:22 +1100)]
libcli/named_pipe_auth Change from 'info3' to auth_session_info_transport

This changes the structure being used to convey the current user state
from the netlogon-derived 'netr_SamInfo3' structure to a purpose-built
structure that matches the internals of the Samba auth subsystem and
contains the final group list, as well as the final privilege set and
session key.

These previously had to be re-created on the server side of the pipe
each time.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
9 years agoauth.idl fix size_is() reference in IDL
Andrew Bartlett [Wed, 9 Feb 2011 03:22:02 +0000 (14:22 +1100)]
auth.idl fix size_is() reference in IDL

Signed-off-by: Andrew Tridgell <tridge@samba.org>
9 years agolibcli/named_pipe_auth Remove support for unused levels 0-2.
Andrew Bartlett [Wed, 9 Feb 2011 00:59:50 +0000 (11:59 +1100)]
libcli/named_pipe_auth Remove support for unused levels 0-2.

The only client and server for this code uses level 3 exclusively.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
9 years agoauth Move auth_sam_reply into the top level.
Andrew Bartlett [Wed, 9 Feb 2011 05:05:54 +0000 (16:05 +1100)]
auth Move auth_sam_reply into the top level.

These functions provide conversions between some netlogon.idl and
auth.idl structures

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
9 years agoldb: added ldb 1.0.0 ABI signatures
Andrew Tridgell [Thu, 10 Feb 2011 01:35:10 +0000 (12:35 +1100)]
ldb: added ldb 1.0.0 ABI signatures

9 years agoldb: change version number to 1.0.0
Andrew Tridgell [Thu, 10 Feb 2011 01:06:34 +0000 (12:06 +1100)]
ldb: change version number to 1.0.0

Simo pointed out that the module loading change should have been
combined with a major version number. That seems like a good excuse
for a 1.0 release

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

9 years agoldb: fixed two warnings in the ldb_ldap backend
Andrew Tridgell [Thu, 10 Feb 2011 01:05:48 +0000 (12:05 +1100)]
ldb: fixed two warnings in the ldb_ldap backend

9 years agoldb: added a include/ldb_version.h
Andrew Tridgell [Thu, 10 Feb 2011 01:04:36 +0000 (12:04 +1100)]
ldb: added a include/ldb_version.h

this fixes a problem with the installed ldb_modules.h header, which
depended on LDB_VERSION being defined.

Thanks to Simo for noticing this!

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

9 years agoPut OpenDir() back the way it was - don't overload with an fsp arg. Create OpenDir_fs...
Jeremy Allison [Thu, 10 Feb 2011 00:31:06 +0000 (16:31 -0800)]
Put OpenDir() back the way it was - don't overload with an fsp arg. Create OpenDir_fsp for new usage.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb 10 02:43:31 CET 2011 on sn-devel-104

9 years agoMake it clear we're using the open file pathname.
Jeremy Allison [Wed, 9 Feb 2011 23:06:40 +0000 (15:06 -0800)]
Make it clear we're using the open file pathname.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb 10 01:06:29 CET 2011 on sn-devel-104

9 years agoAllow SMB2_FIND to actually use the open fd handle if we support fdopendir. Fallback...
Jeremy Allison [Wed, 9 Feb 2011 23:05:58 +0000 (15:05 -0800)]
Allow SMB2_FIND to actually use the open fd handle if we support fdopendir. Fallback to pathname opendir if not.

9 years agoCorrectly plumb in VFS_FDOPENDIR.
Jeremy Allison [Wed, 9 Feb 2011 23:00:56 +0000 (15:00 -0800)]
Correctly plumb in VFS_FDOPENDIR.

9 years agos3-waf: make ads support detection a little more robust.
Günther Deschner [Wed, 9 Feb 2011 21:43:41 +0000 (22:43 +0100)]
s3-waf: make ads support detection a little more robust.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  9 23:38:50 CET 2011 on sn-devel-104

9 years agos3: move some stuff out of smb.h to better locations.
Günther Deschner [Wed, 9 Feb 2011 19:56:57 +0000 (20:56 +0100)]
s3: move some stuff out of smb.h to better locations.

Guenther

9 years agos3: remove unused struct uuid_flat.
Günther Deschner [Wed, 9 Feb 2011 19:51:47 +0000 (20:51 +0100)]
s3: remove unused struct uuid_flat.

Guenther

9 years agos3-waf: make sure we dont activate dnsupdate support w/o gssapi.
Günther Deschner [Wed, 9 Feb 2011 19:51:12 +0000 (20:51 +0100)]
s3-waf: make sure we dont activate dnsupdate support w/o gssapi.

Guenther

9 years agoOops. Need to test for if(!NT_STATUS_IS_OK(..)) for error.
Jeremy Allison [Wed, 9 Feb 2011 20:18:55 +0000 (12:18 -0800)]
Oops. Need to test for if(!NT_STATUS_IS_OK(..)) for error.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb  9 22:06:05 CET 2011 on sn-devel-104

9 years agoFix up some buildfarm warnings.
Jeremy Allison [Wed, 9 Feb 2011 18:43:56 +0000 (10:43 -0800)]
Fix up some buildfarm warnings.

9 years agoDon't use asprintf in this library - breaks the build on many systems. Fake with...
Jeremy Allison [Wed, 9 Feb 2011 18:28:08 +0000 (10:28 -0800)]
Don't use asprintf in this library - breaks the build on many systems. Fake with malloc/memcpy.

9 years agoMove to opening an fd on directory opens. Get more careful about symlink races.
Jeremy Allison [Wed, 9 Feb 2011 01:04:19 +0000 (17:04 -0800)]
Move to opening an fd on directory opens. Get more careful about symlink races.

9 years agoRemove unneeded stat call.
Jeremy Allison [Wed, 9 Feb 2011 00:51:17 +0000 (16:51 -0800)]
Remove unneeded stat call.

9 years agos4:WAF build - remove "source4/configure.developer"
Matthias Dieter Wallnöfer [Wed, 9 Feb 2011 15:51:52 +0000 (16:51 +0100)]
s4:WAF build - remove "source4/configure.developer"

This isn't needed anymore - discussed with abartlet.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Feb  9 19:44:05 CET 2011 on sn-devel-104

9 years agoldb:tools - return LDB_ERR_OPERATIONS_ERROR on generic errors
Matthias Dieter Wallnöfer [Tue, 1 Feb 2011 19:34:44 +0000 (20:34 +0100)]
ldb:tools - return LDB_ERR_OPERATIONS_ERROR on generic errors

Use "return" when located in "main" for consistency ("exit" would do the
same).

The patchset has been discussed with Jelmer Vernooij and afterwards LDB
maintainer Simo Sorce.

9 years agoldb:tools - always check if ldb connection has been estabilished
Matthias Dieter Wallnöfer [Tue, 1 Feb 2011 19:26:12 +0000 (20:26 +0100)]
ldb:tools - always check if ldb connection has been estabilished

Otherwise return "LDB_ERR_OPERATIONS_ERROR".

9 years agoldb:ldbsearch tool - use LDB result constants where possible
Matthias Dieter Wallnöfer [Tue, 1 Feb 2011 19:48:52 +0000 (20:48 +0100)]
ldb:ldbsearch tool - use LDB result constants where possible

9 years agoldb:ldbsearch tool - simplify error code return
Matthias Dieter Wallnöfer [Tue, 1 Feb 2011 19:40:27 +0000 (20:40 +0100)]
ldb:ldbsearch tool - simplify error code return

9 years agoldb:ldbsearch tool - use "%u" for printing unsigned integers
Matthias Dieter Wallnöfer [Tue, 1 Feb 2011 19:51:26 +0000 (20:51 +0100)]
ldb:ldbsearch tool - use "%u" for printing unsigned integers

9 years agoldb:ldbedit tool - don't forget about the "do_edit" result code
Matthias Dieter Wallnöfer [Sat, 5 Feb 2011 12:19:56 +0000 (13:19 +0100)]
ldb:ldbedit tool - don't forget about the "do_edit" result code

Use it for computing the program exit code. The "result" has not to be
free'd explicitly since it's a child by "ldb" which itself is child by
"mem_ctx".

9 years agoldb:ldbedit tool - fix bug #7914
Matthias Dieter Wallnöfer [Fri, 14 Jan 2011 11:48:54 +0000 (12:48 +0100)]
ldb:ldbedit tool - fix bug #7914

"modify_record" returns "-1" when failing, otherwise the number of
modifies performed as an "unsigned int" converted to "int".
When we get "-1" we immediately need to stop (the error message has
already been generated by the function itself).

9 years agoldb:ldbedit tool - use unsigned counters for consistency with other LDB tools
Matthias Dieter Wallnöfer [Fri, 14 Jan 2011 11:39:42 +0000 (12:39 +0100)]
ldb:ldbedit tool - use unsigned counters for consistency with other LDB tools

9 years agoldb:ldbedit tool - use "%u" for printing out unsigned integers
Matthias Dieter Wallnöfer [Tue, 1 Feb 2011 19:52:33 +0000 (20:52 +0100)]
ldb:ldbedit tool - use "%u" for printing out unsigned integers

9 years agoldb:ldbedit tool - use LDB result constants where needed
Matthias Dieter Wallnöfer [Fri, 14 Jan 2011 11:39:04 +0000 (12:39 +0100)]
ldb:ldbedit tool - use LDB result constants where needed

9 years agoldb:ldbrename tool - use LDB result constant where needed
Matthias Dieter Wallnöfer [Fri, 14 Jan 2011 11:38:10 +0000 (12:38 +0100)]
ldb:ldbrename tool - use LDB result constant where needed

9 years agoldb:ldbmodify tool - use unsigned counters for consistency with other LDB tools
Matthias Dieter Wallnöfer [Fri, 14 Jan 2011 11:37:32 +0000 (12:37 +0100)]
ldb:ldbmodify tool - use unsigned counters for consistency with other LDB tools

9 years agoldb:ldbdel tool - use LDB result constants for consistency
Matthias Dieter Wallnöfer [Fri, 14 Jan 2011 11:36:13 +0000 (12:36 +0100)]
ldb:ldbdel tool - use LDB result constants for consistency

9 years agoldb:ldbadd tool - use LDB return codes where possible
Matthias Dieter Wallnöfer [Tue, 1 Feb 2011 19:37:58 +0000 (20:37 +0100)]
ldb:ldbadd tool - use LDB return codes where possible

9 years agoldb:ldbadd tool - use "%u" for printing out unsigned integers
Matthias Dieter Wallnöfer [Fri, 14 Jan 2011 11:34:47 +0000 (12:34 +0100)]
ldb:ldbadd tool - use "%u" for printing out unsigned integers

9 years agoldb:ldbadd tool - use LDB result constants for consistency
Matthias Dieter Wallnöfer [Fri, 14 Jan 2011 11:34:08 +0000 (12:34 +0100)]
ldb:ldbadd tool - use LDB result constants for consistency

9 years agos3-waf: we check for attr in ../lib/util/script already, so we cannot set to EMPTY...
Günther Deschner [Wed, 9 Feb 2011 16:56:45 +0000 (17:56 +0100)]
s3-waf: we check for attr in ../lib/util/script already, so we cannot set to EMPTY here.

Hopefully fixes the irix build.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  9 18:58:15 CET 2011 on sn-devel-104

9 years agos3-waf: as long as we dont have --with-featureX=yes|no|auto handling, avoid exiting.
Günther Deschner [Wed, 9 Feb 2011 16:37:40 +0000 (17:37 +0100)]
s3-waf: as long as we dont have --with-featureX=yes|no|auto handling, avoid exiting.

Guenther

9 years agos3-waf: check k5crypto in some more locations.
Günther Deschner [Wed, 9 Feb 2011 16:43:54 +0000 (17:43 +0100)]
s3-waf: check k5crypto in some more locations.

Guenther

9 years agos3-waf: support non-default krb5-config and cups-config locations.
Günther Deschner [Wed, 9 Feb 2011 16:43:30 +0000 (17:43 +0100)]
s3-waf: support non-default krb5-config and cups-config locations.

Guenther

9 years agotevent: Fix typos
Volker Lendecke [Wed, 9 Feb 2011 14:50:34 +0000 (15:50 +0100)]
tevent: Fix typos

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb  9 18:13:18 CET 2011 on sn-devel-104

9 years agos3-rpc_server: We need a messaging context for rpc.
Andreas Schneider [Wed, 9 Feb 2011 13:21:24 +0000 (14:21 +0100)]
s3-rpc_server: We need a messaging context for rpc.

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Feb  9 17:26:00 CET 2011 on sn-devel-104

9 years agos3-rpc_server: Fixed possible segfault with client_id.
Andreas Schneider [Wed, 9 Feb 2011 13:08:34 +0000 (14:08 +0100)]
s3-rpc_server: Fixed possible segfault with client_id.

9 years agos3:utils enable sharesec for registry shares
Christian Ambach [Wed, 9 Feb 2011 14:35:24 +0000 (15:35 +0100)]
s3:utils enable sharesec for registry shares

Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb  9 16:41:31 CET 2011 on sn-devel-104

9 years agos3:net idmap: implement net idmap delete
Gregor Beck [Tue, 8 Feb 2011 23:04:48 +0000 (00:04 +0100)]
s3:net idmap: implement net idmap delete

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb  9 15:06:06 CET 2011 on sn-devel-104

9 years agos3:net idmap dump: report correct database file when failed to open idmap db.
Michael Adam [Wed, 9 Feb 2011 12:47:21 +0000 (13:47 +0100)]
s3:net idmap dump: report correct database file when failed to open idmap db.

9 years agos3:net idmap dump: use net_idmap_dbfile
Gregor Beck [Tue, 8 Feb 2011 11:40:23 +0000 (12:40 +0100)]
s3:net idmap dump: use net_idmap_dbfile

9 years agos3:net idmap restore: correctly abort operation if dbfile could not be determined
Michael Adam [Tue, 8 Feb 2011 22:24:57 +0000 (23:24 +0100)]
s3:net idmap restore: correctly abort operation if dbfile could not be determined

9 years agos3:net idmap: fix error reporting in net_idmap_dbfile()
Michael Adam [Tue, 8 Feb 2011 22:16:31 +0000 (23:16 +0100)]
s3:net idmap: fix error reporting in net_idmap_dbfile()

The last case which results in dbfile == NULL is not an
out of memory case but means no --db has been specified
and the idmap backend is not supported for auto-determining
the idmap tdb file.

9 years agos3:net factor out net_idmap_dbfile
Gregor Beck [Tue, 8 Feb 2011 11:06:07 +0000 (12:06 +0100)]
s3:net factor out net_idmap_dbfile

9 years agos3:net idmap restore: fix segfault on missing input file
Gregor Beck [Tue, 8 Feb 2011 11:03:08 +0000 (12:03 +0100)]
s3:net idmap restore: fix segfault on missing input file

9 years agos3:net add option --db
Gregor Beck [Tue, 8 Feb 2011 11:01:34 +0000 (12:01 +0100)]
s3:net add option --db

9 years agos3:testparm: add "--option" to testparm
Michael Adam [Wed, 9 Feb 2011 12:45:22 +0000 (13:45 +0100)]
s3:testparm: add "--option" to testparm

This way one can test the --option feature with testparm.
E.g.:

testparm -s -v --option="parameter=value" | grep parameter

should print "parameter = value"

9 years agos3:popt: add POPT_COMMON_OPTION to provide only the "--option" feature
Michael Adam [Wed, 9 Feb 2011 12:44:42 +0000 (13:44 +0100)]
s3:popt: add POPT_COMMON_OPTION to provide only the "--option" feature

9 years agos3:loadparm: skip leading spaces in parameter values from the command line
Michael Adam [Wed, 9 Feb 2011 12:42:38 +0000 (13:42 +0100)]
s3:loadparm: skip leading spaces in parameter values from the command line

9 years agoprovision: Add missing dependency on pyldb-util.
Jelmer Vernooij [Sun, 30 Jan 2011 09:59:41 +0000 (10:59 +0100)]
provision: Add missing dependency on pyldb-util.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Feb  9 13:55:10 CET 2011 on sn-devel-104

9 years agodlinklist: Change license to LGPLv3+ (checked with tridge).
Jelmer Vernooij [Sun, 30 Jan 2011 09:59:14 +0000 (10:59 +0100)]
dlinklist: Change license to LGPLv3+ (checked with tridge).

9 years agos3:rpc_server: create binding_handle in rpc_pipe_open_external()
Stefan Metzmacher [Wed, 9 Feb 2011 05:56:25 +0000 (06:56 +0100)]
s3:rpc_server: create binding_handle in rpc_pipe_open_external()

metze

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb  9 12:30:50 CET 2011 on sn-devel-104

9 years agos3:rpc_client: make rpccli_bh_create() non-static for now
Stefan Metzmacher [Wed, 9 Feb 2011 05:55:33 +0000 (06:55 +0100)]
s3:rpc_client: make rpccli_bh_create() non-static for now

metze

9 years agos4/tests: Implement a blackbox test for 'samba-tool drs' command
Kamen Mazdrashki [Wed, 9 Feb 2011 01:40:52 +0000 (03:40 +0200)]
s4/tests: Implement a blackbox test for 'samba-tool drs' command

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Feb  9 11:45:30 CET 2011 on sn-devel-104