]> git.sur5r.net Git - openldap/commitdiff
don't return the dummy empty string
authorPierangelo Masarati <ando@openldap.org>
Mon, 5 Dec 2005 22:41:25 +0000 (22:41 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 5 Dec 2005 22:41:25 +0000 (22:41 +0000)
servers/slapd/overlays/rwmdn.c

index 5cdf0522eed17a4c32847542a4ec89fa9c35018b..18c73ec4095f44c0a90a7c8eb6b94d5f145a88ea 100644 (file)
@@ -202,6 +202,10 @@ rwm_dn_massage(
                BER_BVZERO( &mdn );
        }
 
+       if ( dn->bv_val == dmy ) {
+               BER_BVZERO( dn );
+       }
+
        return rc;
 }