summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d816ff6)
raw | patch | inline | side by side (parent: d816ff6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Jun 2009 13:17:05 +0000 (13:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Jun 2009 13:17:05 +0000 (13:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13776 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/ogroups/class_ogroup.inc | patch | blob | history | |
gosa-core/plugins/admin/ogroups/tabs_ogroups.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/gosa-core/plugins/admin/ogroups/class_ogroup.inc
index 45faac81fe78d25482a7d6ed49eb992db4cd95b5..991937afa05d319245796a9047aa368ded4ff50d 100644 (file)
}
$ldap = $this->config->get_ldap_link();
- if($this->dn != $new_dn){
+ if(LDAP::fix($this->dn) != LDAP::fix($new_dn)){
$ldap->cat ($new_dn, array('dn'));
}
diff --git a/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc b/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc
index a5cbaf79fd15acdd56e34349e66234ee3b6facdc..f70d3c374fcf0b0ca175f1c6f5053efd117fa430 100644 (file)
$new_dn= 'cn='.$baseobject->cn.','.get_ou('ogroupRDN').$baseobject->base;
/* Move group? */
- if ($this->dn != $new_dn){
+ if (LDAP::fix($this->dn) != LDAP::fix($new_dn)){
/* Write entry on new 'dn' */
if ($this->dn != "new"){