]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldap/extended.c
address ITS#4332; might remove dynamicObject counting
[openldap] / servers / slapd / back-ldap / extended.c
index 398e09555cbc7dd8e20716032344cbfb1bcd4486..de7a1c7ad132e92de4d39d94bb93de6fda5bb0f5 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2003-2005 The OpenLDAP Foundation.
+ * Copyright 2003-2006 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -153,12 +153,20 @@ retry:
                                rs->sr_text = NULL;
                        }
 #endif /* LDAP_NULL_IS_NULL */
+
                        if ( rc == LDAP_SUCCESS ) {
                                if ( rs->sr_err == LDAP_SUCCESS ) {
                                        struct berval   newpw;
-                                       
+
+                                       /* this never happens because 
+                                        * the frontend is generating 
+                                        * the new password, so when
+                                        * the passwd exop is proxied,
+                                        * it never delegates password
+                                        * generation to the remote server
+                                        */
                                        rc = ldap_parse_passwd( lc->lc_ld, res,
-                                                       &newpw);
+                                                       &newpw );
                                        if ( rc == LDAP_SUCCESS &&
                                                        !BER_BVISNULL( &newpw ) )
                                        {