1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Volker Lendecke
70da27838b s3: Avoid leaking http_timestring in print_registry_key
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jul 15 09:44:05 CEST 2011 on sn-devel-104
2011-07-15 09:44:05 +02:00
Günther Deschner
0a250f4946 registry: create and use shared libcli/registry/util_reg.h header.
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
b381fba089 s3-registry: avoid using registry_value union.
Just pull and push data as is.

Guenther
2010-07-02 10:50:21 +02:00
Michael Adam
36b95fee15 s3:net [rpc] registry: be as user-friendly as possible wrt to the normalization change
The registry has been changed to use '\' as a key delimiter instead of '/'.
Originally, one could mix both characters in the specification of registry
key for net [rpc] registry. Now this can not work any more, since '/' is
generally treated as a valid character of a key name.

Now, to be as user-friendly as possible, the net [rpc] registry code has
been changed to still support '/' as a key name delimiter if no '\' character
is found in the given registry path string. In that case, all '/' characters
are converted to '\' characters before proceeding. If on the other hand,
a '\' character is found in the path string, then no conversion is assumed,
and it is hence assumed that the path is already in the correct form and
'/' characters are supposed to be part of the key names.
2010-06-25 17:35:42 +02:00
Günther Deschner
fe31b67d5e s3-registry: only include registry headers when really needed.
Guenther
2010-05-18 01:15:38 +02:00
Günther Deschner
6864828d9d s3: use shared registry functions.
Guenther
2010-04-27 16:42:15 +02:00
Kai Blin
7ced58b932 s3 net: i18n support for net registry 2009-08-07 09:54:51 +02:00
Jelmer Vernooij
cb78d4593b Cope with changed signature of http_timestring(). 2008-10-11 23:57:44 +02:00
Michael Adam
49835c6d9e net_registry: add raw output of value to print_registry_value().
Michael
(This used to be commit 340a706422)
2008-05-15 17:17:55 +02:00
Michael Adam
d3dcaac176 net (registry util): refactor printing of value without name out.
This renames print_registry_value() to print_registry_value_with_name().
The new function is called print_registry_value().

Michael
(This used to be commit 88c4851ad7)
2008-04-09 23:52:34 +02:00
Michael Adam
ae790f9b89 net: change split_hive_key() to properly allocate subkeyname
instead of returning a pointer into another string.

Michael
(This used to be commit 68d08ecf92)
2008-04-04 17:24:53 +02:00
Michael Adam
06466de5e9 net_registry: split utility function of common interest out into util module.
Michael
(This used to be commit 3bf890783f)
2008-04-04 17:05:00 +02:00