Skip to content

Commit

Permalink
s3:lib: remove supefluous comments from map_my_name()
Browse files Browse the repository at this point in the history
cleanup after moving

Signed-off-by: Michael Adam <[email protected]>
Reviewed-by: Andreas Schneider <[email protected]>
  • Loading branch information
obnoxxx committed Jan 25, 2016
1 parent 6eaf40f commit d67d8e1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions source3/lib/util_names.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

0 comments on commit d67d8e1

Please sign in to comment.