diff --git a/include/class_ldap.inc b/include/class_ldap.inc
index 84eb21c1d2216aa455a1c9338a95cd44ee76dd28..e6ed318e2f624375433b702a3c15cf42e20e6361 100644 (file)
--- a/include/class_ldap.inc
+++ b/include/class_ldap.inc
$this->reconnect= true;
return (0);
} else {
- $this->error = "Could not bind to " . $binddn;
+ $this->error = "Could not bind to " . $credentials['ADMIN'];
return NULL;
}
}
break;
default:
print_red(sprintf(_("Autocreation of type '%s' is currently not supported. Please report to the GOsa team."), $type));
+ echo $_SESSION['errors'];
exit;
}
$this->cd($cdn);
/* Reset index */
$i = 1 ;
-
+ $identifier = array();
$attribute= @ldap_first_attribute($this->cid,$entry,$identifier);
while ($attribute) {
$i++;