summaryrefslogtreecommitdiff
path: root/source3/lib/util_names.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2016-01-21 12:45:42 +0100
committerMichael Adam <obnox@samba.org>2016-01-26 00:06:16 +0100
commitd67d8e194b221315cde56f4728935071eecb378b (patch)
tree267e8407b70876808d73b27d6c144dc730d1212d /source3/lib/util_names.c
parent6eaf40f5a4ac2e7fe3b40176932acf7abd51279a (diff)
downloadsamba-d67d8e194b221315cde56f4728935071eecb378b.tar.gz
s3:lib: remove supefluous comments from map_my_name()
cleanup after moving Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/lib/util_names.c')
-rw-r--r--source3/lib/util_names.c5
1 files changed, 0 insertions, 5 deletions
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();
}