diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/testparm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index 3204de27d4..73e173e209 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -77,6 +77,12 @@ cannot be set in the smb.conf file. nmbd will abort with this setting.\n"); ret = 1; } + if (strequal(lp_workgroup(), global_myname())) { + fprintf(stderr, "WARNING: 'workgroup' and 'netbios name' " \ + "must differ.\n"); + ret = 1; + } + if (!directory_exist_stat(lp_lockdir(), &st)) { fprintf(stderr, "ERROR: lock directory %s does not exist\n", lp_lockdir()); |