]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:lib: Remove unneded call to set_local_machine_name()
authorAndreas Schneider <asn@samba.org>
Thu, 6 Feb 2020 12:31:52 +0000 (13:31 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 7 Feb 2020 17:00:42 +0000 (17:00 +0000)
We return the netbios name by default if not set.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/util_names.c

index f33a8a7d1ab8159876469c0e47864d8c07688065..15236c913dfa858068ed66eba82985aea4134809 100644 (file)
@@ -146,8 +146,6 @@ bool init_names(void)
                return False;
        }
 
-       set_local_machine_name(lp_netbios_name(),false);
-
        DEBUG( 5, ("Netbios name list:-\n") );
        for( n=0; my_netbios_names(n); n++ ) {
                DEBUGADD( 5, ("my_netbios_names[%d]=\"%s\"\n",