Age | Commit message (Collapse) | Author | Files | Lines |
|
Michael
|
|
Guenther
|
|
Karolin
|
|
Michael
|
|
This is useful for wrapping higher level aggregate operations
in transactions. The text backend implementations just return
WERR_OK, the registry backend implementatoins use the
regdb_transaction_start|commit|cancel routines just added.
Michael
|
|
For 1000 shares this speeds up net conf list from .6 to .25 seconds on my box
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
With 1000 shares in the registry, this changed the time of "net conf list" from
1.1 seconds to .6 seconds.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
Michael
|
|
Michael
|
|
|
|
This allows for per-config-source checking of write support.
Michael
|
|
In a clustered environment, the registry backend needs messaging
to be set up since ctdb requires this.
Michael
|
|
previously present in Samba 3.
|
|
This removes the warning messages 'Unknown parameter encountered: "includes"'.
Michael
(This used to be commit b20019ceaaf4a8964792f6ba37f50f91b6847e7f)
|
|
Before dropping into lp_parameter_is_valid().
Michael
(This used to be commit 59beb7acd777a4c224dce90fbbff7a137d2b89c1)
|
|
This is a pretty normal situation if you have "include=registry" set but no
configuration options have been set there yet.
(This used to be commit 727127f1dcd49b31b5a48cc3f9314aa2380d60e1)
|
|
talloc_stackframe panics on NOMEM.
Michael
(This used to be commit 03fd30eef803ff2718e7af618d38944d56ccd329)
|
|
instead of lists of strings and counters directly...
Michael
(This used to be commit 17415e2dc457ce41793a7e28e71f72c538c19c61)
|
|
Discovered by Günther while giving a talk. - Sorry Günther!
Michael
(This used to be commit 518f4d4e6662138a2e71acc2296acedefc7c739a)
|
|
Michael
(This used to be commit 6c1181fda2f040d9555917b10a65bc0dfc1f0593)
|
|
smbconf_init should be the name of the dispatcher (to be written)
Michael
(This used to be commit 3fb95ab757650712716472ebaccb7119feb27596)
|
|
Michael
(This used to be commit 7c343c60574cda091f59861fbcb2893aefb564e9)
|
|
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)
|
|
present.
Michael
(This used to be commit 182433be5bae753d264491a3ec97433e2e316d10)
|
|
Michael
(This used to be commit daef50e54d58a6684b6a890ebf523ca6245f0290)
|
|
empty list
instead of complaining
Michael
(This used to be commit 0dc1fd68598529891429fb29ab1f561fb434bf38)
|
|
This has to be handled differently (by using get_includes / set_includes)
Michael
(This used to be commit 5a880c6a2f2415220557a76a9b4ce9a17c766819)
|
|
It is now taken care of by the special includes handling.
Michael
(This used to be commit 2c8c65d6900086e92c838333b31abf9efdb61343)
|
|
Michael
(This used to be commit 9bd06d5737aff2bb27c07575285e079fd561a566)
|
|
so "includes" doesn't get listed as a parameter
Michael
(This used to be commit 01c4bd07305b4ce800b99a098652623f118a74aa)
|
|
smbconf_reg_get_includes_internal()
Michael
(This used to be commit 072a3228a4e08894c67ad2983bcea3417e202773)
|
|
smbconf_reg_valname_forbidden()
Michael
(This used to be commit 23fb33fd33a8287d8691a1a5e95bf160be3ed25c)
|
|
Michael
(This used to be commit 798808174d0d4cae3a746e26a253cad1a3177684)
|
|
from util_reg.c - no other callers left
Michael
(This used to be commit 98151fd3e1c24e5c8aaf3f5132071e91ac6ef257)
|
|
Michael
(This used to be commit 382c623948abd1c6a5cf8ab7ee2be784fcef76ee)
|
|
includes are stored per share in a special registry value "includes"
of type multi_sz.
Michael
(This used to be commit 3fee0d79cc618adc7dd82cfeff62c72ef061017b)
|
|
Michael
(This used to be commit ed535b6b30b5c9412803f6373eadc704de6de2f9)
|
|
Includes have to get a special treatment, at least for registry.
Includes are not like other smbconf parameters: they are some kind
of metainformation. "include" has two effects when stated twice so
it can not be stored boldly into registry, since there can only be
one value named "include" in registry per key.
I will provide special handling for includes for the registry backend.
This patch provides the necessary methods in the smbconf API.
Michael
(This used to be commit e86eb375d9f83f73aeea0a16c8b43e2ef21a6e20)
|
|
Michael
(This used to be commit b79a33eb2f370b8d8b50ed5ed2a0acc83e711c1e)
|
|
Michael
(This used to be commit 4339caff09e1277ae33d3810043bcb3f4e7c4e45)
|
|
Michael
(This used to be commit 2a8029985f9bde4da8ca20bc24d937150eab444c)
|
|
Michael
(This used to be commit f4d87fdbf266a36fbb50dae863ee0784165c2fe1)
|
|
This internally keeps track of opened registry in the private data
struct. The first call that really accesses data, opens the registry
and it is kept open until the destructor is called.
This behaviour might be changed in the future.
Michael
(This used to be commit 03e72e13076e3215eb8ae51cfb4e7cd3d3683d3e)
|
|
Michael
(This used to be commit 513ae78ef78d3ddcb155f9c38b9a0c82809e0998)
|
|
This private data should be used by backends.
The token for the registry backend is moved from
the context to the private data section, since
this is registry specific.
Michael
(This used to be commit a02163356bdd0c17a25a45e9904f8bd1e1c4bee4)
|
|
This is passed to the module init routines.
In case of the registry, this is the path of the
basekey in registry, that is to be used, defaulting
to KEY_SMBCONF (HKLM\software\samba\smbconf), when
NULL is given. This is the only case currently used.
In order to support other keys, registry initialization
for smbconf has to be changed to support different keys.
Michael
(This used to be commit 96434d9dc7a66773e313cc128af57493dee245a1)
|
|
Michael
(This used to be commit 8974b283683799bc51223d27b7e6aecac741fbc2)
|
|
Michael
(This used to be commit 431b10bfe0dba0a49e50bebfb3f8ad1a00955837)
|