From: Will Ballantyne Date: Wed, 27 Jan 1999 04:58:02 +0000 (+0000) Subject: fix suffix alias compare in config.c, logic was reversed. The suffix alias X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~691 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=07f566e7122d8669a21c6a293904c39bc8e1ca5a;p=openldap fix suffix alias compare in config.c, logic was reversed. The suffix alias is now ignored if it is the same as the real suffix. --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index ce5ddcdfb6..6dcaae3d42 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -189,7 +189,7 @@ read_config( char *fname, Backend **bep, FILE *pfp ) (void) dn_normalize( aliased_dn ); - if ( strcasecmp( alias, aliased_dn) ) { + if ( strcasecmp( alias, aliased_dn) == 0 ) { Debug( LDAP_DEBUG_ANY, "%s: line %d: suffixAlias %s is not different from aliased dn (ignored)\n", fname, lineno, alias );