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

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>
This commit is contained in:
Michael Adam 2016-01-21 12:45:42 +01:00
parent 6eaf40f5a4
commit d67d8e194b

View File

@ -175,17 +175,12 @@ const char *get_global_sam_name(void)
/****************************************************************** /******************************************************************
Get the default domain/netbios name to be used when Get the default domain/netbios name to be used when
testing authentication. 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) const char *my_sam_name(void)
{ {
/* Standalone servers can only use the local netbios name */
if (lp_server_role() == ROLE_STANDALONE) if (lp_server_role() == ROLE_STANDALONE)
return lp_netbios_name(); return lp_netbios_name();
/* Default to the DOMAIN name when not specified */
return lp_workgroup(); return lp_workgroup();
} }