s3:lib: remove supefluous comments from map_my_name()
authorMichael Adam <obnox@samba.org>
Thu, 21 Jan 2016 11:45:42 +0000 (12:45 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 25 Jan 2016 23:06:16 +0000 (00:06 +0100)
cleanup after moving

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/lib/util_names.c

index fe05b605e6a124a6746bf580fde25009223d9322..a2c3b1f9a38674338f6bda7a34d4fc8bd006427c 100644 (file)
@@ -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();
 }