summaryrefslogtreecommitdiff
path: root/source/utils/testparm.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2002-04-14 12:20:10 +0000
committerVolker Lendecke <vlendec@samba.org>2002-04-14 12:20:10 +0000
commit8ecfed59a3905c25a708172bf39511a0b7637776 (patch)
tree0f7d3c234d0ab6db3fbae1f46f431c92efc27aa2 /source/utils/testparm.c
parent97eb3a121d33200ee7559b2413d6252efc04ebaf (diff)
downloadsamba-8ecfed59a3905c25a708172bf39511a0b7637776.tar.gz
3 branches might become a pain... :-)
Volker
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;
}