From fd12670ce653548dbfcac3e49a3a1355ad255182 Mon Sep 17 00:00:00 2001
From: Kurt Zeilenga <kurt@openldap.org>
Date: Thu, 22 Mar 2001 23:49:47 +0000
Subject: [PATCH] Import fix for typo

---
 servers/slapd/back-ldbm/passwd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/servers/slapd/back-ldbm/passwd.c b/servers/slapd/back-ldbm/passwd.c
index 226914bac6..00ef475a1c 100644
--- a/servers/slapd/back-ldbm/passwd.c
+++ b/servers/slapd/back-ldbm/passwd.c
@@ -1,4 +1,4 @@
-/* extended.c - ldbm backend extended routines */
+/* passwd.c - ldbm backend password routines */
 /* $OpenLDAP$ */
 /*
  * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
@@ -86,7 +86,7 @@ ldbm_back_exop_passwd(
 
 	if( dn_normalize( dn ) == NULL ) {
 		*text = "Invalid DN";
-		rc = LDAP_INVALID_DN;
+		rc = LDAP_INVALID_DN_SYNTAX;
 		goto done;
 	}
 
-- 
GitLab