summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e55208)
raw | patch | inline | side by side (parent: 3e55208)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 5 May 2006 04:45:39 +0000 (04:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 5 May 2006 04:45:39 +0000 (04:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3202 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servRepositorySetup.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_servRepositorySetup.inc b/plugins/admin/systems/class_servRepositorySetup.inc
index b4a9d686f898a9ad348865c37a8530352a8cec13..24f1c92bd483a512ecdea67ecfe360e30c02a313 100644 (file)
/* attribute list for save action */
var $ignore_account = TRUE;
- var $attributes = array("Release","ParentServer","Url");
+ var $attributes = array("Release","ParentServer","Url","cn");
var $objectclasses = array("whatever");
/* Attributes */
- var $Release ="";
- var $ParentServer ="";
- var $Url ="";
- var $Sections =array();
- var $ParentServers ="";
- var $initialy_was=false;
+ var $Release = "";
+ var $ParentServer = "";
+ var $Url = "";
+ var $Sections = array();
+ var $ParentServers = "";
+ var $initialy_was = false;
+ var $cn = "";
function servRepositorySetup ($config, $dn= NULL,$data = false)
{
$ldap->cd($this->config->current['BASE']);
$ldap->search("(objectClass=FAIrepositoryServer)",array("*"));
while($attr = $ldap->fetch()){
+ if($attr['cn'][0] == $this->cn) continue;
$ret[$attr['cn'][0]]= $attr['cn'][0];
}