summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-13registry: honour the WERROR that regsubkey_ctr_addkey gives in regdb_fetch_keys.Michael Adam1-1/+7
Michael (This used to be commit 7dd7471da7eca2671b4aa62e8790973e3ff14177)
2008-04-13net registry: remove superfluous regdb_close().Michael Adam1-2/+0
Michael (This used to be commit d4e74036d3b8c5de4ce130eab7fc775e3cb746d5)
2008-04-13registry: rename init_registry() to registry_init_full() for consistency.Michael Adam2-2/+2
Michael (This used to be commit 14d82708d4499b48830d3dd25a0133f00a39d030)
2008-04-13registry: change init_registry() to return WERROR instead of bool.Michael Adam2-6/+3
Michael (This used to be commit 0b196095dbbc29c796cb0742fe6e57a421e9596b)
2008-04-13registry: change registry_init_smbconf() to return WERROR instead of boolMichael Adam2-7/+4
Michael (This used to be commit 7c343c60574cda091f59861fbcb2893aefb564e9)
2008-04-13registry: refactor common part of registry initialization out.Michael Adam3-25/+15
into a new function registry_init_common(). Michael (This used to be commit 5da52b95ac69e4abfbc44335df2447bec8f16e13)
2008-04-13registry: change registry_init_basic() to return WERROR instead of boolMichael Adam3-8/+9
Michael (This used to be commit 6a31e659cb371395dff0906786f3c6ef0cc2b3de)
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-13Update WHATSNEW entry for pre3Volker Lendecke1-0/+13
(This used to be commit 81f34489f7923db1141175b8b6bcc8594c6b2ee0)
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-12Fill in WHATSNEW.txt for pre3.Günther Deschner1-0/+16
Guenther (This used to be commit bf638d97d7668292ef9abf890eebc402645b8327)
2008-04-12WHATSNEW.txt: list my changesStefan Metzmacher1-0/+21
metze (This used to be commit 55b86c0a13d9f10df533dc6c0a23e290d880edbc)
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 Allison7-21/+23
v3-2-test (This used to be commit 6a965e72a8650b275222548445d10b65aa61e765)