diff --git a/servers/slapd/back-ldbm/passwd.c b/servers/slapd/back-ldbm/passwd.c
index 226914bac673ad4b95440888c8063e11f47e581b..00ef475a1c9cfe827a2326011da6cba579505551 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;
 	}