diff --git a/source3/lib/util_names.c b/source3/lib/util_names.c index fe05b605e6a..a2c3b1f9a38 100644 --- a/source3/lib/util_names.c +++ b/source3/lib/util_names.c @@ -175,17 +175,12 @@ const char *get_global_sam_name(void) /****************************************************************** Get the default domain/netbios name to be used when testing authentication. - - LEGACY: this function provides the legacy domain mapping used with - the lp_map_untrusted_to_domain() parameter ******************************************************************/ const char *my_sam_name(void) { - /* Standalone servers can only use the local netbios name */ if (lp_server_role() == ROLE_STANDALONE) return lp_netbios_name(); - /* Default to the DOMAIN name when not specified */ return lp_workgroup(); }