- d_printf("GUID: %s\n", smb_uuid_string(talloc_tos(), reply.domain_uuid));
-
- d_printf("Flags:\n"
- "\tIs a PDC: %s\n"
- "\tIs a GC of the forest: %s\n"
- "\tIs an LDAP server: %s\n"
- "\tSupports DS: %s\n"
- "\tIs running a KDC: %s\n"
- "\tIs running time services: %s\n"
- "\tIs the closest DC: %s\n"
- "\tIs writable: %s\n"
- "\tHas a hardware clock: %s\n"
- "\tIs a non-domain NC serviced by LDAP server: %s\n"
- "\tIs NT6 DC that has some secrets: %s\n"
- "\tIs NT6 DC that has all secrets: %s\n",
- (reply.server_type & NBT_SERVER_PDC) ? "yes" : "no",
- (reply.server_type & NBT_SERVER_GC) ? "yes" : "no",
- (reply.server_type & NBT_SERVER_LDAP) ? "yes" : "no",
- (reply.server_type & NBT_SERVER_DS) ? "yes" : "no",
- (reply.server_type & NBT_SERVER_KDC) ? "yes" : "no",
- (reply.server_type & NBT_SERVER_TIMESERV) ? "yes" : "no",
- (reply.server_type & NBT_SERVER_CLOSEST) ? "yes" : "no",
- (reply.server_type & NBT_SERVER_WRITABLE) ? "yes" : "no",
- (reply.server_type & NBT_SERVER_GOOD_TIMESERV) ? "yes" : "no",
- (reply.server_type & NBT_SERVER_NDNC) ? "yes" : "no",
- (reply.server_type & NBT_SERVER_SELECT_SECRET_DOMAIN_6) ? "yes" : "no",
- (reply.server_type & NBT_SERVER_FULL_SECRET_DOMAIN_6) ? "yes" : "no");
-
-
- printf("Forest:\t\t\t%s\n", reply.forest);
- printf("Domain:\t\t\t%s\n", reply.dns_domain);
- printf("Domain Controller:\t%s\n", reply.pdc_dns_name);
-
- printf("Pre-Win2k Domain:\t%s\n", reply.domain);
- printf("Pre-Win2k Hostname:\t%s\n", reply.pdc_name);
-
- if (*reply.user_name) printf("User name:\t%s\n", reply.user_name);
-
- printf("Server Site Name :\t\t%s\n", reply.server_site);
- printf("Client Site Name :\t\t%s\n", reply.client_site);
-
- d_printf("NT Version: %d\n", reply.nt_version);
- d_printf("LMNT Token: %.2x\n", reply.lmnt_token);
- d_printf("LM20 Token: %.2x\n", reply.lm20_token);
+ d_printf(_("GUID: %s\n"), GUID_string(talloc_tos(),&reply.domain_uuid));
+
+ d_printf(_("Flags:\n"
+ "\tIs a PDC: %s\n"
+ "\tIs a GC of the forest: %s\n"
+ "\tIs an LDAP server: %s\n"
+ "\tSupports DS: %s\n"
+ "\tIs running a KDC: %s\n"
+ "\tIs running time services: %s\n"
+ "\tIs the closest DC: %s\n"
+ "\tIs writable: %s\n"
+ "\tHas a hardware clock: %s\n"
+ "\tIs a non-domain NC serviced by LDAP server: %s\n"
+ "\tIs NT6 DC that has some secrets: %s\n"
+ "\tIs NT6 DC that has all secrets: %s\n"),
+ (reply.server_type & NBT_SERVER_PDC) ? _("yes") : _("no"),
+ (reply.server_type & NBT_SERVER_GC) ? _("yes") : _("no"),
+ (reply.server_type & NBT_SERVER_LDAP) ? _("yes") : _("no"),
+ (reply.server_type & NBT_SERVER_DS) ? _("yes") : _("no"),
+ (reply.server_type & NBT_SERVER_KDC) ? _("yes") : _("no"),
+ (reply.server_type & NBT_SERVER_TIMESERV) ? _("yes") : _("no"),
+ (reply.server_type & NBT_SERVER_CLOSEST) ? _("yes") : _("no"),
+ (reply.server_type & NBT_SERVER_WRITABLE) ? _("yes") : _("no"),
+ (reply.server_type & NBT_SERVER_GOOD_TIMESERV) ? _("yes") : _("no"),
+ (reply.server_type & NBT_SERVER_NDNC) ? _("yes") : _("no"),
+ (reply.server_type & NBT_SERVER_SELECT_SECRET_DOMAIN_6) ? _("yes") : _("no"),
+ (reply.server_type & NBT_SERVER_FULL_SECRET_DOMAIN_6) ? _("yes") : _("no"));
+
+
+ printf(_("Forest:\t\t\t%s\n"), reply.forest);
+ printf(_("Domain:\t\t\t%s\n"), reply.dns_domain);
+ printf(_("Domain Controller:\t%s\n"), reply.pdc_dns_name);
+
+ printf(_("Pre-Win2k Domain:\t%s\n"), reply.domain);
+ printf(_("Pre-Win2k Hostname:\t%s\n"), reply.pdc_name);
+
+ if (*reply.user_name) printf(_("User name:\t%s\n"), reply.user_name);
+
+ printf(_("Server Site Name :\t\t%s\n"), reply.server_site);
+ printf(_("Client Site Name :\t\t%s\n"), reply.client_site);
+
+ d_printf(_("NT Version: %d\n"), reply.nt_version);
+ d_printf(_("LMNT Token: %.2x\n"), reply.lmnt_token);
+ d_printf(_("LM20 Token: %.2x\n"), reply.lm20_token);