From: Kurt Zeilenga Date: Sun, 27 Aug 2000 17:53:01 +0000 (+0000) Subject: Fix alias deref success v. NoSuchObject bug X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2165 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=08b52f80bb6ad64c9f2aaead578ad14a65e3c015;p=openldap Fix alias deref success v. NoSuchObject bug --- diff --git a/servers/slapd/back-ldbm/alias.c b/servers/slapd/back-ldbm/alias.c index d37dfeb3ab..bab9105a8e 100644 --- a/servers/slapd/back-ldbm/alias.c +++ b/servers/slapd/back-ldbm/alias.c @@ -47,7 +47,7 @@ Entry *deref_internal_r( || ( alias == NULL && dn_in != NULL ) ); *matched = NULL; - *err = LDAP_SUCCESS; + *err = LDAP_NO_SUCH_OBJECT; *text = NULL; if( alias == NULL ) {