From 9422775efd23d1f89379e7c1189265e9d27084d6 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 3 Nov 2002 12:54:12 +0000 Subject: Force algorithmic rid base to sane values and talk about it. Volker (This used to be commit ce5b2d991b42bbf6865ff75194f8ee4b46694841) --- source3/utils/testparm.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source3/utils/testparm.c') diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index c81d6e72e4..f2636fdafb 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -168,6 +168,14 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_ printf("'winbind separator = +' might cause problems with group membership.\n"); } + if (lp_algorithmic_rid_base() < 1000) { + printf("'algorithmic rid base' must be equal or above 1000.\n"); + } + + if (lp_algorithmic_rid_base() & 1) { + printf("'algorithmic rid base' must be even.\n"); + } + return ret; } -- cgit