Age | Commit message (Collapse) | Author | Files | Lines |
|
This is a simple implementation of text backend for libsmbconf.
It is read only. It uses the parser from params.c. It loads the
given config file and holds the parsed lists of strings in memory.
Config is only re-read if the time stamp of the config file has changed.
Brilliant performance on large files is not to be expected since the
string lists are not hashed. This might be added in the future.
Michael
(This used to be commit 4ea50843852b335a9bd4c0535a5b684134ad8326)
|
|
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 4f816df27670c3b6aabea9f26ef2d26f3e882e78)
|
|
Michael
(This used to be commit 83b9453c88bfdf615cc2b547645b0a71a870f473)
|
|
Hide generic init function taking smbconf_ops argument
from public api.
Michael
(This used to be commit b3f6920ccb9a27fde26e889a7f1f3afaf56b784f)
|
|
Michael
(This used to be commit 797b26ad3fad27e085827efb61f6b4d8b37e93f0)
|
|
That's more appropriate.
Michael
(This used to be commit d7bd9bb8aa2003ec0a9860df26857f67255febe2)
|
|
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)
|
|
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 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)
|