summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3611efd)
raw | patch | inline | side by side (parent: 3611efd)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Jun 2009 09:51:15 +0000 (09:51 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Jun 2009 09:51:15 +0000 (09:51 +0000) |
(Trac: #500)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13728 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13728 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc b/trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc
index 3de43eddca3517a07bb0673d49aaf090ef75f9d1..4e4f7238eb9cba5e0661d909468ec1225af1571a 100644 (file)
$tmp = split("\|",$entry);
if($tmp[0] == $this->name && $test['cn'][0] == $this_cn){
/* The selected share name is identical to another share name. Furthermore, that other share is
- on a server with the same name. Reject this.
- $message[]= sprintf(_("The share '%s' on another server '%s' already exists."), $this->name, $this_cn);
+ on a server with the same name. Reject this unless the other server is in a different
+ adminstrative domain. */
+ if (!isset($test['gosaUnitTag']) || $test['gosaUnitTag'][0] == $this->gosaUnitTag){
+ $message[]= sprintf(_("The share '%s' on another server '%s' already exists."), $this->name, $this_cn);
+ }
}
}
}