summaryrefslogtreecommitdiffstats
path: root/source/lib/util_reg.c
Commit message (Collapse)AuthorAgeFilesLines
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-07-101-2/+1
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-07-091-1/+1
| | | | Jeremy.
* r23641: Put check for forbidden values in smbconf into a function.Michael Adam2007-06-281-0/+22
| | | | | | | (This will be used in a next step to prevent storing these values in reg_smbconf.c.) Michael
* r23507: Split one general function normalize_dbkey from reg_db.c into util_reg.cMichael Adam2007-06-151-0/+7
| | | | | | (To be used in other place in subsequent commit.) Michael
* r23485: This checkin consists mostly of refactorings in preparation of theMichael Adam2007-06-141-115/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* r23436: Merge (a considerable amount of) r19991 from 3_0:Michael Adam2007-06-121-30/+30
| | | | | | | | | | | | * Introduce registry/reg_api.c, which closely resembles the winreg api. This is important for the subsequent merges of the "net conf" code. * The rewrite of rpc_server/srv_winreg_nt.c is _not_ merged since the preliminary changes have not been merged. * Change some routines from NTSTATUS to WERROR. * Remove "parent" argument to regkey_open_internal (and rewrite to use the new api functions like reg_openhive and so on). Michael
* r23422: Merge (parts of) r19807, r19811, r19827.Michael Adam2007-06-111-2/+117
| | | | | | Preleminary merge for subsequent merge of restructuring of registry code. Michael
* r23421: Merge parts of r18963 that apply:Michael Adam2007-06-111-2/+2
| | | | | | | | Move defines from rpc_reg.h to reg_object.h. rpc_reg.h is not completely removed, since not all of the hand-marshalled code is replaced by ndr code in 3_0_26. Michael
* r23416: Forgot to "svn add lib/util_reg.c" in r23415...Michael Adam2007-06-111-0/+110
Michael