Michael Adam
413c2e9b0a
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)
2008-04-13 01:43:42 +02:00
Günther Deschner
a75421b019
Fix ou handling in netdomjoin-gui.
...
The ou list was concatenated again and again...
Guenther
(This used to be commit 84608e165e24c68c12d40086f81684ef37f69159)
2008-04-13 00:46:33 +02:00
Michael Adam
2595377988
libnetapi: fix a C++ warning by making implicit cast explicit
...
Michael
(This used to be commit b62dd61cc56ec33601289fd4e23058c7f9ad3f0d)
2008-04-13 00:24:42 +02:00
Michael Adam
3aa565e790
dbwrap_tdb2: fix a C++ warning by making implicit cast explicit
...
Michael
(This used to be commit 18ced7e42072953a1968db15b0a344b54214b83d)
2008-04-13 00:23:58 +02:00
Günther Deschner
98abf71ff5
Add WERR_USER_ALREADY_EXISTS and WERR_PASSWORD_RESTRICTION.
...
Guenther
(This used to be commit eefd03d39b107598e9b0d1f35def7b17073d8ebc)
2008-04-12 18:30:14 +02:00
Günther Deschner
2938315633
Move some WERRORs down to the NERR_BASE block.
...
Guenther
(This used to be commit 2453375ee04f466800f53a0f2991d8d5dee0bd8e)
2008-04-12 18:29:13 +02:00
Günther Deschner
e0cff1817a
Fill in WHATSNEW.txt for pre3.
...
Guenther
(This used to be commit bf638d97d7668292ef9abf890eebc402645b8327)
2008-04-12 18:26:37 +02:00
Stefan Metzmacher
8a94886aab
WHATSNEW.txt: list my changes
...
metze
(This used to be commit 55b86c0a13d9f10df533dc6c0a23e290d880edbc)
2008-04-12 11:13:40 +02:00
Stefan Metzmacher
aaf61d9ae4
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)
2008-04-12 10:01:42 +02:00
Stefan Metzmacher
37fbe55eea
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)
2008-04-12 09:21:04 +02:00
Stefan Metzmacher
e21b283d67
dbwrap: wait for tdb2 change notifies in smbd, nmbd and winbindd
...
metze
(This used to be commit 64450cc1e441355aa8925b7183e90872eeab20b1)
2008-04-12 09:14:10 +02:00
Stefan Metzmacher
138b58bcec
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)
2008-04-12 09:14:09 +02:00
Stefan Metzmacher
dfb181ab73
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)
2008-04-12 09:14:09 +02:00
Stefan Metzmacher
d3eebed911
rerun 'make idl'
...
metze
(This used to be commit f34dad2b4ad97a845729ea0fb5beba7fd6cb7265)
2008-04-12 09:14:09 +02:00
Stefan Metzmacher
1b2b703b37
messaging.idl: add structure to marshall dbwrap_tdb2 changes
...
metze
(This used to be commit 46a0d8e872af1ab420705a514c1d7b1b21459f82)
2008-04-12 09:14:08 +02:00
Stefan Metzmacher
3ae463ca69
messaging: add MSG_DBWRAP_TDB2_CHANGES flag
...
metze
(This used to be commit 7418c3ab1d8f18403f5a43817b2cc14e15090fca)
2008-04-12 09:14:08 +02:00
Stefan Metzmacher
c316c7ab73
messaging: add FLAG_MSG_DBWRAP message class flag
...
metze
(This used to be commit ee6325495f48bab43a37d740a6eca57192004d57)
2008-04-12 09:14:08 +02:00
Jeremy Allison
ccb79b383d
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 7258c780f0650c63d6c7c40fd704a9b841600f26)
2008-04-11 17:46:17 -07:00
Jeremy Allison
f85c4b6905
Fix bug #5386 , don't keep printing the same waiting
...
error message.
Jeremy.
(This used to be commit 12e6818df1c77810a59a2896f8c44c91fc24e7ae)
2008-04-11 17:41:49 -07:00
Michael Adam
85dc216ecb
build: smbconftort only needs LIBSMB_ERR_OBJ, not LIBSAMBA_OBJ
...
Michael
(This used to be commit 27fea343d2eeff5b7d38092dd1286cb8e3478cbe)
2008-04-12 02:41:21 +02:00
Michael Adam
3b32275d48
build: move SECRETS_OBJ into LIBSMB_ERR_OBJ.
...
LIBSMB_ERR_OBJ depends on SECRETS_OBJ
Michael
(This used to be commit 79b5a0c7a8ea47fbc44fb6582a39152c69edccaa)
2008-04-12 02:41:21 +02:00
Michael Adam
63e4a96253
build: move SECRETS_OBJ into LIBSMB_OBJ
...
LIBSMB_OBJ is not used without SECRETS_OBJ
Michael
(This used to be commit bea66f07b4b8071348fc4d7dc4d13306466af171)
2008-04-12 02:41:20 +02:00
Michael Adam
ae51385dfb
build: regroup LIBSMB objects to for a smallest linkable uint (LIBSMB_ERR_OBJ)
...
Michael
(This used to be commit 310fd52ea4d05cdc83a798fda447879e3ebb2bc3)
2008-04-12 02:41:20 +02:00
Michael Adam
c890aef164
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)
2008-04-12 02:41:20 +02:00
Michael Adam
41fa859f90
build: group RPC_PARSE_OBJ1 with LIBSAMBA_OBJ
...
it is only ever used together
Michael
(This used to be commit 27c7441145190eee7b61bec76edf1d4987a5be8d)
2008-04-12 02:41:20 +02:00
Michael Adam
27d76acb8f
build: group NTERR/DOSERR/ERRORMAP and LIBSAMBA object differently
...
Michael
(This used to be commit ddc2292c159700018911c85bcb2b8243b78f4e5c)
2008-04-12 02:41:20 +02:00
Jeremy Allison
05c15785d7
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 6a965e72a8650b275222548445d10b65aa61e765)
2008-04-11 17:24:31 -07:00
Jeremy Allison
e76ec752be
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)
2008-04-11 17:23:48 -07:00
Michael Adam
7d7b420ad1
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)
2008-04-12 02:17:46 +02:00
Michael Adam
ecd46b8ad4
libnetapi: fix interactive logging by preventing setup_logging from closing stderr.
...
Michael
(This used to be commit 563b837b76e3a6086051fc56e0522b841939d37f)
2008-04-12 02:05:25 +02:00
Michael Adam
8be49cdd3e
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)
2008-04-12 01:36:10 +02:00
Michael Adam
9c02cb9ee8
update WHATSNEW
...
Michael
(This used to be commit 07a9da0243f6f963108ea17d39c2daa3f7787b6a)
2008-04-11 23:40:55 +02:00
Volker Lendecke
fd502a74f7
Remove a redundant TALLOC_FREE
...
(This used to be commit 8e348ab8652e1893be78384404f57df1dbbcea48)
2008-04-11 23:14:53 +02:00
Volker Lendecke
c751386bb8
Remove some write-only fstrings
...
(This used to be commit aacb07b1b0f674b8cb92347ef4b4dd1e7808dde8)
2008-04-11 22:21:04 +02:00
Stefan Metzmacher
94df47318f
net: 'net' doesn't need wb_common.o anymore.
...
metze
(This used to be commit 05f7f77135ab997b92b2454871f21543ecbde0ed)
2008-04-11 15:59:34 +02:00
Stefan Metzmacher
4313d7b6c2
nsswitch: remove unused nsswitch/wb_client.c
...
metze
(This used to be commit 2b236c7ace15b4408c31ed918b449d5a22e1769f)
2008-04-11 15:59:34 +02:00
Stefan Metzmacher
08591d0095
net_idmap: use wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functions
...
metze
(This used to be commit dc9a3f8db0af03b4e8223068857092fcaff404f2)
2008-04-11 15:59:33 +02:00
Stefan Metzmacher
dc9569e45f
libwbclient: add wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functions
...
metze
(This used to be commit 364e146805bb74b46da4d3c187e9a684d4b99a01)
2008-04-11 15:59:33 +02:00
Michael Adam
a3f1b5f150
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)
2008-04-11 15:40:02 +02:00
Tim Prouty
bb869741dd
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)
2008-04-11 11:33:33 +02:00
Volker Lendecke
245ebca937
Fix bug 5366
...
(This used to be commit 448a8fe6c15bc4e85149d1ae821f0ebc2e3edde5)
2008-04-11 11:32:47 +02:00
Michael Adam
c575c85d58
test: not only pretend to call smbconftort - really do it :-}
...
Michael
(This used to be commit e0947537e61cdc7aaaf1256a7f9a590f006cb3d9)
2008-04-11 10:57:50 +02:00
Björn Jacke
83a6605b3a
some shells are pickier than others ...
...
(This used to be commit 9aabfa44d95128ded567d0949a6dd42786cbf6fb)
2008-04-11 10:51:19 +02:00
Günther Deschner
ef6ed54765
Use libnetapi_open_pipe in netapi functions.
...
Guenther
(This used to be commit 5804d8b112e1da022988c635284eb4799974d4c7)
2008-04-10 22:44:00 +02:00
Günther Deschner
3d5aecd2b9
Add libnetapi_open_pipe, inspired by the cli_cm_ interface.
...
Guenther
(This used to be commit 87d8fc338f6e6b48691bff3eeebfc00c5d408ff7)
2008-04-10 22:42:07 +02:00
Günther Deschner
aeb7f7db40
Use libnetapi_open_ipc_connection in libnetapi.
...
Guenther
(This used to be commit d9f19fc61586d606393368799dee9757c169d602)
2008-04-10 22:04:04 +02:00
Günther Deschner
deb6362f1f
Fix one missing netapi_private header.
...
Guenther
(This used to be commit d34c3e8ad2b21051162e2a9d65f773c486c43d8b)
2008-04-10 21:56:12 +02:00
Günther Deschner
8ab9696bfb
Split out private headers in libnetapi.
...
Guenther
(This used to be commit dd6251d51472a96bfc5ba3d62ea788c8924d4c6b)
2008-04-10 21:52:03 +02:00
Günther Deschner
4968ce2555
Add very basic cli_cm_* based connection handler to libnetapi.
...
Guenther
(This used to be commit e9e46cfcbe25366121f680a6d81fe08c128bf00a)
2008-04-10 21:41:03 +02:00
Günther Deschner
1a8a8b7769
Use SERVER_INFO_1005 in libnetapi.
...
Guenther
(This used to be commit 5f8793dd1d8a3694afb7f2d882cfb9990eb40b75)
2008-04-10 21:31:12 +02:00