summaryrefslogtreecommitdiff
path: root/source4/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/gtk')
-rw-r--r--source4/gtk/common/select.c2
-rw-r--r--source4/gtk/tools/gwsam.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/gtk/common/select.c b/source4/gtk/common/select.c
index d5d0d6cac4..46a9140831 100644
--- a/source4/gtk/common/select.c
+++ b/source4/gtk/common/select.c
@@ -158,7 +158,7 @@ GtkWidget *gtk_select_domain_dialog_new (struct dcerpc_pipe *sam_pipe)
for (i=0;i<r.out.sam->count;i++) {
GtkTreeIter iter;
gtk_list_store_append(d->store_domains, &iter);
- gtk_list_store_set (d->store_domains, &iter, 0, r.out.sam->entries[i].name.name, -1);
+ gtk_list_store_set (d->store_domains, &iter, 0, r.out.sam->entries[i].name.string, -1);
}
}
diff --git a/source4/gtk/tools/gwsam.c b/source4/gtk/tools/gwsam.c
index 75029a5d77..2f8e247fff 100644
--- a/source4/gtk/tools/gwsam.c
+++ b/source4/gtk/tools/gwsam.c
@@ -68,7 +68,7 @@ void update_userlist(void)
}
for (i=0;i<r.out.sam->count;i++) {
- printf("Found: %s\n", r.out.sam->entries[i].name.name);
+ printf("Found: %s\n", r.out.sam->entries[i].name.string);
/* FIXME: Query user info */
// if (!test_OpenUser(sam_pipe, mem_ctx, &sam_handle, r.out.sam->entries[i].idx)) {