summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3feb629)
raw | patch | inline | side by side (parent: 3feb629)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 20 Sep 2010 06:26:01 +0000 (06:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 20 Sep 2010 06:26:01 +0000 (06:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19762 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/devices/class_deviceGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc b/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc
index 381465fef6ccf28df2890845945ef39a3d900c77..09ab15d534c97b98af688f3abbf4a103ab3e04c2 100644 (file)
/* Check if entry already exists */
if($this->cn != $this->orig_cn || $this->dn == "new"){
$ldap = $this->config->get_ldap_link();
- $ldap->search("(&(objectClass=gotoDevice)(cn=".$this->cn."*))",array("cn"));
+ $ldap->search("(&(objectClass=gotoDevice)(cn=".$this->cn."))",array("cn"));
if($ldap->count()){
$message[]= msgPool::duplicated(_("Name"));
}