s3-param Remove special case for global_myname(), rename to lp_netbios_name()
[bbaumbach/samba-autobuild/.git] / source3 / utils / testparm.c
index 870ba2760240336b63a082df1abf2b387aefd942..721034dedff7ec642a685351bf7f4aae2b82fa52 100644 (file)
@@ -77,7 +77,7 @@ cannot be set in the smb.conf file. nmbd will abort with this setting.\n");
                ret = 1;
        }
 
-       if (strequal(lp_workgroup(), global_myname())) {
+       if (strequal(lp_workgroup(), lp_netbios_name())) {
                fprintf(stderr, "WARNING: 'workgroup' and 'netbios name' " \
                        "must differ.\n");
                ret = 1;