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

s3:lib: fix white spaces in my_sam_name()

Clean-up after function has been moved.

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:44:19 +01:00
parent dee38e04d2
commit 6eaf40f5a4

View File

@ -177,15 +177,15 @@ const char *get_global_sam_name(void)
testing authentication.
LEGACY: this function provides the legacy domain mapping used with
the lp_map_untrusted_to_domain() parameter
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();
/* 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();
/* Default to the DOMAIN name when not specified */
return lp_workgroup();
}