Age | Commit message (Collapse) | Author | Files | Lines |
|
a parameter and value into the canonical paramter with the value
inverted if it was in invers boolean synonym.
Make net conf use this function when storing parameters.
Michael
(This used to be commit 3b762ab18392fd06427957b0263262e3b8e34b9d)
|
|
and adjust some formattings to standard.
Michael
(This used to be commit 00432bcd69bb1c30774af277af1dc7271380d75b)
|
|
When storing parameters in the smbconf portion of the registry,
up to now, synonyms could be misused to store a parameter twice.
Now this is prevented by canonicalizing the paramter name first.
Also, the value for a boolean parameter checked for validity
before storing the bool in registry.
(The canonicalization should finally go into the registry smbconf
code to also prevent e.g. "regedit" or "net rpc registry" from
storing synonyms. - This is in the making.)
Michael
(This used to be commit 95447dde860f54d835b3fe90d95fe60231788d1b)
|
|
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
|
|
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
|
|
for the validity of the given registry key name.
Michael
(This used to be commit 4b4ba7724ee77a93e32cd7f3c5884d965fe9bcaa)
|
|
in the current registry and there is no global section in the input
file (or only global options with default values):
In that case the existing global section is now not touched. Before, it
would have been deleted and recreated empty. The new behaviour is how
other shares are treated too.
Note that since the input file is parsed by lp_load, there is currently
no way to distinguish between a section with only default parameters
and a non-existing section in net conf import.
Michael
PS: A couple of trailing white-spaces have been eliminated
and a line was broken to be not longer than 80 chars, too.
(This used to be commit ec21a0cf9f01986d333b50b883f2105e32cf7fc9)
|
|
eliminate "type" parameter since we store only REG_SZ.
Michael
(This used to be commit 65ce4633171eabd6fc94677cb7d884d6125d0745)
|
|
create a temporary talloc ctx for the function.
Michael
(This used to be commit 39df7faaa9472d565653b36203860eee8a259f2c)
|
|
to a function of its own. (for storing it in registry),
Eliminate the valtype variable : store everything as "sz".
Eliminate some trailing white spaces on the way.
Michael
(This used to be commit 76f4f224aa65b1414222818996e215ec80d117a4)
|
|
Michael
(This used to be commit 6b1bf7c1f49f737ca3cbee96b184e3b21fdc4931)
|
|
is equal to GLOBAL_NAME.
Michael
(This used to be commit fdcdcacf0a9513829ad474605879ef55ce8b389e)
|
|
of the config file fails. That's enough of checking for
existence and readbility to my taste.
Michael
(This used to be commit 204f4f1a94a6693ab5d92df0de48e6cb446c7a7f)
|
|
Michael
(This used to be commit 7f85cff49dfe1ae90e37162d35f1a48baaa9fe79)
|
|
in "net conf setparm".
Michael
(This used to be commit bf92d567984f00ebb998fb2485d0aac87d30b924)
|
|
given to "net conf setparm". Add a utility function
lp_parameter_valid() for this to loadparm.c.
Michael
(This used to be commit 639051e58d4da9fb1116c19f0790250640b6ac7a)
|
|
Michael
(This used to be commit b294bc707c2a7ef3ff5efcac1d5ea6f3d80f5a70)
|
|
when deleting a share. Just to be sure...
Michael
(This used to be commit 91770e153d7dd87d5e4f0516c297812091ba5b5a)
|
|
whole configuration stored in registry.
Michael
(This used to be commit 6d8973762ef2773ec64ed790f900253120e00d38)
|
|
This simplifies the usage of this command from
"net conf setparm <section> <param> <type> <value>"
to
"net conf setparm <section> <param> <value>".
Micheal
(This used to be commit 41a8f8ec5f5361f536d047c4ca5d90203b16ff06)
|
|
(This used to be commit ec22c30581f0809b6a008982abceb97b4f9cd12e)
|
|
activation of global registry options in loadparm.c, mainly to
extract functionality from net_conf.c to be made availabel elsewhere
and to minimize linker dependencies.
In detail:
* move functions registry_push/pull_value from lib/util_reg.c to new file
lib/util_reg_api.c
* create a fake user token consisting of builtin administrators sid and
se_disk_operators privilege by hand instead of using get_root_nt_token()
to minimize linker deps for bin/net.
+ new function registry_create_admin_token() in new lib/util_reg_smbconf.c
+ move dup_nt_token from auth/token_util.c to new file lib/util_nttoken.c
+ adapt net_conf.c and Makefile.in accordingly.
* split lib/profiles.c into two parts: new file lib/profiles_basic.c
takes all the low level mask manipulation and format conversion functions
(se_priv, privset, luid). the privs array is completely hidden from
profiles.c by adding some access-functions. some mask-functions are not
static anymore.
Generally, SID- and LUID-related stuff that has more dependencies
is kept in lib/profiles.c
* Move initialization of regdb from net_conf.c into a function
registry_init_regdb() in lib/util_reg_smbconf.c.
Michael
(This used to be commit efd3e2bfb756ac5c4df7984791c67e7ae20a582e)
|
|
this patch
is moving functions around to fix some linker dependencies for the registry.
Michael, I've renamed your auth_utils2.c to token_utils.c.
Thanks!
Volker
(This used to be commit 9de16f25c1c3e0b203da47391772ef2e2fe291ac)
|