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.
This commit is contained in:
Will Ballantyne 1999-01-27 04:58:02 +00:00
parent bd6dfe333d
commit 07f566e712

View file

@ -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 );