}
/* Delete value */
- if (strcmp(p, "-")) {
+ if (strcmp(p, "-") == 0) {
error = callbacks->del_value(callback_data, curkey, line);
if (!W_ERROR_IS_OK(error)) {
DEBUG(0, ("Error deleting value %s in key %s\n", line, curkey));
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control]
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ProductOptions]
-ProductType="LanmanNT"
+ProductType=LanmanNT
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print]
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server]
+[HKEY_LOCAL_MACHINE\System]
+
+[HKEY_LOCAL_MACHINE\System\CurrentControlSet]
+
+[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services]
+
+[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netlogon]
+
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters]
RefusePasswordChange=REG_DWORD:0