From 07f566e7122d8669a21c6a293904c39bc8e1ca5a Mon Sep 17 00:00:00 2001 From: Will Ballantyne Date: Wed, 27 Jan 1999 04:58:02 +0000 Subject: [PATCH] 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. --- servers/slapd/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5