diff --git a/servers/slapd/back-ldbm/passwd.c b/servers/slapd/back-ldbm/passwd.c
index b5156b0de3fcba9850cec27f64b61a9e37e2734f..3c66a86b8d4ebe09e22cb3393108e0193f3607e2 100644
--- a/servers/slapd/back-ldbm/passwd.c
+++ b/servers/slapd/back-ldbm/passwd.c
@@ -88,7 +88,7 @@ ldbm_back_exop_passwd(
 
 	if( e == NULL ) {
 		*text = "could not locate authorization entry";
-		rc = LDAP_OPERATIONS_ERROR;
+		rc = LDAP_NO_SUCH_OBJECT;
 		goto done;
 	}