fix in the ldap user import

This commit is contained in:
SJ 2012-08-16 14:30:44 +02:00
parent f6fc3b28d2
commit a44018e89e

View File

@ -25,10 +25,10 @@ class ModelUserImport extends Model {
LOGGER("LDAP type: " . $host['type']);
if($host['type'] == "AD") {
$attrs = array("cn", "proxyaddresses", "member");
$attrs = array("cn", "proxyaddresses", "member", "mail");
$mailAttr = "proxyaddresses";
$mailAttrs = array("proxyaddresses");
$mailAttrs = array("mail", "proxyaddresses");
$memberAttrs = array("member");
}
@ -238,7 +238,7 @@ class ModelUserImport extends Model {
foreach ($query->rows as $deleted) {
$deleteduser++;
$this->model_user_user->deleteUser($deleted['uid']);
$this->model_user_user->delete_user($deleted['uid']);
}
}