1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

27151 Commits

Author SHA1 Message Date
Günther Deschner
dcb9264edf libnetapi: don't reset the error code in NetUserAdd_r if the operation failed.
Guenther
(This used to be commit 9edb067f62)
2008-04-13 19:11:01 +02:00
Günther Deschner
5647deccb1 libnetapi: add NetQueryDisplayInformation skeleton.
Guenther
(This used to be commit 6ec4a62b6d)
2008-04-13 19:04:18 +02:00
Günther Deschner
99e96fe5ca Re-run make idl.
Guenther
(This used to be commit afd0e925dc)
2008-04-13 19:00:53 +02:00
Günther Deschner
f34245238a libnetapi: Add IDL for NetQueryDisplayInformation.
Guenther
(This used to be commit 1200eb474c)
2008-04-13 18:59:42 +02:00
Günther Deschner
1c7e4e8a2a Fix the build of eventlogadm.
Guenther
(This used to be commit 57a5628abf)
2008-04-13 18:28:24 +02:00
Günther Deschner
de013be0b6 gpo: add scripts plugin.
Guenther
(This used to be commit cd6388f040)
2008-04-13 17:52:11 +02:00
Günther Deschner
e39f02217a libnetapi: don't to try to free NULL struct.
Guenther
(This used to be commit eb33d30d80)
2008-04-13 17:39:29 +02:00
Günther Deschner
3cd8c1befa gpo: make integer debug print more readable.
Guenther
(This used to be commit b2cf8010ae)
2008-04-13 17:39:28 +02:00
Michael Adam
282c9ff8ae registry: honour the WERROR that regsubkey_ctr_addkey gives us in reg_load_tree.
Michael
(This used to be commit c2d9baa29e)
2008-04-13 15:45:33 +02:00
Michael Adam
86d189dad1 registry: honour the WERROR that regsubkey_ctr_addkey gives in regdb_fetch_keys.
Michael
(This used to be commit 7dd7471da7)
2008-04-13 15:41:07 +02:00
Michael Adam
e5d83f07cd net registry: remove superfluous regdb_close().
Michael
(This used to be commit d4e74036d3)
2008-04-13 15:36:05 +02:00
Michael Adam
a9ff941f41 registry: rename init_registry() to registry_init_full() for consistency.
Michael
(This used to be commit 14d82708d4)
2008-04-13 15:33:48 +02:00
Michael Adam
281e610ff3 registry: change init_registry() to return WERROR instead of bool.
Michael
(This used to be commit 0b196095db)
2008-04-13 15:33:48 +02:00
Michael Adam
6c66d5d019 registry: change registry_init_smbconf() to return WERROR instead of bool
Michael
(This used to be commit 7c343c6057)
2008-04-13 15:33:48 +02:00
Michael Adam
4ae2e8c7ba registry: refactor common part of registry initialization out.
into a new function registry_init_common().

Michael
(This used to be commit 5da52b95ac)
2008-04-13 15:33:48 +02:00
Michael Adam
3f01e05a77 registry: change registry_init_basic() to return WERROR instead of bool
Michael
(This used to be commit 6a31e659cb)
2008-04-13 15:33:48 +02:00
Michael Adam
80b6d7b1d6 registry: change reghook_cache_add() to return WERROR instead of bool
Michael
(This used to be commit e65a999989)
2008-04-13 15:33:48 +02:00
Michael Adam
5166d562ea registry cachehook: change helper function keyname_to_path() to return WERROR.
Michael
(This used to be commit 78bb005ee4)
2008-04-13 15:33:47 +02:00
Michael Adam
01f4bd4f4d adt_tree: change pathtree_add to return WERR instead of bool.
Michael
(This used to be commit da45fb92f6)
2008-04-13 15:33:47 +02:00
Michael Adam
84c5da2ff4 registry cachehook: revert logic to make fast path more obvious and reduce indent.
Michael
(This used to be commit e97d558c56)
2008-04-13 15:33:47 +02:00
Michael Adam
4b4306eb4a registry: change reghook_cache_init() to return WERROR and use it in the callers.
Michael
(This used to be commit 2f4ca62dce)
2008-04-13 15:33:47 +02:00
Michael Adam
2ffe46e24d registry cachehook: compare cache_tree against NULL, not 0.
Michael
(This used to be commit 4bfc0be55f)
2008-04-13 15:33:47 +02:00
Michael Adam
26a5652f6d registry: change init_registry_key() and init_registry_data() to return WERR
Michael
(This used to be commit e0718f04a7)
2008-04-13 15:33:47 +02:00
Michael Adam
cb624c4057 registry: unify debug output in the registry init functions.
Michael
(This used to be commit 4fd9b45ffc)
2008-04-13 15:33:47 +02:00
Michael Adam
6b85938f27 registry: change regdb_init() to return WERROR instead of bool.
Michael
(This used to be commit c312852abc)
2008-04-13 15:33:47 +02:00
Michael Adam
bcb19766d6 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 8fe1a2f567)
2008-04-13 15:33:47 +02:00
Volker Lendecke
2c47a6a710 Update WHATSNEW entry for pre3
(This used to be commit 81f34489f7)
2008-04-13 12:20:58 +02:00
Michael Adam
b5a75ec402 registry cachehook: add talloc failed debug messages.
Michael
(This used to be commit 9841ee7fd4)
2008-04-13 01:47:16 +02:00
Michael Adam
a721f0a729 registry cachehook: eliminate a couple trailing spaces (empty lines).
Michael
(This used to be commit c9f01aee37)
2008-04-13 01:44:57 +02:00
Michael Adam
0fa8845fa0 registry cachehook: fix memleak (to talloc_tos()): free key at the end.
Michael
(This used to be commit 3f5955d361)
2008-04-13 01:43:43 +02:00
Michael Adam
227904434a registry cachehook: refactor normalization of keyname out.
Michael
(This used to be commit acb9c98dff)
2008-04-13 01:43:42 +02:00
Michael Adam
bbca983507 registry: adapt copied function header comments.
Michael
(This used to be commit 2e762be0db)
2008-04-13 01:43:42 +02:00
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 2f9ee2f782)
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 84608e165e)
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 b62dd61cc5)
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 18ced7e420)
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 eefd03d39b)
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 2453375ee0)
2008-04-12 18:29:13 +02:00
Günther Deschner
e0cff1817a Fill in WHATSNEW.txt for pre3.
Guenther
(This used to be commit bf638d97d7)
2008-04-12 18:26:37 +02:00
Stefan Metzmacher
8a94886aab WHATSNEW.txt: list my changes
metze
(This used to be commit 55b86c0a13)
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 b313acdd31)
2008-04-12 10:01:42 +02:00
Stefan Metzmacher
37fbe55eea groupdb: readd groupdb:backend parametric option
This reverts c5adb92c02.

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

metze
(This used to be commit 5f5d90ef76)
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 64450cc1e4)
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 5cea2bf367)
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 aa6230de0d)
2008-04-12 09:14:09 +02:00
Stefan Metzmacher
d3eebed911 rerun 'make idl'
metze
(This used to be commit f34dad2b4a)
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 46a0d8e872)
2008-04-12 09:14:08 +02:00
Stefan Metzmacher
3ae463ca69 messaging: add MSG_DBWRAP_TDB2_CHANGES flag
metze
(This used to be commit 7418c3ab1d)
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 ee6325495f)
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 7258c780f0)
2008-04-11 17:46:17 -07:00