From: Art Cancro Date: Sun, 12 Nov 2006 04:33:07 +0000 (+0000) Subject: Warn the site administrator when they attempt to X-Git-Tag: v7.86~3851 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=2b7406ea4d8a83d06c5f3f9d251bd7e0c83b206a Warn the site administrator when they attempt to configure Directory services on a Citadel site that was built without LDAP support. --- diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index a9ccf1188..64873fd48 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -88,8 +88,12 @@ void display_siteconfig(void) sprintf(directory, "

%s

%s

", _("Configure the LDAP connector for Citadel"), - _("Changes made on this screen will not take effect " - "until you restart the Citadel server.") + (serv_info.serv_supports_ldap + ? _("Changes made on this screen will not take effect " + "until you restart the Citadel server.") + : _("NOTE: This Citadel server has been built without " + "LDAP support. These options will have no effect.") + ) ); sprintf(purger, "

%s

%s

",