Unable to access remote registry

Jelmer Vernooij jelmer at samba.org
Tue Jan 8 12:03:45 GMT 2008


Am Dienstag, den 08.01.2008, 01:52 -0500 schrieb Pavithra Hanchagaiah:
> One more observation in the registry component:
> Tested on : samba-4.0.0alpha1
> 
> Registry component doesn't return the type value of Registry item
> queried from remote registry
> 
> With Reference to the already logged in bug 4395
> (https://bugzilla.samba.org/show_bug.cgi?id=4395) Bug Case2, I see that
> no type value is returned when the value is queried from Registry.
> 
> Reference: rpc_get_value_by_index() in rpc.c  
> ---------------------------------------------------------
>  if(NT_STATUS_IS_OK(status) &&
>        W_ERROR_IS_OK(r.out.result) && r.out.length) {
>         *value_name = talloc_strdup(mem_ctx, r.out.name->name);
>         *data = data_blob_talloc(mem_ctx, r.out.value, *r.out.length);
>         return WERR_OK;
>     }  
> ---------------------------------------------------------
The type is returned in the type argument, which is a uint32_t pointer.
This bug has been fixed in Subversion as well. 

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.samba.org/archive/samba-technical/attachments/20080108/1756891a/attachment.bin


More information about the samba-technical mailing list