r15053: fix portabilities issues between 32-bit winbind clients and a 64-bit winbindd...
[kai/samba-autobuild/.git] / source / nsswitch / winbindd_util.c
index 16fab6d7e5ce88bccd68d59fd41c69bf9e13fa63..d64345a36f3a8f127196eb2b2d5222e910d2a32a 100644 (file)
@@ -236,7 +236,7 @@ static void trustdom_recv(void *private_data, BOOL success)
                return;
        }
 
                return;
        }
 
-       p = response->extra_data;
+       p = response->extra_data.data;
 
        while ((p != NULL) && (*p != '\0')) {
                char *q, *sidstr, *alt_name;
 
        while ((p != NULL) && (*p != '\0')) {
                char *q, *sidstr, *alt_name;
@@ -288,7 +288,7 @@ static void trustdom_recv(void *private_data, BOOL success)
                        p += 1;
        }
 
                        p += 1;
        }
 
-       SAFE_FREE(response->extra_data);
+       SAFE_FREE(response->extra_data.data);
        talloc_destroy(state->mem_ctx);
 }
 
        talloc_destroy(state->mem_ctx);
 }