summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 440d89f)
raw | patch | inline | side by side (parent: 440d89f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 May 2007 12:07:41 +0000 (12:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 May 2007 12:07:41 +0000 (12:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6227 594d385d-05f5-0310-b6e9-bd551577e9d8
setup/class_setupStep_Migrate.inc | patch | blob | history | |
setup/setup_migrate.tpl | patch | blob | history |
index 7d45651766a903c7a4d56463ab61b5bd600cda05..fb7861a1e3b8efff0421829b7e78fe950026ac99 100644 (file)
$ldap->cd ($dn);
$ldap->create_missing_trees($dn);
$res = $ldap->add($testEntry);
- if(!$res){
+ $ldap->cat($dn);
+ if(!$ldap->count()){
gosa_log($ldap->get_error());
$this->checks['permissions']['STATUS'] = FALSE;
$this->checks['permissions']['STATUS_MSG']= _("Failed");
/* Try to remove created entry
*/
$res = $ldap->rmDir($dn);
- if(!$res){
+ $ldap->cat($dn);
+ if($ldap->count()){
gosa_log($ldap->get_error());
$this->checks['permissions']['STATUS'] = FALSE;
$this->checks['permissions']['STATUS_MSG']= _("Failed");
index cbf5a8ee06d1cf2d310cd5802418f91a8f70eea8..51139288abcc459b0ab22de77dfee1631af3ae6c 100644 (file)
--- a/setup/setup_migrate.tpl
+++ b/setup/setup_migrate.tpl
<input type='submit' name='outside_groups_dialog_cancel' value='{t}Close{/t}'>
</div>
-
- {elseif $method == "create_acls"}
{elseif $method == "outside_users"}
<h2>{t}Move users into valid user departments{/t}</h2>