summaryrefslogtreecommitdiffstats
path: root/source3/utils/net_conf.c
Commit message (Collapse)AuthorAgeFilesLines
...
* r23748: Clean use of talloc in import_process_service:Michael Adam2007-10-101-4/+13
| | | | | | | create a temporary talloc ctx for the function. Michael (This used to be commit 39df7faaa9472d565653b36203860eee8a259f2c)
* r23747: Move formatting of a parameter's value into a value stringMichael Adam2007-10-101-80/+82
| | | | | | | | | 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)
* r23746: Fix missing assignments to target string of asprintf in import function.Michael Adam2007-10-101-2/+2
| | | | | Michael (This used to be commit 6b1bf7c1f49f737ca3cbee96b184e3b21fdc4931)
* r23745: Fix: Check whether top subkeyname instead of whole registry key nameMichael Adam2007-10-101-2/+3
| | | | | | | is equal to GLOBAL_NAME. Michael (This used to be commit fdcdcacf0a9513829ad474605879ef55ce8b389e)
* r23744: Remove TODO-comment. lp_load returns False if openingMichael Adam2007-10-101-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)
* r23666: Rename lp_parameter_valid -> lp_parameter_is_valid.Michael Adam2007-10-101-1/+1
| | | | | Michael (This used to be commit 7f85cff49dfe1ae90e37162d35f1a48baaa9fe79)
* r23657: Prevent setting of a global option in a share definitionMichael Adam2007-10-101-1/+10
| | | | | | | in "net conf setparm". Michael (This used to be commit bf92d567984f00ebb998fb2485d0aac87d30b924)
* r23656: Add initial checking of the validity of a paramterMichael Adam2007-10-101-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)
* r23655: Fix a comment and adjust some code formatting.Michael Adam2007-10-101-2/+3
| | | | | Michael (This used to be commit b294bc707c2a7ef3ff5efcac1d5ea6f3d80f5a70)
* r23652: Use the recursive delete function instead of the original oneMichael Adam2007-10-101-1/+1
| | | | | | | when deleting a share. Just to be sure... Michael (This used to be commit 91770e153d7dd87d5e4f0516c297812091ba5b5a)
* r23585: Add a "drop" function to "net conf" that clears theMichael Adam2007-10-101-0/+81
| | | | | | | whole configuration stored in registry. Michael (This used to be commit 6d8973762ef2773ec64ed790f900253120e00d38)
* r23549: Make "net conf setparm" always use registry data type "sz".Michael Adam2007-10-101-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)
* r23543: Adjust comments.Michael Adam2007-10-101-13/+3
| | | | (This used to be commit ec22c30581f0809b6a008982abceb97b4f9cd12e)
* r23485: This checkin consists mostly of refactorings in preparation of theMichael Adam2007-10-101-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)
* r22135: Check in most of Michael Adam's net conf utility. A good share of ↵Volker Lendecke2007-10-101-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)