Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove iconv_convenience argument from convert_string{,talloc}() but | Jelmer Vernooij | 2008-10-24 | 3 | -7/+7 |
| | | | | make them wrappers around convert_string{,talloc}_convenience(). | ||||
* | Fix double free. | Jelmer Vernooij | 2008-10-21 | 1 | -1/+0 |
| | |||||
* | Fix the build. | Jelmer Vernooij | 2008-10-21 | 1 | -2/+2 |
| | |||||
* | Revert "Registry server LDB backend: Don't make copies of the same type" | Jelmer Vernooij | 2008-10-21 | 1 | -2/+2 |
| | | | | | | | The original data pointer may go away so we do want to make copies in this case. This reverts commit 625359b2e266105022309df8985720108ecd6f67. | ||||
* | Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrv | Jelmer Vernooij | 2008-10-21 | 14 | -214/+307 |
|\ | | | | | | | | | | | Conflicts: source4/lib/registry/ldb.c source4/rpc_server/winreg/rpc_winreg.c | ||||
| * | Make sure prototypes are always included, make some functions static and | Jelmer Vernooij | 2008-10-20 | 1 | -0/+12 |
| | | | | | | | | remove some unused functions. | ||||
| * | Regenerate pidl output. | Jelmer Vernooij | 2008-10-20 | 1 | -2/+2 |
| | | |||||
| * | Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with Samba | Jelmer Vernooij | 2008-10-18 | 1 | -2/+1 |
| | | | | | | | | 3. | ||||
| * | s4: fix registry/rpc.c after winreg changes. | Günther Deschner | 2008-10-15 | 1 | -5/+5 |
| | | | | | | | | | | | | jelmer, can you check if this is ok? Guenther | ||||
| * | winreg.idl: Sync ref change from Samba 3. | Jelmer Vernooij | 2008-10-15 | 1 | -1/+1 |
| | | |||||
| * | Use common util_file code. | Jelmer Vernooij | 2008-10-12 | 2 | -2/+2 |
| | | |||||
| * | Fix include paths to new location of libutil. | Jelmer Vernooij | 2008-10-11 | 3 | -4/+4 |
| | | |||||
| * | Fix regressions in patchfile after last patch, several other minor fixes. | Matthias Dieter Wallnöfer | 2008-10-03 | 1 | -22/+20 |
| | | |||||
| * | Use UTF8 rather than the possibly different UNIX charset. | Matthias Dieter Wallnöfer | 2008-09-30 | 1 | -3/+3 |
| | | |||||
| * | Merge ldb_search() and ldb_search_exp_fmt() into a simgle function. | Simo Sorce | 2008-09-23 | 1 | -10/+14 |
| | | | | | | | | | | The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful. | ||||
| * | Registry client: Remove all conversion helper functions | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -44/+17 |
| | | |||||
| * | Registry client library: Remove two elementar conversion functions | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -26/+4 |
| | | |||||
| * | Revert "Registry tool "regtree": Removing an error message" | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -0/+5 |
| | | | | | | | | This reverts commit f37a57fa366e2b0d77f9c1bd232d42a0f2cceb52. | ||||
| * | Registry client: Fixup the "patchfile" library | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -38/+66 |
| | | | | | | | | Rework and enhance the "patchfile" library (used in "regdiff") | ||||
| * | Registry client: Implement the "winreg_QueryValue" call | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -0/+48 |
| | | | | | | | | This is needed for the registry patchfile library | ||||
| * | Registry client library: Use "talloc_zero" to avoid uninitialized values | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -3/+2 |
| | | |||||
| * | Registry tool "regdiff": Add the event context for remote connections | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -1/+1 |
| | | | | | | | | Adds the event context for remote connections to make the tool working again. | ||||
| * | Registry client library: Fixes the creation of new keys | Matthias Dieter Wallnöfer | 2008-09-21 | 2 | -2/+3 |
| | | | | | | | | Giving the right permissions | ||||
| * | Registry client library: Fix some buffer problems | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -5/+9 |
| | | | | | | | | This buffer maximum values are used in Windows (2000), so I take them also for SAMBA 4. | ||||
| * | Registry client library: Various fixup's and corrections | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -63/+64 |
| | | | | | | | | | | | | I reverted the change with the string conversions because they aren't needed and included many fixup's and improvements in the code. We should be able now to connect to a Windows WINREG server without a problem. | ||||
| * | Registry tools "regshell" and "regtree": Small fixup's | Matthias Dieter Wallnöfer | 2008-09-21 | 2 | -22/+6 |
| | | | | | | | | | | I fixed up my fault regarding the handling of the default value (if it doesn't exist it hasn't the index number zero and you get immediately the subvalues). Then I corrected an error in regshell to find the right registry context. | ||||
| * | Registry client: Various cleanups and charset conversions | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -66/+125 |
| | | | | | | | | This patch contains various changes to the "rpc.c" file to clean it up and introduces the right string charset conversions (UNIX <-> UTF16). | ||||
| * | Registry tool "regshell": Handle the default attribute in the right way | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -13/+15 |
| | | | | | | | | This commit introduces the default attribute in "regshell" | ||||
| * | Registry tool "regtree": Removing an error message | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -5/+0 |
| | | | | | | | | The error message "Error occurred while fetching values" doesn't seem very useful, so remove it. | ||||
| * | Registry tool "regtree": Handle the default attribute in the right way | Matthias Dieter Wallnöfer | 2008-09-21 | 1 | -12/+18 |
| | | | | | | | | This commit introduces the default attribute in "regtree" | ||||
| * | Generate with 1.3.36. | Jelmer Vernooij | 2008-09-18 | 1 | -1/+1 |
| | | |||||
* | | Registry server LDB backend: Don't make copies of the same type | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -2/+2 |
| | | |||||
* | | Registry server LDB backend REG_BINARY type: Save it directly in LDB | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -3/+5 |
| | | | | | | | | With this patch the REG_BINARY type is saved directly in a LDB registry database rather than converted in a hex-string. | ||||
* | | Registry server LDB backend REG_SZ type: Always use UTF8 encoding | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -2/+2 |
| | | | | | | | | We should save data OS independent in the LDB files. | ||||
* | | Registry server LDB backend REG_SZ type: Fix up the empty string problem | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -5/+15 |
| | | | | | | | | This fixes up the empty string problem in a better way without the need of changing the character conversion code. | ||||
* | | Registry server: Fixes up the patch with "type" != NULL (used in "EnumValue" ↵ | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -2/+3 |
| | | | | | | | | | | | | and "QueryValue") This prevents the server to segfault if the input data type is NULL. | ||||
* | | Registry server "reg_ldb_unpack_value": Tests demonstrate that also "type" ↵ | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -2/+2 |
| | | | | | | | | doesn't has to be NULL | ||||
* | | Revert "Registry server "reg_ldb_unpack_value": Let "data" pointer be NULL" | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -27/+23 |
| | | | | | | | | | | This reverts commit 82f50ea69f3aece4ac654ffdfa627babd8aadc25. Cause: Windows (2000) doesn't accept the "data" pointer set to NULL | ||||
* | | Registry server "reg_ldb_unpack_value": Let "data" pointer be NULL | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -23/+27 |
| | | | | | | | | Prevent segfaults in some client applications (e.g. regdiff) | ||||
* | | Cleanups of server files | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -1/+5 |
| | | | | | | | | Cosmetic corrections | ||||
* | | Registry server: More work to be compatible | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -14/+25 |
| | | | | | | | | Some fixup's and assure, that we send only initialized values. | ||||
* | | ldb_get_value_by_id: Fix the return of the default value | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -14/+15 |
| | | | | | | | | | | The return of the values of a certain key has been broken since I've introduced the default value. Now the behaviour is correct: If no default value exists, start with index zero to fetch the other values. Otherwise let zero be the default value and enumerate the others starting with one. | ||||
* | | reg_ldb_unpack_value: Change "CH_UTF8" in "CH_UNIX" | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -1/+1 |
| | | | | | | | | It's better to use "CH_UNIX" for unpacking, because the system charset doesn't have to be UTF8 and we should be compatible with "reg_ldb_pack_value". | ||||
* | | ldb_del_value: Free key data also when removing the default attribute | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -4/+4 |
| | | |||||
* | | Fix for allowing the REG_BINARY type and introducing the default attribute | Matthias Dieter Wallnöfer | 2008-10-21 | 1 | -45/+128 |
|/ | | | | | The REG_BINARY type is converted and stored in the LDB database as a leaf object with string-data. The default attribute is saved directly in the hive object as the "data"-string. | ||||
* | Fix up the "reg_common_open_remote" call | Matthias Dieter Wallnöfer | 2008-09-09 | 4 | -8/+9 |
| | | | | | This fixes up the "reg_common_open_remote" call because it didn't work anymore without the event context. (This used to be commit 42ab865fc937a625d1eece45abe96bf354ddff8b) | ||||
* | Two useful "regshell" improvements | Matthias Dieter Wallnöfer | 2008-09-09 | 1 | -8/+6 |
| | | | | | This patch corrects the "change key" command (Follow up isn't supported yet) and adds a newline in a error message. (This used to be commit d1052dc42ef591208cfbf7059b28a078f6d4f0bf) | ||||
* | Add a setexpiry operation in samdb.py | Andrew Tridgell | 2008-08-30 | 2 | -23/+28 |
| | | | | | This makes it easy to set the expiry (or no expiry) for a samdb user (This used to be commit 25171f18a4b242b5a731f4ac1eefc51cc82efd74) | ||||
* | Use a custom init function for samba4 that sets a samba4 | Simo Sorce | 2008-06-14 | 5 | -7/+7 |
| | | | | | | | | specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5) | ||||
* | Use proper python errors. | Jelmer Vernooij | 2008-06-14 | 2 | -27/+17 |
| | | | | (This used to be commit f54084b65fce67457cb838544c83ceb17c7d88db) |