Age | Commit message (Collapse) | Author | Files | Lines |
|
Open state is currently tracked by a global variable
to avoid double initialization.
Later, this can possibly be replaced by a conf-context
created by an initialization function and passed around
to the other api functions.
Michael
(This used to be commit 77713e776405800ac54c692a77cd4efd153042cb)
|
|
Michael
(This used to be commit 073eeca51e46da6a687175aadbfdbb9e029532d6)
|
|
Michael
(This used to be commit d08556dbc7071933feaeec538f01ac8f6a637b1d)
|
|
Michael
(This used to be commit e00cb415d30b3e72ccfb7e5c366c95ec0f9c6247)
|
|
Michael
(This used to be commit 2075baf551ca7fc6bcee6b93f63fd7fbf75f9a50)
|
|
Michael
(This used to be commit 1575612f1936312125e7778a9a4227e444ea36cf)
|
|
Michael
(This used to be commit 6bc4ee210855dbfbee9e86b59e90b08ecb3a9df9)
|
|
Michael
(This used to be commit 3258758e5c8dfc2c681e1285cb34aaacae697a55)
|
|
Michael
(This used to be commit 2e4beee66b3672c3259b312aca3d482598731119)
|
|
Michael
(This used to be commit e8f7c07699b5b93acd81b24bca908769f0b5e8d8)
|
|
Michael
(This used to be commit 42ae33a96228e916d7d530d844be6937a80d4fea)
|
|
Michael
(This used to be commit e568f42e2146fa6510a86746581409450887ff16)
|
|
And make libnet_smbconf_setparm() return error if the share
does not already exist. Adapt net_conf_addshare to this new
situation.
Michael
(This used to be commit de349bd26db3341815f6d8f6c18a5ca1fd664dca)
|
|
Michael
(This used to be commit a1bb47695a7fb21af239aa9d02537d3de2fea325)
|
|
More precisely, only import_process_service() is changed.
This removes all references to registry code from net_conf.c.
net_conf_import() is currently -- like net_conf_addshare() -- also
considered a high-level add-on, not an API function.
Michael
(This used to be commit b4dca117c09ddb9c8e7eea25c6cde3fbef8c692b)
|
|
Also exit on error if the share already exists.
net_conf_addshare() is considered a high level utility function.
It should not be an libnet_conf API function in itself since it is
kind of arbitrary.
Michael
(This used to be commit af5218f1505321236be52df10ebfe8f42b99573d)
|
|
and move it to the api section of libnet_conf.c
Michael
(This used to be commit 9b5d8f4d95ebfd47831906019e11227aecc83aa1)
|
|
Michael
(This used to be commit 332be113a775adce8108a8003682019ae7f5bc21)
|
|
Replacing them buy DEBUG statements and filling in
d_fprintfs in callers in net_conf.c.
Michael
(This used to be commit 1f0122d8d4ec0f67eaedd5df7383c1b45f37290f)
|
|
Also make libnet.c:libnet_smbconf_format_registry_value() static.
(There are nor more external callers.)
Michael
(This used to be commit ac7baa17e89d2363b5b3db85de9c842b596dea25)
|
|
This leaves only output logic in net_conf_list().
Michael
(This used to be commit 95d9981d59fe69ee1ed98f21475bd1ba72930c1b)
|
|
Michael
(This used to be commit ded60dec7d75db7df485a159fb6bf628d8e24805)
|
|
And don't return count-1 but count.
Michael
(This used to be commit b7cb9b78231512dc4a88c307048d7fb5334fa319)
|
|
Michael
(This used to be commit e276e48177f890531ee8b4024c90352f284d4608)
|
|
Michael
(This used to be commit 9b3b9aa7e1044719a5112b9e5446e6fbdd7cecf9)
|
|
into new function libnet_smbconf_getshares().
Michael
(This used to be commit 306c7e4d9cecac4c2c0ea1172bd585c3c17d4541)
|
|
The functionality is moved to a new function libnet_smbconf_getshare().
This returns the parameters of the given share as two lists: the list
of parameter names and the list of matching (formatted) parameter values.
The retrieval and formatting is done in a new internal helper function
libnet_smbconf_reg_get_values() that is to become the replacement for
list_values() from net_conf.c once functionality of net_conf_list() has
been moved to libnet_conf, too.
Michael
(This used to be commit 198232bd525cfac933b4885e6b330ebf4ac2c8ae)
|
|
Michael
(This used to be commit dd6e09a65e67a9a16b35b078ebfb41da09926029)
|
|
Return a formatted string of the value instead.
Michael
(This used to be commit 7d0ec5bae155cda6620db04dcb7bd43db59241aa)
|
|
Michael
(This used to be commit 95d5dd9bb0546181cd499e6deabff562166412e3)
|
|
Michael
(This used to be commit 3422a5048ad4b7f789ec233356885d78dbdacf9a)
|
|
Karolin
(This used to be commit 4260c79bf7687bd2ebcc4ca5e0a5f020a759c1fb)
|
|
(This used to be commit 8a8f2583b8bda22f65c7483dea54ac823ed1c0c3)
|
|
(This used to be commit 514cf532248723e7f775dc5f8f2e6936e02b7a1c)
|
|
Michael
(This used to be commit 4c0e7270c42788e7f77c402032ae74cf0f8a7106)
|
|
Michael
(This used to be commit 4b0e636965bd37e7c0deecb7b5eff0cc4487408b)
|
|
Michael
(This used to be commit 4efac39c363d565c2c7211da73d5e1cf2ac3d0b2)
|
|
Make use of talloc stackframe internally.
This removes talloc contxt from net_conf_delparm.
Michael
(This used to be commit 16f137393881edc78c9322f038ba38e53e3ee07d)
|
|
Michael
(This used to be commit bf6031287f75a0e17092f60f9885e7e55cd0f93c)
|
|
Make use of talloc stackframe internally.
This removes talloc contxt from net_conf_setparm.
Michael
(This used to be commit efaffefc438f8375a083b194ac7a09e563000d3c)
|
|
Make use of talloc_stackframe.
Michael
(This used to be commit aaceab1153f6c2a2adde83681913c771a16ca81f)
|
|
Michael
(This used to be commit 5873e6a1f8242e07b1699366a536350a7199c28c)
|
|
Michael
(This used to be commit 4c2a3396bb687703f6b74655fda2014d1f75200b)
|
|
Michael
(This used to be commit 1fe4ea63b197cb7ebc054909d888d74b5ad6523c)
|
|
Michael
(This used to be commit 8d02a2de61eb6b62fef1fbe57194c9d286423ba0)
|
|
Remove talloc context parameter.
Remove d_printf error message.
Michael
(This used to be commit 870d35c04889603843bae989fb9c01396b4c6ed1)
|
|
Michael
(This used to be commit 7d501f0d78ec57509d0bc5ef0dc16fcd24ee27e7)
|
|
Michael
(This used to be commit c1b863fd0520ce64a1bad5e2fa3f69afcc2c78d5)
|
|
And not pass a talloc context.
Michael
(This used to be commit 7e8451f2f03b246801783aaf4b3d54465292f8f7)
|
|
Michael
(This used to be commit d3a20c4d5a8109334cd3ed665ba60cfcc4425059)
|