r196: merging struct uuid from trunk
[kai/samba.git] / source3 / rpc_parse / parse_ds.c
index 26dcdb34b8b957344c03aa766ba4ec08271e8b32..070f6be43a76780569199e266496daba6b804a8e 100644 (file)
@@ -49,7 +49,7 @@ static BOOL ds_io_dominfobasic( const char *desc, prs_struct *ps, int depth, DSR
        if ( !prs_uint32("forestname_ptr", ps, depth, &p->forestname_ptr) )
                return False;
                
-       if ( !prs_uint8s(False, "domain_guid", ps, depth, p->domain_guid.info, GUID_SIZE) )
+       if ( !smb_io_uuid("domain_guid", &p->domain_guid, ps, depth) )
                return False;
                
        if ( !smb_io_unistr2( "netbios_domain", &p->netbios_domain, p->netbios_ptr, ps, depth) )
@@ -179,7 +179,7 @@ static BOOL ds_io_domain_trusts( const char *desc, prs_struct *ps, int depth, DS
        if ( !prs_uint32( "sid_ptr", ps, depth, &trust->sid_ptr ) )
                return False;
        
-       if ( !prs_uint8s(False, "guid", ps, depth, trust->guid.info, GUID_SIZE) )
+       if ( !smb_io_uuid("guid", &trust->guid, ps, depth) )
                return False;
        
        return True;