summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ce2a66c)
raw | patch | inline | side by side (parent: ce2a66c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Mar 2007 13:17:37 +0000 (13:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Mar 2007 13:17:37 +0000 (13:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5790 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/generic/class_user.inc | patch | blob | history |
index 7cdd417f34dbfb2bc6c39c6700b0e9f84528c7b9..cf43e10daccf94ffb76b85101496bac2a8138c2b 100644 (file)
$this->new_dn= 'uid='.$this->uid.','.get_people_ou().$this->base;
} else {
/* Don't touch dn, if cn hasn't changed */
- if (isset($this->saved_attributes['cn']) && $this->saved_attributes['cn'] == $this->cn){
+ if (isset($this->saved_attributes['cn']) && $this->saved_attributes['cn'] == $this->cn
+ && (isset($this->saved_attributes['base']) && $this->saved_attributes['base'] == $this->base )
+ ){
$this->new_dn= $this->dn;
} else {
$this->new_dn= $this->create_unique_dn('cn', get_people_ou().$this->base);