jra/samba/.git
16 years agoerrors: Add WERR_NO_SUCH_USER.
Günther Deschner [Wed, 16 Apr 2008 00:37:27 +0000 (02:37 +0200)]
errors: Add WERR_NO_SUCH_USER.

Guenther

16 years agoerrors: Add WERR_NONE_MAPPED.
Günther Deschner [Wed, 16 Apr 2008 00:23:20 +0000 (02:23 +0200)]
errors: Add WERR_NONE_MAPPED.

Guenther

16 years agonet/libnetapi: Include netapi headers early and free on exit.
Günther Deschner [Wed, 16 Apr 2008 00:16:08 +0000 (02:16 +0200)]
net/libnetapi: Include netapi headers early and free on exit.

Guenther

16 years agolibnetapi: do not overwrite status in libnetapi_get_error_string().
Günther Deschner [Tue, 15 Apr 2008 22:14:52 +0000 (00:14 +0200)]
libnetapi: do not overwrite status in libnetapi_get_error_string().

Guenther

16 years agoloadparm: remove pfunc parameter from process_registry_globals().
Michael Adam [Sun, 13 Apr 2008 19:57:55 +0000 (21:57 +0200)]
loadparm: remove pfunc parameter from process_registry_globals().

Use do_parameter() directly.

Michael

16 years agolibnetapi: Add missing headers.
Günther Deschner [Tue, 15 Apr 2008 20:30:06 +0000 (22:30 +0200)]
libnetapi: Add missing headers.

Guenther

16 years agoIDL: For the fun of it, build drsuapi.idl.
Günther Deschner [Tue, 15 Apr 2008 20:04:59 +0000 (22:04 +0200)]
IDL: For the fun of it, build drsuapi.idl.

Guenther

16 years agoIDL: Fix several DRSUAPI calls.
Günther Deschner [Tue, 15 Apr 2008 18:39:11 +0000 (20:39 +0200)]
IDL: Fix several DRSUAPI calls.

Guenther

16 years agoIDL: Import drsuapi.idl from samba4.
Günther Deschner [Tue, 15 Apr 2008 18:38:22 +0000 (20:38 +0200)]
IDL: Import drsuapi.idl from samba4.

Guenther

16 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into 3-2-nopipeindex
Jelmer Vernooij [Tue, 15 Apr 2008 18:52:17 +0000 (20:52 +0200)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into 3-2-nopipeindex

16 years agoauth: add SeDiskOperatorsPrivilege to get_root_nt_token to fix registry shares.
Michael Adam [Tue, 15 Apr 2008 18:41:14 +0000 (20:41 +0200)]
auth: add SeDiskOperatorsPrivilege to get_root_nt_token to fix registry shares.

Michael

16 years agoReconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.
Jelmer Vernooij [Tue, 15 Apr 2008 18:26:52 +0000 (20:26 +0200)]
Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.

16 years agolibmsbconf: add handling of NULL share parameters to registry backend.
Michael Adam [Tue, 15 Apr 2008 15:39:01 +0000 (17:39 +0200)]
libmsbconf: add handling of NULL share parameters to registry backend.

Michael

16 years agolibsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in smbconf_create_...
Michael Adam [Tue, 15 Apr 2008 15:37:39 +0000 (17:37 +0200)]
libsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in smbconf_create_share().

These are values stored inside the base key for registry.
This is not getting deleted.

Michael

16 years agonet conf: adapt output of NULL share params in net conf list.
Michael Adam [Tue, 15 Apr 2008 15:36:44 +0000 (17:36 +0200)]
net conf: adapt output of NULL share params in net conf list.

don't list NULL share name and don't indent these parameters

Michael

16 years agonet conf: simplify logic in test output of net conf import.
Michael Adam [Tue, 15 Apr 2008 15:36:11 +0000 (17:36 +0200)]
net conf: simplify logic in test output of net conf import.

Michael

16 years agolibsmbconf: make sure to always list the NULL section first in text backend.
Michael Adam [Tue, 15 Apr 2008 14:06:57 +0000 (16:06 +0200)]
libsmbconf: make sure to always list the NULL section first in text backend.

Michael

16 years agonet conf: fix output of out-of-share parameters in test mode import
Michael Adam [Tue, 15 Apr 2008 12:38:36 +0000 (14:38 +0200)]
net conf: fix output of out-of-share parameters in test mode import

Michael

16 years agolibsmbconf: default to the NULL section when a parameter is encountered w/o section
Michael Adam [Tue, 15 Apr 2008 12:37:15 +0000 (14:37 +0200)]
libsmbconf: default to the NULL section when a parameter is encountered w/o section

Michael

16 years agolibsmbconf: allow NULL sharename in smbconf_share_exists().
Michael Adam [Tue, 15 Apr 2008 12:36:39 +0000 (14:36 +0200)]
libsmbconf: allow NULL sharename in smbconf_share_exists().

Michael

16 years agolibsmbconf: add handling of NULL strings to smbconf_find_in_array().
Michael Adam [Tue, 15 Apr 2008 11:50:27 +0000 (13:50 +0200)]
libsmbconf: add handling of NULL strings to smbconf_find_in_array().

Michael

16 years agolibsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()
Michael Adam [Tue, 15 Apr 2008 11:49:59 +0000 (13:49 +0200)]
libsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()

Michael

16 years agoRegenerate DCE/RPC client code after fixing memcpy() length bug in pidl.
Jelmer Vernooij [Tue, 15 Apr 2008 14:11:10 +0000 (16:11 +0200)]
Regenerate DCE/RPC client code after fixing memcpy() length bug in pidl.

16 years agolib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!
Stefan Metzmacher [Mon, 14 Apr 2008 22:18:34 +0000 (00:18 +0200)]
lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!

metze

16 years agopdb_tdb: fix the upgrade code, db_traverse returns the number of records!
Stefan Metzmacher [Mon, 14 Apr 2008 22:12:45 +0000 (00:12 +0200)]
pdb_tdb: fix the upgrade code, db_traverse returns the number of records!

metze

16 years agolibnetjoin/net: Fix lp_config_backend_is_registry() handling.
Günther Deschner [Mon, 14 Apr 2008 21:07:55 +0000 (23:07 +0200)]
libnetjoin/net: Fix lp_config_backend_is_registry() handling.

Thanks obnox, now we can net ads join and net ads leave with zero
configuration changes if "config backend = registry".

Guenther

16 years agonet: abort when lp_realm is not set in net_ads_leave().
Günther Deschner [Mon, 14 Apr 2008 20:58:38 +0000 (22:58 +0200)]
net: abort when lp_realm is not set in net_ads_leave().

Guenther

16 years agolibnetjoin: delete the workgroup name when requested while unjoining.
Günther Deschner [Mon, 14 Apr 2008 20:57:37 +0000 (22:57 +0200)]
libnetjoin: delete the workgroup name when requested while unjoining.

Guenther

16 years agolibnetjoin: separate out libnet_join_lookup_dc_rpc.
Günther Deschner [Mon, 14 Apr 2008 20:56:12 +0000 (22:56 +0200)]
libnetjoin: separate out libnet_join_lookup_dc_rpc.

Guenther

16 years agolibgpo: fix build warning.
Günther Deschner [Mon, 14 Apr 2008 16:21:21 +0000 (18:21 +0200)]
libgpo: fix build warning.

Thanks metze&vl.

Guenther

16 years agonet: exit early in net_ads_join() if the domain is not set.
Günther Deschner [Mon, 14 Apr 2008 14:16:25 +0000 (16:16 +0200)]
net: exit early in net_ads_join() if the domain is not set.

Guenther

16 years agolibnetjoin: Fix unjoining when no KRB5CCNAME is around.
Günther Deschner [Mon, 14 Apr 2008 14:15:18 +0000 (16:15 +0200)]
libnetjoin: Fix unjoining when no KRB5CCNAME is around.

Guenther

16 years agonet: use WERROR for check_ads_config().
Günther Deschner [Mon, 14 Apr 2008 14:13:52 +0000 (16:13 +0200)]
net: use WERROR for check_ads_config().

Guenther

16 years agodoserr: Add WERR_INVALID_DOMAIN_STATE and WERR_INVALID_DOMAIN_ROLE.
Günther Deschner [Mon, 14 Apr 2008 13:48:23 +0000 (15:48 +0200)]
doserr: Add WERR_INVALID_DOMAIN_STATE and WERR_INVALID_DOMAIN_ROLE.

Guenther

16 years agonet: the success of secrets_init is checked by libnetjoin now.
Günther Deschner [Mon, 14 Apr 2008 13:47:30 +0000 (15:47 +0200)]
net: the success of secrets_init is checked by libnetjoin now.

Guenther

16 years agoWKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if enabled.
Günther Deschner [Mon, 14 Apr 2008 12:46:30 +0000 (14:46 +0200)]
WKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if enabled.

Guenther

16 years agolibnetjoin: Remove machine account if we failed to set password.
Günther Deschner [Mon, 14 Apr 2008 12:42:19 +0000 (14:42 +0200)]
libnetjoin: Remove machine account if we failed to set password.

Guenther

16 years agoRemove two pointless else branches
Volker Lendecke [Sun, 30 Mar 2008 20:08:17 +0000 (22:08 +0200)]
Remove two pointless else branches

16 years agoRemove namedpipe_transact fn pointer from smb_np_struct
Volker Lendecke [Sun, 13 Apr 2008 17:14:09 +0000 (19:14 +0200)]
Remove namedpipe_transact fn pointer from smb_np_struct

16 years agoEnable multiple fd events on a single file descriptor
Volker Lendecke [Tue, 1 Apr 2008 13:29:59 +0000 (15:29 +0200)]
Enable multiple fd events on a single file descriptor

Now we can have multiple events listen on a single fd. The order in which they
are called is naturally not defined, meaning that it is only deterministic if
exactly one event is readable or writeable.

16 years agoFix some "ignoring asprintf result" warnings
Volker Lendecke [Wed, 2 Apr 2008 13:54:49 +0000 (15:54 +0200)]
Fix some "ignoring asprintf result" warnings

16 years agoMake use of ZERO_STRUCT instead of memset in namequery.c
Volker Lendecke [Sat, 29 Mar 2008 16:20:15 +0000 (17:20 +0100)]
Make use of ZERO_STRUCT instead of memset in namequery.c

16 years agoFix the build of db_open_trans with CLUSTER_SUPPORT enabled
Volker Lendecke [Mon, 14 Apr 2008 10:53:11 +0000 (12:53 +0200)]
Fix the build of db_open_trans with CLUSTER_SUPPORT enabled

Metze, you might want to check this.

16 years agolibnetjoin: Fix joining when no KRB5CCNAME is around.
Günther Deschner [Mon, 14 Apr 2008 10:20:33 +0000 (12:20 +0200)]
libnetjoin: Fix joining when no KRB5CCNAME is around.

Guenther

16 years agoUse more error-prone form of testing dm_destroy_session() return code after discussin...
Alexander Bokovoy [Mon, 14 Apr 2008 09:56:36 +0000 (13:56 +0400)]
Use more error-prone form of testing dm_destroy_session() return code after discussing with Tridge

16 years agoloadparm: use the new smbconf_init() dispatcher for loading registry config.
Michael Adam [Sun, 13 Apr 2008 15:22:52 +0000 (17:22 +0200)]
loadparm: use the new smbconf_init() dispatcher for loading registry config.

Michael

16 years agonet conf: use the new smbconf_init() dispatcher instead of explicit backend init.
Michael Adam [Sun, 13 Apr 2008 15:16:54 +0000 (17:16 +0200)]
net conf: use the new smbconf_init() dispatcher instead of explicit backend init.

Michael

16 years agolibsmbconf: add a smbconf init dispatcher smbconf_init().
Michael Adam [Sun, 13 Apr 2008 15:13:16 +0000 (17:13 +0200)]
libsmbconf: add a smbconf init dispatcher smbconf_init().

The dispatcher takes a config source argument in the form
of "backend:path" where backend can (currently) be one of
"txt" (aka "file") or "reg" (aka "registry").

When the path is omitted, it is up to the backend to provide
a default path.

When there is no separator ":" and the string is not a recognized
backend, then file backend is assumed and the string is passed
in as the path argument.

Michael

16 years agolibsmbconf: move setting of verbatim variable into a more internal function.
Michael Adam [Sun, 13 Apr 2008 14:36:30 +0000 (16:36 +0200)]
libsmbconf: move setting of verbatim variable into a more internal function.

Michael

16 years agolibsmbconf: add a check for talloc failure to smbconf_txt_init().
Michael Adam [Sun, 13 Apr 2008 14:34:40 +0000 (16:34 +0200)]
libsmbconf: add a check for talloc failure to smbconf_txt_init().

Michael

16 years agolibsmbconf: remove the bool verbatim parameter from txt backend init function.
Michael Adam [Sun, 13 Apr 2008 14:32:05 +0000 (16:32 +0200)]
libsmbconf: remove the bool verbatim parameter from txt backend init function.

Always be verbatim for now. Backend config options may be added later
via some private data pointer.

Michael

16 years agolibsmbconf: rename smbconf_init() to smbconf_init_internal().
Michael Adam [Sun, 13 Apr 2008 14:26:14 +0000 (16:26 +0200)]
libsmbconf: rename smbconf_init() to smbconf_init_internal().

smbconf_init should be the name of the dispatcher (to be written)

Michael

16 years agolibnetapi: add libnetapi_set_use_kerberos
Günther Deschner [Sun, 13 Apr 2008 17:22:24 +0000 (19:22 +0200)]
libnetapi: add libnetapi_set_use_kerberos

Don't unconditionally set the kerberos flag for authentication.

Guenther

16 years agolibnetapi: Add NetQueryDisplayInformation header.
Günther Deschner [Sun, 13 Apr 2008 17:23:42 +0000 (19:23 +0200)]
libnetapi: Add NetQueryDisplayInformation header.

Guenther

16 years agolibnetapi: add NetQueryDisplayInformation example.
Günther Deschner [Sun, 13 Apr 2008 17:15:15 +0000 (19:15 +0200)]
libnetapi: add NetQueryDisplayInformation example.

Guenther

16 years agolibnetapi: fill in NetQueryDisplayInformation_r.
Günther Deschner [Sun, 13 Apr 2008 17:12:31 +0000 (19:12 +0200)]
libnetapi: fill in NetQueryDisplayInformation_r.

Guenther

16 years agolibnetapi: don't reset the error code in NetUserAdd_r if the operation failed.
Günther Deschner [Sun, 13 Apr 2008 17:11:01 +0000 (19:11 +0200)]
libnetapi: don't reset the error code in NetUserAdd_r if the operation failed.

Guenther

16 years agolibnetapi: add NetQueryDisplayInformation skeleton.
Günther Deschner [Sun, 13 Apr 2008 17:04:18 +0000 (19:04 +0200)]
libnetapi: add NetQueryDisplayInformation skeleton.

Guenther

16 years agoRe-run make idl.
Günther Deschner [Sun, 13 Apr 2008 17:00:53 +0000 (19:00 +0200)]
Re-run make idl.

Guenther

16 years agolibnetapi: Add IDL for NetQueryDisplayInformation.
Günther Deschner [Sun, 13 Apr 2008 16:59:42 +0000 (18:59 +0200)]
libnetapi: Add IDL for NetQueryDisplayInformation.

Guenther

16 years agoFix the build of eventlogadm.
Günther Deschner [Sun, 13 Apr 2008 16:27:03 +0000 (18:27 +0200)]
Fix the build of eventlogadm.

Guenther

16 years agogpo: add scripts plugin.
Günther Deschner [Sun, 13 Apr 2008 15:52:11 +0000 (17:52 +0200)]
gpo: add scripts plugin.

Guenther

16 years agolibnetapi: don't to try to free NULL struct.
Günther Deschner [Sun, 13 Apr 2008 15:33:27 +0000 (17:33 +0200)]
libnetapi: don't to try to free NULL struct.

Guenther

16 years agogpo: make integer debug print more readable.
Günther Deschner [Sun, 13 Apr 2008 15:32:07 +0000 (17:32 +0200)]
gpo: make integer debug print more readable.

Guenther

16 years agoregistry: honour the WERROR that regsubkey_ctr_addkey gives us in reg_load_tree.
Michael Adam [Sun, 13 Apr 2008 13:45:33 +0000 (15:45 +0200)]
registry: honour the WERROR that regsubkey_ctr_addkey gives us in reg_load_tree.

Michael

16 years agoregistry: honour the WERROR that regsubkey_ctr_addkey gives in regdb_fetch_keys.
Michael Adam [Sun, 13 Apr 2008 13:41:07 +0000 (15:41 +0200)]
registry: honour the WERROR that regsubkey_ctr_addkey gives in regdb_fetch_keys.

Michael

16 years agonet registry: remove superfluous regdb_close().
Michael Adam [Sun, 13 Apr 2008 13:36:05 +0000 (15:36 +0200)]
net registry: remove superfluous regdb_close().

Michael

16 years agoregistry: rename init_registry() to registry_init_full() for consistency.
Michael Adam [Sun, 13 Apr 2008 13:33:12 +0000 (15:33 +0200)]
registry: rename init_registry() to registry_init_full() for consistency.

Michael

16 years agoregistry: change init_registry() to return WERROR instead of bool.
Michael Adam [Sun, 13 Apr 2008 13:31:02 +0000 (15:31 +0200)]
registry: change init_registry() to return WERROR instead of bool.

Michael

16 years agoregistry: change registry_init_smbconf() to return WERROR instead of bool
Michael Adam [Sun, 13 Apr 2008 13:25:47 +0000 (15:25 +0200)]
registry: change registry_init_smbconf() to return WERROR instead of bool

Michael

16 years agoregistry: refactor common part of registry initialization out.
Michael Adam [Sun, 13 Apr 2008 13:21:31 +0000 (15:21 +0200)]
registry: refactor common part of registry initialization out.

into a new function registry_init_common().

Michael

16 years agoregistry: change registry_init_basic() to return WERROR instead of bool
Michael Adam [Sun, 13 Apr 2008 13:12:04 +0000 (15:12 +0200)]
registry: change registry_init_basic() to return WERROR instead of bool

Michael

16 years agoregistry: change reghook_cache_add() to return WERROR instead of bool
Michael Adam [Sun, 13 Apr 2008 12:55:49 +0000 (14:55 +0200)]
registry: change reghook_cache_add() to return WERROR instead of bool

Michael

16 years agoregistry cachehook: change helper function keyname_to_path() to return WERROR.
Michael Adam [Sun, 13 Apr 2008 12:49:32 +0000 (14:49 +0200)]
registry cachehook: change helper function keyname_to_path() to return WERROR.

Michael

16 years agoadt_tree: change pathtree_add to return WERR instead of bool.
Michael Adam [Sun, 13 Apr 2008 12:41:44 +0000 (14:41 +0200)]
adt_tree: change pathtree_add to return WERR instead of bool.

Michael

16 years agoregistry cachehook: revert logic to make fast path more obvious and reduce indent.
Michael Adam [Sun, 13 Apr 2008 12:40:51 +0000 (14:40 +0200)]
registry cachehook: revert logic to make fast path more obvious and reduce indent.

Michael

16 years agoregistry: change reghook_cache_init() to return WERROR and use it in the callers.
Michael Adam [Sun, 13 Apr 2008 12:18:06 +0000 (14:18 +0200)]
registry: change reghook_cache_init() to return WERROR and use it in the callers.

Michael

16 years agoregistry cachehook: compare cache_tree against NULL, not 0.
Michael Adam [Sun, 13 Apr 2008 11:41:39 +0000 (13:41 +0200)]
registry cachehook: compare cache_tree against NULL, not 0.

Michael

16 years agoregistry: change init_registry_key() and init_registry_data() to return WERR
Michael Adam [Sun, 13 Apr 2008 11:38:44 +0000 (13:38 +0200)]
registry: change init_registry_key() and init_registry_data() to return WERR

Michael

16 years agoregistry: unify debug output in the registry init functions.
Michael Adam [Sun, 13 Apr 2008 10:46:21 +0000 (12:46 +0200)]
registry: unify debug output in the registry init functions.

Michael

16 years agoregistry: change regdb_init() to return WERROR instead of bool.
Michael Adam [Sun, 13 Apr 2008 10:41:34 +0000 (12:41 +0200)]
registry: change regdb_init() to return WERROR instead of bool.

Michael

16 years agoregistry: make registry_init_smbconf() hook the registry ops onto given key.
Michael Adam [Sun, 13 Apr 2008 10:10:07 +0000 (12:10 +0200)]
registry: make registry_init_smbconf() hook the registry ops onto given key.

This still defaults to HKLM\Software\Samba\smbconf, but is interchangeable now.
This allows us to open the libsmbconf registry backend on different registry keys.

Michael

16 years agoUpdate WHATSNEW entry for pre3
Volker Lendecke [Sun, 13 Apr 2008 10:20:22 +0000 (12:20 +0200)]
Update WHATSNEW entry for pre3

16 years agoregistry cachehook: add talloc failed debug messages.
Michael Adam [Sat, 12 Apr 2008 23:47:16 +0000 (01:47 +0200)]
registry cachehook: add talloc failed debug messages.

Michael

16 years agoregistry cachehook: eliminate a couple trailing spaces (empty lines).
Michael Adam [Sat, 12 Apr 2008 23:44:57 +0000 (01:44 +0200)]
registry cachehook: eliminate a couple trailing spaces (empty lines).

Michael

16 years agoregistry cachehook: fix memleak (to talloc_tos()): free key at the end.
Michael Adam [Sat, 12 Apr 2008 23:42:46 +0000 (01:42 +0200)]
registry cachehook: fix memleak (to talloc_tos()): free key at the end.

Michael

16 years agoregistry cachehook: refactor normalization of keyname out.
Michael Adam [Sat, 12 Apr 2008 23:40:45 +0000 (01:40 +0200)]
registry cachehook: refactor normalization of keyname out.

Michael

16 years agoregistry: adapt copied function header comments.
Michael Adam [Sat, 12 Apr 2008 23:32:51 +0000 (01:32 +0200)]
registry: adapt copied function header comments.

Michael

16 years agoregistry: remove the REGISTRY_HOOKS layer from the reghook cache.
Michael Adam [Sat, 12 Apr 2008 22:54:44 +0000 (00:54 +0200)]
registry: remove the REGISTRY_HOOKS layer from the reghook cache.

There is no need to save the keyname again, we only need to
get the REGISTRY_OPS out of the pathtree.

Furthermore, this makes life easier, since we can now pass
in keynames as temporarily allocated strings.

Michael

16 years agoFix ou handling in netdomjoin-gui.
Günther Deschner [Sat, 12 Apr 2008 21:12:53 +0000 (23:12 +0200)]
Fix ou handling in netdomjoin-gui.

The ou list was concatenated again and again...

Guenther

16 years agolibnetapi: fix a C++ warning by making implicit cast explicit
Michael Adam [Sat, 12 Apr 2008 22:24:42 +0000 (00:24 +0200)]
libnetapi: fix a C++ warning by making implicit cast explicit

Michael

16 years agodbwrap_tdb2: fix a C++ warning by making implicit cast explicit
Michael Adam [Sat, 12 Apr 2008 22:23:58 +0000 (00:23 +0200)]
dbwrap_tdb2: fix a C++ warning by making implicit cast explicit

Michael

16 years agoAdd WERR_USER_ALREADY_EXISTS and WERR_PASSWORD_RESTRICTION.
Günther Deschner [Sat, 12 Apr 2008 16:30:14 +0000 (18:30 +0200)]
Add WERR_USER_ALREADY_EXISTS and WERR_PASSWORD_RESTRICTION.

Guenther

16 years agoMove some WERRORs down to the NERR_BASE block.
Günther Deschner [Sat, 12 Apr 2008 16:29:13 +0000 (18:29 +0200)]
Move some WERRORs down to the NERR_BASE block.

Guenther

16 years agoFill in WHATSNEW.txt for pre3.
Günther Deschner [Sat, 12 Apr 2008 16:26:37 +0000 (18:26 +0200)]
Fill in WHATSNEW.txt for pre3.

Guenther

16 years agoWHATSNEW.txt: list my changes
Stefan Metzmacher [Sat, 12 Apr 2008 09:13:40 +0000 (11:13 +0200)]
WHATSNEW.txt: list my changes

metze

16 years agogroupdb: make mapping_tdb compatible to mapping_ldb
Stefan Metzmacher [Mon, 31 Mar 2008 09:24:10 +0000 (11:24 +0200)]
groupdb: make mapping_tdb compatible to mapping_ldb

mapping_ldb replaces the record if it already exists.
I'm not sure if that a good thing, but for now
both backends should provide the same behavior.

metze

16 years agogroupdb: readd groupdb:backend parametric option
Stefan Metzmacher [Fri, 28 Mar 2008 07:24:28 +0000 (08:24 +0100)]
groupdb: readd groupdb:backend parametric option

This reverts c5adb92c020e38644baf1afc8fc570a518cd6307.

The reason is that ldb doesn't work for cluster setups yet.

metze

16 years agodbwrap: wait for tdb2 change notifies in smbd, nmbd and winbindd
Stefan Metzmacher [Tue, 1 Apr 2008 12:01:28 +0000 (14:01 +0200)]
dbwrap: wait for tdb2 change notifies in smbd, nmbd and winbindd

metze

16 years agodbwrap: use db_open_tdb2() in for db_open_trans() if "dbwrap:use_tdb2=yes"
Stefan Metzmacher [Wed, 26 Mar 2008 09:08:10 +0000 (10:08 +0100)]
dbwrap: use db_open_tdb2() in for db_open_trans() if "dbwrap:use_tdb2=yes"

For clustered setups you need to disable the ctdb backend for each
tdb which should use the tdb2 backend (e.g. ctdb:registry.tdb=no).

To disable tdb2 per tdb use something like "tdb2:passdb.tdb=no"

metze