Age | Commit message (Collapse) | Author | Files | Lines |
|
Michael
|
|
Michael
|
|
This checks the writeability of a config source specified by the
config source name.
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.
|
|
talloc_stackframe() panics on NOMEM.
Michael
(This used to be commit be4f8447ccd044563f6b12793ea64d9f38741861)
|
|
instead of lists of strings and counters directly...
Michael
(This used to be commit 17415e2dc457ce41793a7e28e71f72c538c19c61)
|
|
smbconf_create_share().
These are values stored inside the base key for registry.
This is not getting deleted.
Michael
(This used to be commit aa167de8252bb615bd21fb3fd9468383b8357d32)
|
|
Michael
(This used to be commit cb23052b2055d77924b2a593ec14f0c1de9a3b51)
|
|
Michael
(This used to be commit daef50e54d58a6684b6a890ebf523ca6245f0290)
|
|
These use the usual global_check like the other global wrappers.
Michael
(This used to be commit ce1b2f550860cb3a566db09f7c7eac39c195a5b7)
|
|
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 bc1a5bdbd3b7da1f85c952579096b3c8dc407572)
|
|
Michael
(This used to be commit e0f6a9d50c9b72ec33d4323d1a6c5bdf44d011e7)
|
|
This time this won't make me stumble, since there is no
magic in indented function headers here - no automatic
prototype generation... :-)
Michael
(This used to be commit 6d72fc4373adff01cf6e0e18f78082d1eab90064)
|
|
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 e8ed8ad077f69ae7237f49b150625d20eb509586)
|
|
Michael
(This used to be commit 431b10bfe0dba0a49e50bebfb3f8ad1a00955837)
|
|
Hide generic init function taking smbconf_ops argument
from public api.
Michael
(This used to be commit b3f6920ccb9a27fde26e889a7f1f3afaf56b784f)
|
|
Michael
(This used to be commit acbd1f40e0cb4cb5b2ba826c4825edda7ee4937b)
|
|
Michael
(This used to be commit 24f32d9bd9aa837d777ea4187bebf3146a67ce59)
|
|
Michael
(This used to be commit 797b26ad3fad27e085827efb61f6b4d8b37e93f0)
|
|
That's more appropriate.
Michael
(This used to be commit d7bd9bb8aa2003ec0a9860df26857f67255febe2)
|
|
Note: currently, reg_init_smbconf opens the registry, but does
not close it. This has to be changed. so that it is closed.
And then libsmbconf will need these open/close functions
Michael
(This used to be commit 77dbdf82efa60c8a7c00e489c198775b2f66e56c)
|
|
Michael
(This used to be commit a857f643d1558c0fdab4b647695d75223b730b96)
|
|
Michael
(This used to be commit f2d605006cd1187f70a044c3356d436e91093d5f)
|
|
Michael
(This used to be commit d44c2ef0b7d7bddb4115b596872748132ebd6ddc)
|
|
Michael
(This used to be commit 26208d3e96a1e257628366709a1d71ac36f0788b)
|
|
Michael
(This used to be commit 5dac66c82af8c87df723092a9309304846684418)
|
|
(This used to be commit 103a37ac8e85e9a7b8c2f4eb33e6f1cdbe01d31c)
|
|
This leaves most of the api functions mere wrappers except for some
common initial checks.
Michael
(This used to be commit 9448a7a298e9ed035aa6b86df18f2d41081731cc)
|
|
Michael
(This used to be commit aeaf66c064de58c6f19d5a9d226843dedb552011)
|
|
Michael
(This used to be commit a99ee5e536eee1563c90e5d7f251bfe9f5d1ffbb)
|
|
..for consistency. Exception: the open/init function, where the smbconf_ctx
is created from the given talloc context.
Michael
(This used to be commit 304dba6cb2184437f3edad065a530d03fb704036)
|
|
Michael
(This used to be commit 7460697ea42764f5f658a4f7f70872a56aeb160d)
|
|
The former seqnum is hidden inside a struct smbconf_csn.
And the get_seqnum is united with a changed function that
stores the seqnum inside the given csn.
Michael
(This used to be commit 5b6b90900a1a3eab24cb5612d78f9678a363cf73)
|
|
Michael
(This used to be commit e6b60f6cad32ce8bb78abb070889dde3eca2d268)
|
|
Michael
(This used to be commit 097af0309d7c3e9342058ba5266667293b23c80d)
|
|
The libnet_conf code to access the registry based configuration has
become more of a library used in several places in samba (e.g. loadparm)
than an abstraction of "net conf". So I move it to a location lib/smbconf/.
In the same breath, the api is fixed (not generated by make proto anymore).
Michael
(This used to be commit 5315ef41f403b96715dd68b512e9e74662e2910a)
|