From: Kurt Zeilenga Date: Thu, 15 Mar 2001 03:03:01 +0000 (+0000) Subject: Normalized user DN X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1492 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=efaab64b699d94172e37a747ba22a97abd3203f4;p=openldap Normalized user DN --- diff --git a/servers/slapd/back-ldbm/passwd.c b/servers/slapd/back-ldbm/passwd.c index eb339f0149..8831a3d971 100644 --- a/servers/slapd/back-ldbm/passwd.c +++ b/servers/slapd/back-ldbm/passwd.c @@ -98,6 +98,12 @@ ldbm_back_exop_passwd( goto done; } + if( dn_normalize( dn ) == NULL ) { + *text = "Invalid DN"; + rc = LDAP_INVALID_DN; + goto done; + } + e = dn2entry_w( be, dn, NULL ); if( e == NULL ) {