summaryrefslogtreecommitdiff
path: root/source3/utils/net_conf.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23746: Fix missing assignments to target string of asprintf in import function.Michael Adam1-2/+2
Michael (This used to be commit 6b1bf7c1f49f737ca3cbee96b184e3b21fdc4931)
2007-10-10r23745: Fix: Check whether top subkeyname instead of whole registry key nameMichael Adam1-2/+3
is equal to GLOBAL_NAME. Michael (This used to be commit fdcdcacf0a9513829ad474605879ef55ce8b389e)
2007-10-10r23744: Remove TODO-comment. lp_load returns False if openingMichael Adam1-2/+0
of the config file fails. That's enough of checking for existence and readbility to my taste. Michael (This used to be commit 204f4f1a94a6693ab5d92df0de48e6cb446c7a7f)
2007-10-10r23666: Rename lp_parameter_valid -> lp_parameter_is_valid.Michael Adam1-1/+1
Michael (This used to be commit 7f85cff49dfe1ae90e37162d35f1a48baaa9fe79)
2007-10-10r23657: Prevent setting of a global option in a share definitionMichael Adam1-1/+10
in "net conf setparm". Michael (This used to be commit bf92d567984f00ebb998fb2485d0aac87d30b924)
2007-10-10r23656: Add initial checking of the validity of a paramterMichael Adam1-0/+14
given to "net conf setparm". Add a utility function lp_parameter_valid() for this to loadparm.c. Michael (This used to be commit 639051e58d4da9fb1116c19f0790250640b6ac7a)
2007-10-10r23655: Fix a comment and adjust some code formatting.Michael Adam1-2/+3
Michael (This used to be commit b294bc707c2a7ef3ff5efcac1d5ea6f3d80f5a70)
2007-10-10r23652: Use the recursive delete function instead of the original oneMichael Adam1-1/+1
when deleting a share. Just to be sure... Michael (This used to be commit 91770e153d7dd87d5e4f0516c297812091ba5b5a)
2007-10-10r23585: Add a "drop" function to "net conf" that clears theMichael Adam1-0/+81
whole configuration stored in registry. Michael (This used to be commit 6d8973762ef2773ec64ed790f900253120e00d38)
2007-10-10r23549: Make "net conf setparm" always use registry data type "sz".Michael Adam1-7/+4
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)
2007-10-10r23543: Adjust comments.Michael Adam1-13/+3
(This used to be commit ec22c30581f0809b6a008982abceb97b4f9cd12e)
2007-10-10r23485: This checkin consists mostly of refactorings in preparation of theMichael Adam1-18/+11
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)
2007-10-10r22135: Check in most of Michael Adam's net conf utility. A good share of ↵Volker Lendecke1-0/+1118
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)