ira/wip.git
13 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
(This used to be commit 260efafb8fb6527eb0a182f9a6bfed8239dd8315)

13 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
(This used to be commit db5e0ed186429667a7f6fc67e4b19a7ca75f357e)

13 years agoRemove two pointless else branches
Volker Lendecke [Sun, 30 Mar 2008 20:08:17 +0000 (22:08 +0200)]
Remove two pointless else branches
(This used to be commit ed343114cd0844a7fd14b45f95c0f43a6d172a42)

13 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
(This used to be commit d1f82b7e67a791e19d08c682b607d82ae649feb4)

13 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.
(This used to be commit 61503f822b60f98dd1f7549707ec89b48e32caeb)

13 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
(This used to be commit 155d62ddfd3584d44a493c2aa1ea7f096bcff432)

13 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
(This used to be commit 4f1d49615e1407b9c3ad5eeb50a248b8fee50e23)

13 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.
(This used to be commit 3b4a402bc5c3490000581d43a12388883bcf8150)

13 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
(This used to be commit 512e6ca0a9be9fe35994ec1010110573a5b551d1)

13 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
(This used to be commit 4abdbad52e456764bca1b17ead04edee1e2a2a64)

13 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
(This used to be commit 78afb30f8073c3804dfa0cecadf973d5af5dd612)

13 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
(This used to be commit 281c9287a34533045b62302bb33ced3d216421ac)

13 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
(This used to be commit cc613a60eb0f6b92cae98e8669e5e569a1eb9324)

13 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
(This used to be commit 9efd7b515183fa28f400fe88af63e0b0126e3e00)

13 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
(This used to be commit f76ec7d87e206426c795374397ba725ecdeec784)

13 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
(This used to be commit e8bafcfbf4a7ab1dc1ce4f2acd24b0eb74933256)

13 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
(This used to be commit 3fb95ab757650712716472ebaccb7119feb27596)

13 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
(This used to be commit 15bef5ae413adf278cccc0e547c4b8ccd180eca2)

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

Guenther
(This used to be commit 3c107934acc907e3eedd116b42d1d07ee0574183)

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

Guenther
(This used to be commit 5f9332cf1f60bb5a23a16776b95af3a83c5deb40)

13 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
(This used to be commit 7fb9991b4c54fd0b9629e47afc1e5bbc2cfc1088)

13 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
(This used to be commit 9edb067f62b1e36f1da461b3eb09cb123d2089dd)

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

Guenther
(This used to be commit 6ec4a62b6d584f6745c3285474372f235614b598)

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

Guenther
(This used to be commit afd0e925dc63b6f776caa5fd442c4e48e8349682)

13 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
(This used to be commit 1200eb474c145fdde91bc39546454015fecf22f0)

13 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
(This used to be commit 57a5628abf628b6276f36da8ae1f3c15a4db4488)

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

Guenther
(This used to be commit cd6388f04041a667bf0909d81e8af5f7b3bdc4af)

13 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
(This used to be commit eb33d30d80ab2fe770e248f5b2a70a83a43dd156)

13 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
(This used to be commit b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5)

13 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
(This used to be commit c2d9baa29edb2356f32ca19aea828184e9ac7b93)

13 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
(This used to be commit 7dd7471da7eca2671b4aa62e8790973e3ff14177)

13 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
(This used to be commit d4e74036d3b8c5de4ce130eab7fc775e3cb746d5)

13 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
(This used to be commit 14d82708d4499b48830d3dd25a0133f00a39d030)

13 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
(This used to be commit 0b196095dbbc29c796cb0742fe6e57a421e9596b)

13 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
(This used to be commit 7c343c60574cda091f59861fbcb2893aefb564e9)

13 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
(This used to be commit 5da52b95ac69e4abfbc44335df2447bec8f16e13)

13 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
(This used to be commit 6a31e659cb371395dff0906786f3c6ef0cc2b3de)

13 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
(This used to be commit e65a999989c97c4c7b0af5093e0e89583691e9a8)

13 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
(This used to be commit 78bb005ee45e7a0be24b5222c3f878058b5cd8ea)

13 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
(This used to be commit da45fb92f69221758f36db4cbb7d871e3ce60718)

13 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
(This used to be commit e97d558c5660e6d235b62528f5527a62ac1252d7)

13 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
(This used to be commit 2f4ca62dce50225d67ba8643afba4199e1845c5f)

13 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
(This used to be commit 4bfc0be55f2a436a9c687ab6ad86e704fcb753d6)

13 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
(This used to be commit e0718f04a7392695eed6cd1bf888d3af1d5d6177)

13 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
(This used to be commit 4fd9b45ffc08e7deeae58be3129832148748af13)

13 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
(This used to be commit c312852abce72bc167abee8b29fc699c4a643ca7)

13 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
(This used to be commit 8fe1a2f567afbecbe487f08825cb43b038065e99)

13 years agoUpdate WHATSNEW entry for pre3
Volker Lendecke [Sun, 13 Apr 2008 10:20:22 +0000 (12:20 +0200)]
Update WHATSNEW entry for pre3
(This used to be commit 81f34489f7923db1141175b8b6bcc8594c6b2ee0)

13 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
(This used to be commit 9841ee7fd429c7ff367dbb43b754cd5b6f53c065)

13 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
(This used to be commit c9f01aee37165216fa8a5331c64dd93963b38802)

13 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
(This used to be commit 3f5955d361da5278773b46dccb34c8f63eb04157)

13 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
(This used to be commit acb9c98dff7dac5e0688a04dbf6d63a7a7f67fd2)

13 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
(This used to be commit 2e762be0db7a098b6da09756a9c9dfa3931ca3c6)

13 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
(This used to be commit 2f9ee2f782c77ed99669af5ac2ba40cb0978f0da)

13 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
(This used to be commit 84608e165e24c68c12d40086f81684ef37f69159)

13 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
(This used to be commit b62dd61cc56ec33601289fd4e23058c7f9ad3f0d)

13 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
(This used to be commit 18ced7e42072953a1968db15b0a344b54214b83d)

13 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
(This used to be commit eefd03d39b107598e9b0d1f35def7b17073d8ebc)

13 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
(This used to be commit 2453375ee04f466800f53a0f2991d8d5dee0bd8e)

13 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
(This used to be commit bf638d97d7668292ef9abf890eebc402645b8327)

13 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
(This used to be commit 55b86c0a13d9f10df533dc6c0a23e290d880edbc)

13 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
(This used to be commit b313acdd31c97d032c3890764addf66c6b9a4d89)

13 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
(This used to be commit 5f5d90ef76b969ecbe564399368a7450c4e3d155)

13 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
(This used to be commit 64450cc1e441355aa8925b7183e90872eeab20b1)

13 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
(This used to be commit 5cea2bf3673c982bafeef4a8bbd3bd2ab73cc0c5)

13 years agodbwrap: add dbwrap_tdb2 backend
Stefan Metzmacher [Wed, 19 Mar 2008 18:40:10 +0000 (19:40 +0100)]
dbwrap: add dbwrap_tdb2 backend

This backend can be used untill ctdb knows about real
transactions.

It stores a master tdb in a shared location and a readonly copy
on the local harddisk. Reads are always on the local tdb
and writes always on both. Change notify messages are send
to all message context, which ask for them. With the notifies
it's possible to just update the changed records, instead of
copying all records (which is the fallback).

You need to configure:

dbwrap:use_tdb2=yes
dbwrap_tdb2:master directory=/some/shared/path
dbwrap_tdb2:local directory=/var/lib/samba

metze
(This used to be commit aa6230de0d5f1875aa8c12c4fc017d3a40f90890)

13 years agorerun 'make idl'
Stefan Metzmacher [Mon, 31 Mar 2008 09:18:12 +0000 (11:18 +0200)]
rerun 'make idl'

metze
(This used to be commit f34dad2b4ad97a845729ea0fb5beba7fd6cb7265)

13 years agomessaging.idl: add structure to marshall dbwrap_tdb2 changes
Stefan Metzmacher [Mon, 31 Mar 2008 09:17:15 +0000 (11:17 +0200)]
messaging.idl: add structure to marshall dbwrap_tdb2 changes

metze
(This used to be commit 46a0d8e872af1ab420705a514c1d7b1b21459f82)

13 years agomessaging: add MSG_DBWRAP_TDB2_CHANGES flag
Stefan Metzmacher [Mon, 31 Mar 2008 10:50:23 +0000 (12:50 +0200)]
messaging: add MSG_DBWRAP_TDB2_CHANGES flag

metze
(This used to be commit 7418c3ab1d8f18403f5a43817b2cc14e15090fca)

13 years agomessaging: add FLAG_MSG_DBWRAP message class flag
Stefan Metzmacher [Mon, 31 Mar 2008 10:50:23 +0000 (12:50 +0200)]
messaging: add FLAG_MSG_DBWRAP message class flag

metze
(This used to be commit ee6325495f48bab43a37d740a6eca57192004d57)

13 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Sat, 12 Apr 2008 00:46:17 +0000 (17:46 -0700)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 7258c780f0650c63d6c7c40fd704a9b841600f26)

13 years agoFix bug #5386, don't keep printing the same waiting
Jeremy Allison [Sat, 12 Apr 2008 00:41:49 +0000 (17:41 -0700)]
Fix bug #5386, don't keep printing the same waiting
error message.
Jeremy.
(This used to be commit 12e6818df1c77810a59a2896f8c44c91fc24e7ae)

13 years agobuild: smbconftort only needs LIBSMB_ERR_OBJ, not LIBSAMBA_OBJ
Michael Adam [Fri, 11 Apr 2008 20:22:12 +0000 (22:22 +0200)]
build: smbconftort only needs LIBSMB_ERR_OBJ, not LIBSAMBA_OBJ

Michael
(This used to be commit 27fea343d2eeff5b7d38092dd1286cb8e3478cbe)

13 years agobuild: move SECRETS_OBJ into LIBSMB_ERR_OBJ.
Michael Adam [Fri, 11 Apr 2008 20:13:39 +0000 (22:13 +0200)]
build: move SECRETS_OBJ into LIBSMB_ERR_OBJ.

LIBSMB_ERR_OBJ depends on SECRETS_OBJ

Michael
(This used to be commit 79b5a0c7a8ea47fbc44fb6582a39152c69edccaa)

13 years agobuild: move SECRETS_OBJ into LIBSMB_OBJ
Michael Adam [Fri, 11 Apr 2008 19:59:39 +0000 (21:59 +0200)]
build: move SECRETS_OBJ into LIBSMB_OBJ

LIBSMB_OBJ is not used without SECRETS_OBJ

Michael
(This used to be commit bea66f07b4b8071348fc4d7dc4d13306466af171)

13 years agobuild: regroup LIBSMB objects to for a smallest linkable uint (LIBSMB_ERR_OBJ)
Michael Adam [Fri, 11 Apr 2008 19:51:41 +0000 (21:51 +0200)]
build: regroup LIBSMB objects to for a smallest linkable uint (LIBSMB_ERR_OBJ)

Michael
(This used to be commit 310fd52ea4d05cdc83a798fda447879e3ebb2bc3)

13 years agoregistry: move normalize_dbkey() from lib/util_reg.c to registry/reg_util.c
Michael Adam [Fri, 11 Apr 2008 19:38:06 +0000 (21:38 +0200)]
registry: move normalize_dbkey() from lib/util_reg.c to registry/reg_util.c

This function is only used inside registry code.

Michael
(This used to be commit 48745e3fbd6b38f39678938b8c3f145769065e7b)

13 years agobuild: group RPC_PARSE_OBJ1 with LIBSAMBA_OBJ
Michael Adam [Fri, 11 Apr 2008 14:37:06 +0000 (16:37 +0200)]
build: group RPC_PARSE_OBJ1 with LIBSAMBA_OBJ

it is only ever used together

Michael
(This used to be commit 27c7441145190eee7b61bec76edf1d4987a5be8d)

13 years agobuild: group NTERR/DOSERR/ERRORMAP and LIBSAMBA object differently
Michael Adam [Fri, 11 Apr 2008 14:32:48 +0000 (16:32 +0200)]
build: group NTERR/DOSERR/ERRORMAP and LIBSAMBA object differently

Michael
(This used to be commit ddc2292c159700018911c85bcb2b8243b78f4e5c)

13 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Sat, 12 Apr 2008 00:24:31 +0000 (17:24 -0700)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 6a965e72a8650b275222548445d10b65aa61e765)

13 years agoQuieten valgrind message on make valgrindtest. This doesn't
Jeremy Allison [Sat, 12 Apr 2008 00:23:48 +0000 (17:23 -0700)]
Quieten valgrind message on make valgrindtest. This doesn't
seem to be valid (vl - feel free to confirm).
Jeremy.
(This used to be commit 43b0254d93540eeaddaa32d76dd9271f4dc2ebff)

13 years agolibnetapi: fix dependency problem by linking libnetapi statically (internally)
Michael Adam [Fri, 11 Apr 2008 22:12:25 +0000 (00:12 +0200)]
libnetapi: fix dependency problem by linking libnetapi statically (internally)

This is a workaround until we have isolated enough internal libraries
as shared libraries.

Michael
(This used to be commit 8a87e402701494ba1c9d56a9febe3e5c25dc2bf7)

13 years agolibnetapi: fix interactive logging by preventing setup_logging from closing stderr.
Michael Adam [Sat, 12 Apr 2008 00:05:25 +0000 (02:05 +0200)]
libnetapi: fix interactive logging by preventing setup_logging from closing stderr.

Michael
(This used to be commit 563b837b76e3a6086051fc56e0522b841939d37f)

13 years agoutil_tdb: fix a segfault caused by a fatal typo.
Michael Adam [Fri, 11 Apr 2008 23:36:10 +0000 (01:36 +0200)]
util_tdb: fix a segfault caused by a fatal typo.

In tdb_wrap_log(), in on occurrence of "debug_level = 0"
instead of "debuglevel = 0" caused me segfaults when
accessing DEBUGLEVEL (which is defined as "*debug_level"...)

Michael
(This used to be commit d9bd894c2ec4faf87e8ff96e27c7e2b8175f9387)

13 years agoupdate WHATSNEW
Michael Adam [Fri, 11 Apr 2008 13:39:39 +0000 (15:39 +0200)]
update WHATSNEW

Michael
(This used to be commit 07a9da0243f6f963108ea17d39c2daa3f7787b6a)

13 years agoRemove a redundant TALLOC_FREE
Volker Lendecke [Fri, 11 Apr 2008 21:14:53 +0000 (23:14 +0200)]
Remove a redundant TALLOC_FREE
(This used to be commit 8e348ab8652e1893be78384404f57df1dbbcea48)

13 years agoRemove some write-only fstrings
Volker Lendecke [Fri, 11 Apr 2008 20:20:32 +0000 (22:20 +0200)]
Remove some write-only fstrings
(This used to be commit aacb07b1b0f674b8cb92347ef4b4dd1e7808dde8)

13 years agonet: 'net' doesn't need wb_common.o anymore.
Stefan Metzmacher [Fri, 11 Apr 2008 13:16:51 +0000 (15:16 +0200)]
net: 'net' doesn't need wb_common.o anymore.

metze
(This used to be commit 05f7f77135ab997b92b2454871f21543ecbde0ed)

13 years agonsswitch: remove unused nsswitch/wb_client.c
Stefan Metzmacher [Fri, 11 Apr 2008 10:01:02 +0000 (12:01 +0200)]
nsswitch: remove unused nsswitch/wb_client.c

metze
(This used to be commit 2b236c7ace15b4408c31ed918b449d5a22e1769f)

13 years agonet_idmap: use wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functions
Stefan Metzmacher [Fri, 11 Apr 2008 10:00:29 +0000 (12:00 +0200)]
net_idmap: use wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functions

metze
(This used to be commit dc9a3f8db0af03b4e8223068857092fcaff404f2)

13 years agolibwbclient: add wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functions
Stefan Metzmacher [Fri, 11 Apr 2008 07:28:20 +0000 (09:28 +0200)]
libwbclient: add wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functions

metze
(This used to be commit 364e146805bb74b46da4d3c187e9a684d4b99a01)

13 years agolibsmbconf: don't mark the API as "subject to change" any longer.
Michael Adam [Fri, 11 Apr 2008 13:36:44 +0000 (15:36 +0200)]
libsmbconf: don't mark the API as "subject to change" any longer.

At least I hope it won't need many changes anymore...

Michael
(This used to be commit c4e1439eded7bb4df60b9d4b457e5b7898928c9e)

13 years agoCleanup size_t return values in convert_string_allocate
Tim Prouty [Mon, 3 Mar 2008 21:32:54 +0000 (13:32 -0800)]
Cleanup size_t return values in convert_string_allocate

This patch is the first iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(This used to be commit 59124382d2894a1b194b48dd82bc5f956959eb48)

13 years agoFix bug 5366
Volker Lendecke [Fri, 11 Apr 2008 09:34:33 +0000 (11:34 +0200)]
Fix bug 5366
(This used to be commit 448a8fe6c15bc4e85149d1ae821f0ebc2e3edde5)

13 years agotest: not only pretend to call smbconftort - really do it :-}
Michael Adam [Fri, 11 Apr 2008 08:57:50 +0000 (10:57 +0200)]
test: not only pretend to call smbconftort - really do it :-}

Michael
(This used to be commit e0947537e61cdc7aaaf1256a7f9a590f006cb3d9)

13 years agosome shells are pickier than others ...
Björn Jacke [Fri, 11 Apr 2008 08:33:46 +0000 (10:33 +0200)]
some shells are pickier than others ...
(This used to be commit 9aabfa44d95128ded567d0949a6dd42786cbf6fb)

13 years agoUse libnetapi_open_pipe in netapi functions.
Günther Deschner [Thu, 10 Apr 2008 20:44:00 +0000 (22:44 +0200)]
Use libnetapi_open_pipe in netapi functions.

Guenther
(This used to be commit 5804d8b112e1da022988c635284eb4799974d4c7)

13 years agoAdd libnetapi_open_pipe, inspired by the cli_cm_ interface.
Günther Deschner [Thu, 10 Apr 2008 20:42:07 +0000 (22:42 +0200)]
Add libnetapi_open_pipe, inspired by the cli_cm_ interface.

Guenther
(This used to be commit 87d8fc338f6e6b48691bff3eeebfc00c5d408ff7)

13 years agoUse libnetapi_open_ipc_connection in libnetapi.
Günther Deschner [Thu, 10 Apr 2008 20:04:04 +0000 (22:04 +0200)]
Use libnetapi_open_ipc_connection in libnetapi.

Guenther
(This used to be commit d9f19fc61586d606393368799dee9757c169d602)

13 years agoFix one missing netapi_private header.
Günther Deschner [Thu, 10 Apr 2008 19:56:12 +0000 (21:56 +0200)]
Fix one missing netapi_private header.

Guenther
(This used to be commit d34c3e8ad2b21051162e2a9d65f773c486c43d8b)