1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00

netdomjoin-gui: enable NetGetJoinInformation() call after successfull joining.

Now that libnetjoin reloads configuration after joining, we can rely on the
NetGetJoinInformation() output and use it for displaying the new domain name and
type.

Guenther
This commit is contained in:
Günther Deschner 2008-06-05 19:04:31 +02:00
parent 521ea68719
commit cc1b8de263

View File

@ -297,12 +297,12 @@ static void callback_do_reboot(GtkWidget *widget,
}
debug("got new status: %s\n", buffer);
#if 0
SAFE_FREE(state->name_buffer_new);
state->name_buffer_new = strdup(buffer);
SAFE_FREE(buffer);
state->name_type_new = type;
#endif
state->name_buffer_initial = strdup(buffer);
state->name_type_initial = type;
NetApiBufferFree((void *)buffer);
gtk_label_set_text(GTK_LABEL(state->label_current_name_buffer),