summaryrefslogtreecommitdiff
path: root/source3/utils/net_registry.c
Commit message (Collapse)AuthorAgeFilesLines
* werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/utils/Günther Deschner2016-09-281-7/+7
| | | | | | | Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/utils/Günther Deschner2016-09-281-1/+1
| | | | | | | Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* werror: replace WERR_BADFILE with WERR_FILE_NOT_FOUND in source3/utils/Günther Deschner2016-09-281-3/+3
| | | | | | | Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3: utils: Convert all uses of uint32/16/8 to _t.Richard Sharpe2015-05-071-2/+2
| | | | | | | | Signed-off-by: Richard Sharpe <rsharpe@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu May 7 04:53:39 CEST 2015 on sn-devel-104
* Fix the O3 developer buildVolker Lendecke2015-03-031-2/+2
| | | | | | | | | | Different gcc versions complain at different places Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Mar 3 13:14:53 CET 2015 on sn-devel-104
* net_registry: don't leak state_path onto talloc tosDavid Disseldorp2014-11-031-5/+12
| | | | | Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3:net registry import: implement dry-run with "--test"Michael Adam2012-06-261-0/+6
| | | | | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Jun 26 21:43:49 CEST 2012 on sn-devel-104
* s3:net registry import: add an assertMichael Adam2012-06-261-0/+2
| | | | Pair-Programmed-With: Gergor Beck <gbeck@sernet.de>
* s3:net registry import: reduce indentationMichael Adam2012-06-261-7/+8
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:net registry import: fix the return code when transaction commit failsMichael Adam2012-06-261-1/+1
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:net registry import: improve regdb_open/close layeringMichael Adam2012-06-261-3/+4
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:net registry import: untangle nested function callsMichael Adam2012-06-261-3/+8
|
* s3:net registry import: reduce indentation and untangle assignment from checkMichael Adam2012-06-261-4/+9
| | | | in import_with_precheck_action().
* s3:net registry import: move precheck-and-import code to its own functionMichael Adam2012-06-261-9/+20
| | | | | | This is the code that is executed in a registry transaction. The purpose of the refactoring is to be able to simplify and untangle the code structure in the sequel.
* s3:net registry: fix violation of coding conventionsGregor Beck2012-06-261-32/+35
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net registry import: add option --precheckGregor Beck2012-06-261-5/+194
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net registry import: check return values + codecleanupGregor Beck2012-06-261-16/+30
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net registry: fix a copy and paste error in a help textMichael Adam2012-01-311-2/+2
|
* s3: Remove a bunch of calls to procid_self()Volker Lendecke2011-12-121-1/+1
| | | | All callers to messaging_[re]init only used procid_self()
* s3:net registry: fix segfault when net registry is called without subcommands...Michael Adam2011-10-141-0/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Oct 14 17:51:53 CEST 2011 on sn-devel-104
* s3:net: avoid unnecessary initialization of the registry.Gregor Beck2011-10-121-2/+7
| | | | | | | This allows for using help without having access to the registry and prevents update code to run if only a readonly check is to be performed. Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net: add command registry checkGregor Beck2011-10-121-0/+57
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:utils/net_*registry: use c99 initializers which are supported by old gcc ↵Stefan Metzmacher2011-06-151-3/+5
| | | | | | | | | 2.95 compilers (bug #8226) metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jun 15 03:48:41 CEST 2011 on sn-devel-104
* s3:net: registry export: close key after recursion returnsGregor Beck2011-05-301-1/+3
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon May 30 18:53:28 CEST 2011 on sn-devel-104
* s3:net registry: polish output of net registry enumerate[_recursive]Michael Adam2011-05-301-11/+15
| | | | | so that net registry enumerate output is as before, and net registry enumerate_recursive is formatted more nicely
* s3:net: registry: use recursive implementation for enumerateGregor Beck2011-05-301-63/+41
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net: registry: add new command enumerate_recursiveGregor Beck2011-05-301-0/+107
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-passdb: use passdb headers where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: no point in including all security headers globally.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* libcli/security: move display_sec headers to own header file and add toGünther Deschner2011-03-161-0/+1
| | | | | | security.h grouping header. Guenther
* s3:net registry: ignore WERR_BADFILE when --force is given in ↵Michael Adam2011-01-301-1/+3
| | | | | | | deletekey[_recursive] Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Jan 30 14:53:13 CET 2011 on sn-devel-104
* s3:net registry: fix a debug message.Michael Adam2011-01-301-1/+1
|
* s3:net registry: fix a debug message.Michael Adam2011-01-301-1/+1
|
* s3: Add "net registry getvaluesraw"Volker Lendecke2010-11-021-0/+51
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 2 15:42:22 UTC 2010 on sn-devel-104
* s3:net: add subcommand net registry deletekey_recursiveMichael Adam2010-09-221-3/+28
| | | | to delete a key including subkeys
* s3:registry: remove unneeded TALLOC_CTX argument from reg_deletekey_recursiveMichael Adam2010-09-221-1/+1
|
* s3-net: add command registry convertGregor Beck2010-09-221-0/+61
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: add command registry exportGregor Beck2010-09-221-0/+113
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: add command registry importGregor Beck2010-09-221-0/+203
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:registry: move prototypes from reg_init_basic.c to their own header.Michael Adam2010-09-211-0/+1
|
* s3:registry: move the reg_api prototypes to their own header.Michael Adam2010-09-211-0/+1
|
* s3:auth Remove NT_USER_TOKENAndrew Bartlett2010-09-111-1/+1
| | | | | | | | | The all UPPER case typedef is no longer the preferred Samba style and this makes it easier to see that this is the IDL-derivied structure Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3: Remove the dependency of g_lock on procid_selfVolker Lendecke2010-08-281-1/+1
| | | | procid_self() references global vars, don't depend on them unnecessarily
* s3-registry: avoid using registry_value union.Günther Deschner2010-07-021-7/+33
| | | | | | Just pull and push data as is. Guenther
* s3:registry: move prototype registry_create_admin_token() to new header ↵Michael Adam2010-05-251-0/+1
| | | | | | reg_util_token.h and use it only where necessary.
* s3-registry: only include registry headers when really needed.Günther Deschner2010-05-181-1/+1
| | | | Guenther
* s3: use shared registry functions.Günther Deschner2010-04-271-1/+1
| | | | Guenther
* s3: Add "net registry increment"Volker Lendecke2010-03-121-0/+105
| | | | A convenience function to increment a DWORD value under a (cluster-wide) lock
* s3: Fix some "net registry" usage messagesVolker Lendecke2010-03-121-3/+3
|