]> git.sur5r.net Git - openldap/commitdiff
import fix to way long standing bug in args parsing
authorPierangelo Masarati <ando@openldap.org>
Sat, 23 Sep 2006 12:33:42 +0000 (12:33 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 23 Sep 2006 12:33:42 +0000 (12:33 +0000)
CHANGES
libraries/librewrite/ldapmap.c

diff --git a/CHANGES b/CHANGES
index d29493ab97876ad3b7fc6da027e9d2df67c6f6fd..dd448def6932c121b385926c9fcecad53b195582 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,7 @@ OpenLDAP 2.3 Change Log
 
 OpenLDAP 2.3.28 Engineering
        Fixed libldap ldap.conf max line length (ITS#4669)
+       Fixed librewrite LDAP map parsing bug
        Added ldapsearch bad filter pattern check (ITS#4647)
        Fixed slapd-monitor locking with scope "subordinate" (ITS#4668)
        Fixed slapd global access controls initialization (ITS#4654)
index ab566306e6e3f65451f92b47ee40b90d0f2707dc..134d1ab1360ae417012d5289c044f2eac4120183 100644 (file)
@@ -155,7 +155,7 @@ map_ldap_parse(
                                data->lm_binddn[ l ] = '\0';
                        }
                } else if ( strncasecmp( argv[ 0 ], "bindpw=", 7 ) == 0 ) {
-                       data->lm_bindpw = strdup( argv[ 2 ] + 7 );
+                       data->lm_bindpw = strdup( argv[ 0 ] + 7 );
                        if ( data->lm_bindpw == NULL ) {
                                map_ldap_free( data );
                                return NULL;