s3-net: forgot to set type in winreg getvalue operation.
authorGünther Deschner <gd@samba.org>
Fri, 2 Jul 2010 11:08:00 +0000 (13:08 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 2 Jul 2010 11:09:41 +0000 (13:09 +0200)
Guenther

source3/utils/net_rpc_registry.c

index 0f781bbc03103fc43f2c32652d8c627525501e66..08142357a9d4dac683f3648a1bd0bc19402bf92f 100644 (file)
@@ -608,6 +608,8 @@ static NTSTATUS rpc_registry_getvalue_internal(struct net_context *c,
                goto done;
        }
 
+       value->type = type;
+
        print_registry_value(value, raw);
 
 done: