summaryrefslogtreecommitdiff
path: root/source/utils/testparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/utils/testparm.c')
-rw-r--r--source/utils/testparm.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/utils/testparm.c b/source/utils/testparm.c
index defde6cb2c2..c6e417a2bc3 100644
--- a/source/utils/testparm.c
+++ b/source/utils/testparm.c
@@ -152,6 +152,15 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_
}
}
+ if (strlen(lp_winbind_separator()) != 1) {
+ printf("ERROR: the 'winbind separator' parameter must be a single character.\n");
+ ret = 1;
+ }
+
+ if (*lp_winbind_separator() == '+') {
+ printf("'winbind separator = +' might cause problems with group membership.\n");
+ }
+
return ret;
}