X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fsetup.c;h=e72c6d476ff6df4b9116dc60599ae2b06ad04d58;hb=7dd4c13ad3f294c87ceff8f09ded051fe3bd328f;hp=5a491dad8071d07c7ba85cb41d1e6be34db00e9a;hpb=24a8aa1ce7a59effb86023e5f08f869898232322;p=citadel.git diff --git a/citadel/setup.c b/citadel/setup.c index 5a491dad8..e72c6d476 100644 --- a/citadel/setup.c +++ b/citadel/setup.c @@ -144,7 +144,9 @@ char *setup_text[] = { "\n" " 1. Authenticate users against the host system (unix or linux accounts)\n" "\n" -" 2. Authenticate users against an external LDAP directory\n" +" 2. Authenticate users against an external LDAP directory (RFC 2307 compliant)\n" +"\n" +" 3. Authenticate users against nonstandard MS Active Directory LDAP\n" "\n" "WARNING: do *not* change this setting once your system is installed.\n" "\n" @@ -1309,7 +1311,9 @@ int main(int argc, char *argv[]) /* Go through a series of dialogs prompting for config info */ for (curr = 1; curr <= MAXSETUP; ++curr) { edit_value(curr); - if ((curr == 6) && (config.c_auth_mode != AUTHMODE_LDAP)) curr += 5; /* skip LDAP questions */ + if ((curr == 6) && (config.c_auth_mode != AUTHMODE_LDAP) && (config.c_auth_mode != AUTHMODE_LDAP_AD)) { + curr += 5; /* skip LDAP questions if we're not authenticating against LDAP */ + } } /***** begin version update section ***** */