s4:registry - "LDB backend" - "reg_key_get_info"
commit7b54964a253b031ba0351fecbfc271a68b76c25b
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sun, 21 Mar 2010 21:01:06 +0000 (21 22:01 +0100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sun, 21 Mar 2010 22:19:32 +0000 (21 23:19 +0100)
tree71d0ef2db5f5c7df735ff9b0e4261ace9ed207e5
parent773faa50632b8cee0008fe5d2c277c924b121756
s4:registry - "LDB backend" - "reg_key_get_info"

Consider also the default value (if it exists) as value. That means:
- count it when setting "num_values"
- take also his buffer length as a candidate for the maximum value buffer length

This is what Windows does.
source4/lib/registry/ldb.c