| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Simo, S4 also has this code. You might want to cherry-pick.
Volker
(cherry picked from commit 94c29f55937e50dcf49124d28ad4e82c7fb4133e)
|
|
|
|
| |
(cherry picked from commit f17b1b0fc6340d21f1a2f43aa7eb2e87f851c51f)
|
|
|
|
| |
(cherry picked from commit 5f77938dc4a280b654b8d08656f19a7d04cea8c7)
|
|
|
|
| |
(cherry picked from commit 70b33397ba6e18f40087fb642a1be62ee68d5f3a)
|
|
|
|
| |
(cherry picked from commit 45677e8694f0e383baa65712faec6a565ec0ce5c)
|
|
|
|
| |
(cherry picked from commit 700cceb6940c95997cfef374cffd50729a35528a)
|
|
|
|
| |
(cherry picked from commit 8f875674e7cf9ebd405561b1e3ab72b0284ce321)
|
|
|
|
| |
(cherry picked from commit 9cf1e16a9c3cade9cd905f719de07578b3a91b1e)
|
|
|
|
| |
(cherry picked from commit 7070c77ee2a9c3c9ff1b3c7b93008b13b80ac02b)
|
|
|
|
| |
(cherry picked from commit 9e0ee1ad4fe0f0e7dec0b6824ef234147d845b8d)
|
|
|
|
|
| |
ID 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437
(cherry picked from commit 0d50b4ee9068d04d1d9eb7786e08775d7ba16bc8)
|
|
|
|
|
|
|
| |
Fix bug 5341, thanks a lot to Karoly Vegh for testing it!
Volker
(cherry picked from commit 19eb8c9316b10b1277121e90d0d3ef50ee562118)
|
|
|
|
|
|
|
| |
36f8bafbd3dee66a8....
Make sure that IPv4 addresses are not enclised in []'s.
(cherry picked from commit 4ddf58dbdc3d74cb72788ef4a2ec7587d4948c40)
|
|
|
|
|
| |
Michael
(cherry picked from commit cd17cc745a35db8ee158f59a5fff1f0f26cf9c6e)
|
|
|
|
|
| |
Michael
(cherry picked from commit ee46f0eca6ea21d0c51103252fecf911bb448687)
|
|
|
|
|
|
|
|
| |
instead of having it directly as a member in the private data struct.
This makes it easier to flush and initialize the cache.
Michael
(cherry picked from commit 03efb72b4632e2bbb0838ca56a3e556448bda5c5)
|
|
|
|
|
|
|
| |
And use it also in the close operation.
Michael
(cherry picked from commit 8cb288124993eb59459e7e9777c65e58c0554d55)
|
|
|
|
|
| |
Michael
(cherry picked from commit 9ef9d4c4e77523d7f3cc5fdac199559896e585bd)
|
|
|
|
|
| |
Michael
(cherry picked from commit 1c6b9a0ac34c4a7b4e000300db8dffdbb09fe7da)
|
|
|
|
|
|
|
| |
There are also smbconf contexts arount...
Michael
(cherry picked from commit 5171df66eb54c9819b3b40045755f5e9b2cf36c2)
|
|
|
|
|
| |
Michael
(cherry picked from commit ab4fd03705c61114742d8438dece69b9c37c3b38)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally, lp_load() was used to import files to registry.
This had several bugs. Most notably, options explicitly set to
default values were silently dropped, and all parametric options
were ignored.
This new implementation reads config from the text backend and
stuffs everything verbatim in to the registry backend.
Michael
(cherry picked from commit e41c6650f805eaf8bb009e34468dd2d311e52858)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
(cherry picked from commit 4ea50843852b335a9bd4c0535a5b684134ad8326)
|
|
|
|
|
|
|
|
| |
The userdata is currently unused. It can be used in the future for
passing a context like in samba4 code.
Michael
(cherry picked from commit 31b31171bd88c41443268d3300c492e2347b9e73)
|
|
|
|
|
|
|
|
|
| |
This time this won't make me stumble, since there is no
magic in indented function headers here - no automatic
prototype generation... :-)
Michael
(cherry picked from commit 6d72fc4373adff01cf6e0e18f78082d1eab90064)
|
|
|
|
|
|
|
| |
It has been replaced by tdb_wipe_all().
Michael
(cherry picked from commit cdde2e4eaca51d51f036ad99d55df7bfd6535b03)
|
|
|
|
|
| |
Michael
(cherry picked from commit 3d2fdcd50fdbfb66a14360516836445d47eceeb0)
|
|
|
|
|
|
|
| |
Users of these are currently being written...
Michael
(cherry picked from commit 1c51bec5318bad085c09931aa7e8f72f41d103fe)
|
|
|
|
|
| |
Michael
(cherry picked from commit abf02a5a142c55d9e0053d319c867e4fcc3e6c30)
|
|
|
|
|
|
|
|
| |
Replace all callers of traverse with this tdb_traverse_delete_fn() and
don't export tdb_traverse_delete_fn() anymore.
Michael
(cherry picked from commit d4be4e30cd8c3bdc303da30e42280f892a45a8c9)
|
|
|
|
|
|
|
| |
This function is currently not used but seems useful.
Michael
(cherry picked from commit 48149a954c1e737c9863cfa0991ab9bfc246c6da)
|
|
|
|
|
| |
Michael
(cherry picked from commit b42cf3fc69414270be9d0f430f2e95a72894f00e)
|
|
|
|
|
| |
Michael
(cherry picked from commit 4b9231d33eaea2ada5d67cc1d959df2b671e7bb9)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stick to hand-written headers (that are there anyways).
Add some missing prototypes to util_tdb.h and dbwrap.h.
I did not bother to add a header for each single dbwrap backend
open function but put the prototypes for the open functions into
the central dbwrap.h.
Michael
(cherry picked from commit edf4dbed27a3c63c04e8110e75cdb76e31627eb6)
|
|
|
|
|
| |
Michael
(cherry picked from commit 1831042bdcbfe569ae39177058dfe1d914416513)
|
|
|
|
|
| |
Michael
(cherry picked from commit 5aa3141bff35a85dd97e9fd339e19b0fe3a73afc)
|
|
|
|
|
| |
Michael
(cherry picked from commit f33095e44ba22f4451a5deeffdd4f9ed3f99ed85)
|
|
|
|
|
| |
Michael
(cherry picked from commit 81993db828bf11b13d7ee1f43483968dc6241bcc)
|
|
|
|
|
| |
Michael
(cherry picked from commit 73b325fe7a9d7fd67ac9b99144a3776f5a1a9e15)
|
|
|
|
|
| |
Michael
(cherry picked from 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
(cherry picked from commit 03e72e13076e3215eb8ae51cfb4e7cd3d3683d3e)
|
|
|
|
|
| |
Michael
(cherry picked from 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
(cherry picked from 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
(cherry picked from commit 96434d9dc7a66773e313cc128af57493dee245a1)
|
|
|
|
|
| |
Michael
(cherry picked from commit 4f816df27670c3b6aabea9f26ef2d26f3e882e78)
|
|
|
|
|
| |
Michael
(cherry picked from commit 83b9453c88bfdf615cc2b547645b0a71a870f473)
|
|
|
|
|
| |
Michael
(cherry picked from commit e8ed8ad077f69ae7237f49b150625d20eb509586)
|
|
|
|
|
| |
Michael
(cherry picked from commit 8974b283683799bc51223d27b7e6aecac741fbc2)
|
|
|
|
|
| |
Michael
(cherry picked from commit 431b10bfe0dba0a49e50bebfb3f8ad1a00955837)
|
|
|
|
|
| |
Michael
(cherry picked from commit 1a5e5bf38f409b10c8b1da6227722c7d3976b175)
|