diff options
author | Michael Adam <obnox@samba.org> | 2008-07-08 17:10:01 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-07-08 17:10:01 +0200 |
commit | 70d8e57c174d2dddf8d05ab81cf2edf31d10aebd (patch) | |
tree | beb2d973e2b2ea96ae4214f8e6fc3c3a8d2d337e /source3/lib/module.c | |
parent | fddf606651a41c011e4df06115696f535e3dea09 (diff) | |
download | samba-70d8e57c174d2dddf8d05ab81cf2edf31d10aebd.tar.gz samba-70d8e57c174d2dddf8d05ab81cf2edf31d10aebd.tar.bz2 samba-70d8e57c174d2dddf8d05ab81cf2edf31d10aebd.zip |
registry: fetch regdb_fetch_keys() when a key exists but not its subkey-record.
According to the new policy a key (that is not a base key) exists,
iff it exists in the subkey list of its parent key.
Usually this subkeylist is present, but in a transaction-less
dbwrap backend (ctdb), a failing write can leave an "incomplete"
key without its own subkeylist-record. (Otherwise such an
incomplete key can be generated with e.g. tdbtool.)
For such a key net registry enumerate (e.g.) would fail.
This commit fixes this behaviour of regdb_fetch_keys().
Michael
(This used to be commit f329aaf0452cc9bbad9fb6f67dac00bf8d1ef128)
Diffstat (limited to 'source3/lib/module.c')
0 files changed, 0 insertions, 0 deletions