From 08b52f80bb6ad64c9f2aaead578ad14a65e3c015 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 27 Aug 2000 17:53:01 +0000 Subject: [PATCH] Fix alias deref success v. NoSuchObject bug --- servers/slapd/back-ldbm/alias.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5