summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0257eee)
raw | patch | inline | side by side (parent: 0257eee)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Jul 2005 14:12:12 +0000 (14:12 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Jul 2005 14:12:12 +0000 (14:12 +0000) |
plugins/personal/generic/class_user.inc | patch | blob | history |
index 4ae819f7323a5773560dac0a1238b386bd097ceb..1df10314ce0c58cc2bcc127c9b44f9d9f739c423 100644 (file)
/* get password storage type */
if (isset ($this->attrs['userPassword'][0])){
+ /* Initialize local array */
+ $matches= array();
if (preg_match ("/^{([^}]+)}(.+)/", $this->attrs['userPassword'][0], $matches)){
$this->pw_storage= strtolower($matches[1]);
} else {
$this->reconnect= true;
return (0);
} else {
- $this->error = "Could not bind to " . $binddn;
+ $this->error = "Could not bind to " . $credentials['ADMIN'];
return NULL;
}
}