Stefan Metzmacher [Thu, 7 Jul 2011 14:38:33 +0000 (16:38 +0200)]
s3:smb2_server: call change_to_root_user() or smbd_smb2_request_check_tcon()
For all requests which don't operate on a tcon, we should call
change_to_root_user(), to match the SMB1 behavior.
For SMB1 we do the following operations without AS_USER:
/* 0x70 */ { "SMBtcon",reply_tcon,0},
/* 0x71 */ { "SMBtdis",reply_tdis,DO_CHDIR},
/* 0x72 */ { "SMBnegprot",reply_negprot,0},
/* 0x73 */ { "SMBsesssetupX",reply_sesssetup_and_X,0},
/* 0x74 */ { "SMBulogoffX",reply_ulogoffX, 0}, /* ulogoff doesn't give a valid TID */
/* 0x75 */ { "SMBtconX",reply_tcon_and_X,0},
...
/* 0x2b */ { "SMBecho",reply_echo,0},
...
/* 0xa4 */ { "SMBntcancel",reply_ntcancel, 0 },
For SMB2tdis we still call smbd_smb2_request_check_tcon()
as close_cnum() calls change_to_root_user() when needed.
metze
Stefan Metzmacher [Thu, 7 Jul 2011 13:38:02 +0000 (15:38 +0200)]
s3:torture/scanner: use trans2_bytes_push_str() in scan_trans2()
metze
Stefan Metzmacher [Thu, 7 Jul 2011 13:33:43 +0000 (15:33 +0200)]
s3:utils: avoid cli_nt_error()/cli_errstr() if we already have the status
metze
Stefan Metzmacher [Wed, 6 Jul 2011 13:41:55 +0000 (15:41 +0200)]
Revert "s3:smbd: add SEC_FLAG_MAXIMUM_ALLOWED handling to smbd_check_open_rights()"
This reverts commit
8fc072e3b6915cdda1246c1622b130b1d55c03fd.
Stefan Metzmacher [Tue, 5 Jul 2011 11:12:21 +0000 (13:12 +0200)]
s3:smbd: add SEC_FLAG_MAXIMUM_ALLOWED handling to smbd_check_open_rights()
metze
Stefan Metzmacher [Fri, 24 Jun 2011 09:37:31 +0000 (11:37 +0200)]
Revert "HACK large enumprinters"
This reverts commit
d0075f9231033a1e786e8b15fec7b8afb5d54e5a.
Stefan Metzmacher [Tue, 7 Jun 2011 22:54:14 +0000 (00:54 +0200)]
HACK large enumprinters
Stefan Metzmacher [Wed, 8 Jun 2011 13:46:37 +0000 (15:46 +0200)]
Stefan Metzmacher [Tue, 7 Jun 2011 19:41:24 +0000 (21:41 +0200)]
HACKS...
Stefan Metzmacher [Tue, 7 Jun 2011 17:20:44 +0000 (19:20 +0200)]
Revert "TODO may fix it"
This reverts commit
f8bf99b1821c43be3c9cd53828898813e3a08e4c.
Stefan Metzmacher [Thu, 19 May 2011 12:43:05 +0000 (14:43 +0200)]
TODO may fix it
Stefan Metzmacher [Fri, 24 Jun 2011 09:37:22 +0000 (11:37 +0200)]
Revert "TODO s3:selftest: add a few more smb2.* tests"
This reverts commit
eb69d7dd54c12a8e6b0ffa3926dcbfc6b4819f13.
Stefan Metzmacher [Tue, 7 Jun 2011 17:22:01 +0000 (19:22 +0200)]
Revert "TODO s3:selftest: add a few more base.* tests"
This reverts commit
c30c5138a99cdd100ca4834b03b0827f82712255.
Stefan Metzmacher [Tue, 7 Jun 2011 17:21:59 +0000 (19:21 +0200)]
Revert "TODO s3:selftest: use the full raw.sfileinfo test"
This reverts commit
f71c9edddf149c573d765d7ec2f3e52f0c06b78a.
Stefan Metzmacher [Mon, 28 Mar 2011 06:25:47 +0000 (08:25 +0200)]
TODO s3:selftest: add a few more base.* tests
metze
Stefan Metzmacher [Mon, 28 Mar 2011 06:25:00 +0000 (08:25 +0200)]
TODO s3:selftest: use the full raw.sfileinfo test
metze
Stefan Metzmacher [Mon, 28 Mar 2011 06:24:25 +0000 (08:24 +0200)]
TODO s3:selftest: add a few more smb2.* tests
metze
Stefan Metzmacher [Tue, 5 Jul 2011 11:15:32 +0000 (13:15 +0200)]
TODO: do we need conn->share_access checks in calculate_access_mask()???
Stefan Metzmacher [Thu, 7 Jul 2011 08:55:00 +0000 (10:55 +0200)]
s3:libsmb: use trans2_bytes_push_str() in cli_tcon_andx_create() for the plaintext password
This makes sure we push the string always in DOS charset.
metze
Stefan Metzmacher [Thu, 7 Jul 2011 08:16:38 +0000 (10:16 +0200)]
s3:libsmb: use trans2_bytes_push_str() in cli_set_ea_path()
metze
Stefan Metzmacher [Wed, 6 Jul 2011 16:36:29 +0000 (18:36 +0200)]
s3:libsmb: use trans2_bytes_push_str() in cli_dfs_get_referral()
metze
Stefan Metzmacher [Thu, 7 Jul 2011 06:58:25 +0000 (08:58 +0200)]
s3:libsmb: use a talloc_stackframe in cli_dfs_get_referral()
metze
Stefan Metzmacher [Wed, 6 Jul 2011 16:24:50 +0000 (18:24 +0200)]
s3:libsmb: use trans2_bytes_push_str/bytes() in cli_list_trans_*()
metze
Stefan Metzmacher [Wed, 6 Jul 2011 15:57:45 +0000 (17:57 +0200)]
s3:libsmb: remove unused clistr_pull_fn()
metze
Stefan Metzmacher [Wed, 6 Jul 2011 16:57:27 +0000 (18:57 +0200)]
s3:libsmb: use clistr_pull_talloc() for short_name in interpret_long_filename()
metze
Stefan Metzmacher [Thu, 7 Jul 2011 12:46:40 +0000 (14:46 +0200)]
s3:libsmb: interpret_long_filename() short_name is always UNICODE
metze
Stefan Metzmacher [Thu, 7 Jul 2011 08:02:36 +0000 (10:02 +0200)]
s3:libsmb: add trans2_bytes_push_bytes()
metze
Stefan Metzmacher [Wed, 6 Jul 2011 16:23:52 +0000 (18:23 +0200)]
s3:libsmb: make trans2_bytes_push_str() non-static
We should use this and get rid of clistr_push().
metze
Gregor Beck [Wed, 6 Jul 2011 13:10:27 +0000 (15:10 +0200)]
s3:testparm: avoid spurious warnings about dos mode mapping and create mask if store dos attributes is set
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Jul 7 12:49:01 CEST 2011 on sn-devel-104
Kai Blin [Mon, 27 Jun 2011 09:25:39 +0000 (11:25 +0200)]
s4 provision: Add some of the AD-specific DNS records to the directory
Signed-off-by: Kai Blin <kai@samba.org>
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Jul 7 02:29:53 CEST 2011 on sn-devel-104
Kai Blin [Sat, 25 Jun 2011 22:36:25 +0000 (00:36 +0200)]
s4 provision: split up DNS provisioning into generic and samba-specific ldifs
Signed-off-by: Kai Blin <kai@samba.org>
Stefan Metzmacher [Wed, 6 Jul 2011 15:52:33 +0000 (17:52 +0200)]
s4:torture/smb2: s/smb2cli_unlock/test_smb2_unlock
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jul 6 19:07:42 CEST 2011 on sn-devel-104
Stefan Metzmacher [Wed, 6 Jul 2011 15:52:33 +0000 (17:52 +0200)]
s4:torture/smb2: s/smb2cli_lock/test_smb2_lock
metze
Stefan Metzmacher [Wed, 6 Jul 2011 12:35:13 +0000 (14:35 +0200)]
s3:libsmb: use clistr_pull_talloc() in cli_qfilename()
metze
Stefan Metzmacher [Wed, 6 Jul 2011 12:04:15 +0000 (14:04 +0200)]
s3:libsmb: let cli_qfileinfo[_recv]() return recv_flags2
metze
Stefan Metzmacher [Wed, 6 Jul 2011 11:57:20 +0000 (13:57 +0200)]
s3:libsmb: use clistr_pull_talloc() in cli_get_fs_volume_info()
metze
Stefan Metzmacher [Wed, 6 Jul 2011 11:21:41 +0000 (13:21 +0200)]
s3:libsmb: the SMB_QUERY_FS_VOLUME_INFO response needs at least 18 data bytes
metze
Stefan Metzmacher [Wed, 6 Jul 2011 11:04:26 +0000 (13:04 +0200)]
s3:libsmb: don't use cli->inbuf in cli_dfs_get_referral()
The rdata buffer returned by cli_trans() doesn't belong to
cli->inbuf, so don't use it.
metze
Stefan Metzmacher [Wed, 6 Jul 2011 13:57:22 +0000 (15:57 +0200)]
s3:libsmb: fix error handling in cli_dfs_get_referral()
We should not return NT_STATUS_OK on error.
metze
Stefan Metzmacher [Wed, 6 Jul 2011 10:31:41 +0000 (12:31 +0200)]
s3:sharesec: return an error if get_share_security() returns NULL
This indicates an error, as it uses get_share_security_default()
if no security descriptor is configured.
Jeremy, please check.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jul 6 15:40:23 CEST 2011 on sn-devel-104
Michael Adam [Wed, 6 Jul 2011 10:24:13 +0000 (12:24 +0200)]
s3:test: catch more errors in test_access_check() in the smbclient_s3 test
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Jul 6 14:07:13 CEST 2011 on sn-devel-104
Michael Adam [Wed, 6 Jul 2011 10:09:52 +0000 (12:09 +0200)]
s3:registry: update copyright for the registry db implementation
Michael Adam [Wed, 6 Jul 2011 08:37:40 +0000 (10:37 +0200)]
examples/VFS: try to fix the build on openbsd, adding alternative spellings of autoconf/header
The host "samba-amd64" on the build farm running openbsd 4.8 broke.
Taking over the additional spellings of autoconf and autoheader from
the source3/autogen.sh script should fix it.
Stefan Metzmacher [Tue, 5 Jul 2011 14:59:41 +0000 (16:59 +0200)]
s3:sharesec: also initialize pgranted if get_share_security() returns NULL
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jul 6 12:54:30 CEST 2011 on sn-devel-104
Volker Lendecke [Wed, 6 Jul 2011 07:39:08 +0000 (09:39 +0200)]
s3: Follow the TALLOC_FREE convention in source3
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jul 6 11:01:05 CEST 2011 on sn-devel-104
Volker Lendecke [Wed, 6 Jul 2011 07:37:04 +0000 (09:37 +0200)]
s3: Fix Coverity ID 2586 -- NO_EFFECT
tsocket_address_bsd_sockaddr returns ssize_t, and on some systems socklen_t is
unsigned. So (len < 0) could never have turned true.
Volker
Volker Lendecke [Tue, 5 Jul 2011 17:55:25 +0000 (19:55 +0200)]
s3: Remove cli_errstr from cmd_posix_open
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jul 6 09:45:11 CEST 2011 on sn-devel-104
Volker Lendecke [Tue, 5 Jul 2011 17:51:09 +0000 (19:51 +0200)]
s3: Fix error logic in posix_open
Volker Lendecke [Tue, 5 Jul 2011 17:42:46 +0000 (19:42 +0200)]
s3: Remove a few uses of cli_errstr
Volker Lendecke [Sun, 3 Jul 2011 18:53:55 +0000 (20:53 +0200)]
s3: make cli_resolve_path return NTSTATUS
This looks larger than it is. No parameters needed changing.
Rusty Russell [Wed, 6 Jul 2011 05:17:44 +0000 (14:47 +0930)]
ccan/tally: don't use SIZE_MAX.
Michael Adam points out this broke the build farm (ie. OSF1 axp V5.1 2650 alpha)
so fixed in CCAN and imported from
af7a902d74a7926693f55da9e21a67dde46931d4:
Turns out it's not standard (thanks Samba build farm!)
And the previous test had a hole in it anyway. This one is more conservative.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Wed Jul 6 08:34:05 CEST 2011 on sn-devel-104
Andrew Bartlett [Wed, 6 Jul 2011 03:09:17 +0000 (13:09 +1000)]
build: we no longer put #if _SAMBA_BUILD_ == 4 in public headers
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Jul 6 06:46:50 CEST 2011 on sn-devel-104
Andrew Bartlett [Wed, 6 Jul 2011 02:49:11 +0000 (12:49 +1000)]
s3-build We no longer require to redefine _SAMBA_BUILD_
Andrew Bartlett [Wed, 6 Jul 2011 03:06:14 +0000 (13:06 +1000)]
libcli/smb move FILE_TYPE constants in common
This allows us to remove another _SAMBA_BUILD_ conditional
Andrew Bartlett
Andrew Bartlett [Wed, 6 Jul 2011 03:05:45 +0000 (13:05 +1000)]
libcli/smb move enum protocol_types to a common header
Andrew Bartlett [Wed, 6 Jul 2011 02:39:34 +0000 (12:39 +1000)]
build: Remove _SAMBA_BUILD == 4 from libgpo
This code has no hope of building against the samba4 libs (it has been
disabled for a very long time, and files referenced don't exist etc),
and with the common build there simply is no need.
Andrew Bartlett
Andrew Bartlett [Wed, 6 Jul 2011 02:08:52 +0000 (12:08 +1000)]
librpc/ndr remove _SAMBA_BUILD_ conditionals
Andrew Bartlett [Wed, 6 Jul 2011 01:58:10 +0000 (11:58 +1000)]
build: Re-enable the -Wl,--as-needed flag
Christian Ambach [Tue, 5 Jul 2011 22:06:27 +0000 (17:06 -0500)]
s3:smbd fix a compile warning on AIX 5.3
use the correct alias instead of FD directly
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Tue Jul 5 19:51:42 CEST 2011 on sn-devel-104
Christian Ambach [Tue, 5 Jul 2011 22:04:15 +0000 (17:04 -0500)]
s3:build fix autoconf build on AIX 5.3
using ZLIB_LIBS as dependency made AIX make fail trying to
find -lz as build target
Christian Ambach [Tue, 5 Jul 2011 22:02:23 +0000 (17:02 -0500)]
.gitignore: add AIX WINBIND nss module
this cleans up git status on AIX after building source3
Christian Ambach [Tue, 28 Jun 2011 16:01:22 +0000 (18:01 +0200)]
s3:lib fix non-empty blank lines
Christian Ambach [Tue, 28 Jun 2011 12:59:18 +0000 (14:59 +0200)]
s3:modules fix non-empty blank lines
Volker Lendecke [Tue, 5 Jul 2011 15:26:04 +0000 (17:26 +0200)]
s3: Remove some unused variables
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Jul 5 18:40:11 CEST 2011 on sn-devel-104
Volker Lendecke [Tue, 5 Jul 2011 09:13:07 +0000 (11:13 +0200)]
s3: Fix bug 8102
We can't allow open with access that has been denied via the share
security descriptor
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jul 5 16:21:54 CEST 2011 on sn-devel-104
Volker Lendecke [Mon, 4 Jul 2011 16:35:21 +0000 (18:35 +0200)]
s3: Calculate&store the maximum share access mask
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Volker Lendecke [Mon, 4 Jul 2011 15:02:34 +0000 (17:02 +0200)]
s3: Return "granted" from share_access_check
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Andrew Bartlett [Tue, 5 Jul 2011 05:55:25 +0000 (15:55 +1000)]
ldb: set -Wl,-no-undefined only on standalone build
This ensures that the flag is not propogated to other projects, such
as Samba's source3 waf build.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Jul 5 10:37:30 CEST 2011 on sn-devel-104
Andrew Bartlett [Tue, 5 Jul 2011 00:01:32 +0000 (10:01 +1000)]
ldb: make ldb a top level library for Samba 4.0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Andrew Tridgell [Tue, 5 Jul 2011 03:03:18 +0000 (13:03 +1000)]
s4-dbcheck: support the 'none' option for prompts
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Jul 5 08:22:40 CEST 2011 on sn-devel-104
Andrew Tridgell [Tue, 5 Jul 2011 03:02:48 +0000 (13:02 +1000)]
s4-pycommon: support 'none' as an option in confirm
this allows the user to ask for none of the changes of this type
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
Andrew Tridgell [Tue, 5 Jul 2011 02:44:07 +0000 (12:44 +1000)]
dbcheck: only use a paged search when checking a ldap database
paged searches don't work against a local database (they return only
the first N objects)
Andrew Tridgell [Tue, 5 Jul 2011 02:42:53 +0000 (12:42 +1000)]
dbcheck: check for unknown attributes and offer to remove them
this asks the user if they want to remove an unknown attribute. You
can also choose 'all' which will auto-confirm all questions about
removing unknown attributes.
Andrew Tridgell [Tue, 5 Jul 2011 02:38:31 +0000 (12:38 +1000)]
s4-pycommon: allow an optional 'all' choice for confirm dialogs
when asking the user to confirm an action, allow for an 'all'
choice, which will be used to allow the user to confirm all future
requests of the same type
Andrew Tridgell [Tue, 5 Jul 2011 02:36:16 +0000 (12:36 +1000)]
s4-dsdb: allow removal of unknown attributes if RELAX set
this allows attributes not known in the schema to be removed if the
caller has set the RELAX control. This will be used by dbcheck to
allow cleaning of bad attributes from the database
Rusty Russell [Tue, 5 Jul 2011 03:38:09 +0000 (13:08 +0930)]
ccan: fix configure tests for __builtin_clz etc.
It's not enough to compile-test them: Michael Adam points out that nonexistant
functions merely cause a warning. We have to try to link them.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Tue Jul 5 07:08:55 CEST 2011 on sn-devel-104
Andrew Bartlett [Mon, 4 Jul 2011 23:47:25 +0000 (09:47 +1000)]
build: remove mktowscript
We finished the conversion a long time ago
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Jul 5 05:56:06 CEST 2011 on sn-devel-104
Andrew Bartlett [Tue, 5 Jul 2011 02:33:27 +0000 (04:33 +0200)]
build: Add missing depencency on NDR_NBT
Andrew Bartlett [Tue, 5 Jul 2011 02:22:16 +0000 (04:22 +0200)]
build: Add missing dep on UTIL_TEVENT
Michael Adam [Mon, 4 Jul 2011 15:45:30 +0000 (17:45 +0200)]
s3:registry: remove unused function regdb_key_is_base_key()
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Jul 4 21:11:32 CEST 2011 on sn-devel-104
Michael Adam [Mon, 4 Jul 2011 15:22:01 +0000 (17:22 +0200)]
s3:registry: replace use of deprecated talloc_destroy by talloc_free.
Michael Adam [Mon, 4 Jul 2011 15:21:23 +0000 (17:21 +0200)]
s3:registry: remove superfluous check for success of talloc_stackframe()
Michael Adam [Mon, 4 Jul 2011 15:20:28 +0000 (17:20 +0200)]
s3:registry: add debug-level-10 verbosity to regdb_upgrade_v2_v3_fn()
Michael Adam [Mon, 4 Jul 2011 15:13:58 +0000 (17:13 +0200)]
s3:registry: adapt a debug message to be more systematic
Michael Adam [Mon, 4 Jul 2011 14:23:08 +0000 (16:23 +0200)]
s3:registry: set registry version to 3 and add upgrade code
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Michael Adam [Mon, 4 Jul 2011 14:21:26 +0000 (16:21 +0200)]
s3:registry: add db_context argument to regdb_upgrade_v1_to_v2()
Michael Adam [Mon, 4 Jul 2011 14:15:11 +0000 (16:15 +0200)]
s3:registry: wrap the whole db upgrade in one transaction
The purpose of this is to prepare for multiple upgrade steps
to be performed in a single transaction, so that no change
at all is made to that database if one step fails.
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Michael Adam [Mon, 4 Jul 2011 14:09:33 +0000 (16:09 +0200)]
s3:registry: change regdb_store_regdb_version() to take db_context argument.
Michael Adam [Mon, 4 Jul 2011 13:23:39 +0000 (15:23 +0200)]
s3:registry: fix a comment typo
Michael Adam [Fri, 1 Jul 2011 11:49:12 +0000 (13:49 +0200)]
s3:registry: remove unused regdb_delete_sorted_subkeys()
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Michael Adam [Fri, 1 Jul 2011 11:48:16 +0000 (13:48 +0200)]
s3:registry: don't delete the unused subkeys cache record any more
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Michael Adam [Fri, 1 Jul 2011 11:37:41 +0000 (13:37 +0200)]
s3:registry: remove the code to create and search the sorted subkeys cache records
This is not needed any more.
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Michael Adam [Fri, 1 Jul 2011 11:33:44 +0000 (13:33 +0200)]
s3:registry: adapt the comment explaining the definition of the existence of a key.
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Michael Adam [Fri, 1 Jul 2011 11:18:51 +0000 (13:18 +0200)]
s3:registry: regdb_key_exists now checks only for the list-of-subkeys-record
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Michael Adam [Mon, 4 Jul 2011 11:19:13 +0000 (13:19 +0200)]
s3:registry: rewrite init_registry_key_internal
This rewrites init_registry_key_internal() to correctly also create
base keys. It makes use of the existing create functions instead of
duplicating the code.
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Michael Adam [Mon, 4 Jul 2011 11:14:43 +0000 (13:14 +0200)]
s3:registry: add regdb_create_basekey()
Function to create a base key in the registry db, i.e. one that
has no parent key.
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Michael Adam [Mon, 4 Jul 2011 11:09:31 +0000 (13:09 +0200)]
s3:registry: add regdb_create_subkey_internal() taking additional db context argument
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Michael Adam [Mon, 4 Jul 2011 11:06:20 +0000 (13:06 +0200)]
s3:registry: add new mode to regdb_store_subkey_list() for handing in NULL parent key
Standard behaviour is to concatenate parent and key path (parent\key).
This new mode allows for storing subkey lists for base keys using a NULL
parent argument.
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Michael Adam [Fri, 1 Jul 2011 13:50:05 +0000 (15:50 +0200)]
s3:registry: create the empty list of subkeys of the new key in regdb_create_subkey
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Michael Adam [Fri, 1 Jul 2011 13:47:50 +0000 (15:47 +0200)]
s3:registry: refactor creation of subkey list out into regdb_store_subkey_list()
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>