diff options
author | Michael Adam <obnox@samba.org> | 2010-06-25 17:26:34 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-06-25 17:35:42 +0200 |
commit | 36b95fee152d348926fad1bcdc9f05312bb2aad5 (patch) | |
tree | b7084d25ee742b4a442cafeb7d5a846edd98fdb2 /source3/registry/reg_backend_db.c | |
parent | 8e4f8128234f0015c9d63bb18821487bb3e7b06e (diff) | |
download | samba-36b95fee152d348926fad1bcdc9f05312bb2aad5.tar.gz samba-36b95fee152d348926fad1bcdc9f05312bb2aad5.tar.bz2 samba-36b95fee152d348926fad1bcdc9f05312bb2aad5.zip |
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.
Diffstat (limited to 'source3/registry/reg_backend_db.c')
0 files changed, 0 insertions, 0 deletions