summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-04-13registry: change reghook_cache_add() to return WERROR instead of boolMichael Adam3-6/+10
Michael (This used to be commit e65a999989c97c4c7b0af5093e0e89583691e9a8)
2008-04-13registry cachehook: change helper function keyname_to_path() to return WERROR.Michael Adam1-18/+32
Michael (This used to be commit 78bb005ee45e7a0be24b5222c3f878058b5cd8ea)
2008-04-13adt_tree: change pathtree_add to return WERR instead of bool.Michael Adam3-10/+10
Michael (This used to be commit da45fb92f69221758f36db4cbb7d871e3ce60718)
2008-04-13registry cachehook: revert logic to make fast path more obvious and reduce ↵Michael Adam1-8/+9
indent. Michael (This used to be commit e97d558c5660e6d235b62528f5527a62ac1252d7)
2008-04-13registry: change reghook_cache_init() to return WERROR and use it in the ↵Michael Adam4-9/+26
callers. Michael (This used to be commit 2f4ca62dce50225d67ba8643afba4199e1845c5f)
2008-04-13registry cachehook: compare cache_tree against NULL, not 0.Michael Adam1-1/+1
Michael (This used to be commit 4bfc0be55f2a436a9c687ab6ad86e704fcb753d6)
2008-04-13registry: change init_registry_key() and init_registry_data() to return WERRMichael Adam3-20/+43
Michael (This used to be commit e0718f04a7392695eed6cd1bf888d3af1d5d6177)
2008-04-13registry: unify debug output in the registry init functions.Michael Adam3-9/+9
Michael (This used to be commit 4fd9b45ffc08e7deeae58be3129832148748af13)
2008-04-13registry: change regdb_init() to return WERROR instead of bool.Michael Adam4-23/+19
Michael (This used to be commit c312852abce72bc167abee8b29fc699c4a643ca7)
2008-04-13registry: make registry_init_smbconf() hook the registry ops onto given key.Michael Adam2-5/+11
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)
2008-04-13registry cachehook: add talloc failed debug messages.Michael Adam1-0/+6
Michael (This used to be commit 9841ee7fd429c7ff367dbb43b754cd5b6f53c065)
2008-04-13registry cachehook: eliminate a couple trailing spaces (empty lines).Michael Adam1-4/+4
Michael (This used to be commit c9f01aee37165216fa8a5331c64dd93963b38802)
2008-04-13registry cachehook: fix memleak (to talloc_tos()): free key at the end.Michael Adam1-1/+4
Michael (This used to be commit 3f5955d361da5278773b46dccb34c8f63eb04157)
2008-04-13registry cachehook: refactor normalization of keyname out.Michael Adam1-29/+23
Michael (This used to be commit acb9c98dff7dac5e0688a04dbf6d63a7a7f67fd2)
2008-04-13registry: adapt copied function header comments.Michael Adam1-2/+2
Michael (This used to be commit 2e762be0db7a098b6da09756a9c9dfa3931ca3c6)
2008-04-13registry: remove the REGISTRY_HOOKS layer from the reghook cache.Michael Adam7-47/+44
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-13Fix ou handling in netdomjoin-gui.Günther Deschner1-0/+5
The ou list was concatenated again and again... Guenther (This used to be commit 84608e165e24c68c12d40086f81684ef37f69159)
2008-04-13libnetapi: fix a C++ warning by making implicit cast explicitMichael Adam1-1/+1
Michael (This used to be commit b62dd61cc56ec33601289fd4e23058c7f9ad3f0d)
2008-04-13dbwrap_tdb2: fix a C++ warning by making implicit cast explicitMichael Adam1-3/+3
Michael (This used to be commit 18ced7e42072953a1968db15b0a344b54214b83d)
2008-04-12Add WERR_USER_ALREADY_EXISTS and WERR_PASSWORD_RESTRICTION.Günther Deschner2-0/+6
Guenther (This used to be commit eefd03d39b107598e9b0d1f35def7b17073d8ebc)
2008-04-12Move some WERRORs down to the NERR_BASE block.Günther Deschner1-16/+11
Guenther (This used to be commit 2453375ee04f466800f53a0f2991d8d5dee0bd8e)
2008-04-12groupdb: make mapping_tdb compatible to mapping_ldbStefan Metzmacher1-1/+1
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-12groupdb: readd groupdb:backend parametric optionStefan Metzmacher1-2/+20
This reverts c5adb92c020e38644baf1afc8fc570a518cd6307. The reason is that ldb doesn't work for cluster setups yet. metze (This used to be commit 5f5d90ef76b969ecbe564399368a7450c4e3d155)
2008-04-12dbwrap: wait for tdb2 change notifies in smbd, nmbd and winbinddStefan Metzmacher4-3/+23
metze (This used to be commit 64450cc1e441355aa8925b7183e90872eeab20b1)
2008-04-12dbwrap: use db_open_tdb2() in for db_open_trans() if "dbwrap:use_tdb2=yes"Stefan Metzmacher1-2/+57
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-12dbwrap: add dbwrap_tdb2 backendStefan Metzmacher3-1/+1275
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-12rerun 'make idl'Stefan Metzmacher3-0/+95
metze (This used to be commit f34dad2b4ad97a845729ea0fb5beba7fd6cb7265)
2008-04-12messaging.idl: add structure to marshall dbwrap_tdb2 changesStefan Metzmacher1-0/+15
metze (This used to be commit 46a0d8e872af1ab420705a514c1d7b1b21459f82)
2008-04-12messaging: add MSG_DBWRAP_TDB2_CHANGES flagStefan Metzmacher1-0/+3
metze (This used to be commit 7418c3ab1d8f18403f5a43817b2cc14e15090fca)
2008-04-12messaging: add FLAG_MSG_DBWRAP message class flagStefan Metzmacher2-0/+4
metze (This used to be commit ee6325495f48bab43a37d740a6eca57192004d57)
2008-04-11Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison3-84/+88
v3-2-test (This used to be commit 7258c780f0650c63d6c7c40fd704a9b841600f26)
2008-04-11Fix bug #5386, don't keep printing the same waitingJeremy Allison1-3/+6
error message. Jeremy. (This used to be commit 12e6818df1c77810a59a2896f8c44c91fc24e7ae)
2008-04-12build: smbconftort only needs LIBSMB_ERR_OBJ, not LIBSAMBA_OBJMichael Adam1-1/+1
Michael (This used to be commit 27fea343d2eeff5b7d38092dd1286cb8e3478cbe)
2008-04-12build: move SECRETS_OBJ into LIBSMB_ERR_OBJ.Michael Adam1-3/+3
LIBSMB_ERR_OBJ depends on SECRETS_OBJ Michael (This used to be commit 79b5a0c7a8ea47fbc44fb6582a39152c69edccaa)
2008-04-12build: move SECRETS_OBJ into LIBSMB_OBJMichael Adam1-45/+41
LIBSMB_OBJ is not used without SECRETS_OBJ Michael (This used to be commit bea66f07b4b8071348fc4d7dc4d13306466af171)
2008-04-12build: regroup LIBSMB objects to for a smallest linkable uint (LIBSMB_ERR_OBJ)Michael Adam1-6/+10
Michael (This used to be commit 310fd52ea4d05cdc83a798fda447879e3ebb2bc3)
2008-04-12registry: move normalize_dbkey() from lib/util_reg.c to registry/reg_util.cMichael Adam2-7/+10
This function is only used inside registry code. Michael (This used to be commit 48745e3fbd6b38f39678938b8c3f145769065e7b)
2008-04-12build: group RPC_PARSE_OBJ1 with LIBSAMBA_OBJMichael Adam1-17/+17
it is only ever used together Michael (This used to be commit 27c7441145190eee7b61bec76edf1d4987a5be8d)
2008-04-12build: group NTERR/DOSERR/ERRORMAP and LIBSAMBA object differentlyMichael Adam1-35/+36
Michael (This used to be commit ddc2292c159700018911c85bcb2b8243b78f4e5c)
2008-04-11Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison6-21/+14
v3-2-test (This used to be commit 6a965e72a8650b275222548445d10b65aa61e765)
2008-04-11Quieten valgrind message on make valgrindtest. This doesn'tJeremy Allison1-0/+5
seem to be valid (vl - feel free to confirm). Jeremy. (This used to be commit 43b0254d93540eeaddaa32d76dd9271f4dc2ebff)
2008-04-12libnetapi: fix dependency problem by linking libnetapi statically (internally)Michael Adam1-0/+7
This is a workaround until we have isolated enough internal libraries as shared libraries. Michael (This used to be commit 8a87e402701494ba1c9d56a9febe3e5c25dc2bf7)
2008-04-12libnetapi: fix interactive logging by preventing setup_logging from closing ↵Michael Adam1-0/+3
stderr. Michael (This used to be commit 563b837b76e3a6086051fc56e0522b841939d37f)
2008-04-12util_tdb: fix a segfault caused by a fatal typo.Michael Adam1-1/+1
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-11Remove a redundant TALLOC_FREEVolker Lendecke1-1/+0
(This used to be commit 8e348ab8652e1893be78384404f57df1dbbcea48)
2008-04-11Remove some write-only fstringsVolker Lendecke2-19/+3
(This used to be commit aacb07b1b0f674b8cb92347ef4b4dd1e7808dde8)
2008-04-11net: 'net' doesn't need wb_common.o anymore.Stefan Metzmacher1-1/+1
metze (This used to be commit 05f7f77135ab997b92b2454871f21543ecbde0ed)
2008-04-11nsswitch: remove unused nsswitch/wb_client.cStefan Metzmacher2-97/+1
metze (This used to be commit 2b236c7ace15b4408c31ed918b449d5a22e1769f)
2008-04-11net_idmap: use wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functionsStefan Metzmacher1-19/+27
metze (This used to be commit dc9a3f8db0af03b4e8223068857092fcaff404f2)
2008-04-11libwbclient: add wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functionsStefan Metzmacher2-0/+157
metze (This used to be commit 364e146805bb74b46da4d3c187e9a684d4b99a01)