opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/ResetUserPasswordTask.java
@@ -197,9 +197,9 @@ // is what we use to clone connections and to launch scripts. // The environment will also be used if we want to reconnect. rebind(getInfo().getConnection()); if (getInfo().getUserDataDirContext() != null) if (getInfo().getUserDataConnection() != null) { rebind(getInfo().getUserDataDirContext()); rebind(getInfo().getUserDataConnection()); } } state = State.FINISHED_SUCCESSFULLY;