summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e2c14e4)
raw | patch | inline | side by side (parent: e2c14e4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 28 Mar 2006 06:33:33 +0000 (06:33 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 28 Mar 2006 06:33:33 +0000 (06:33 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2914 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_workstationStartup.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc
index 30b16fd1a31b76b98f8cdc7738f12774729c09a5..9cf0ad9f9cfcc35da4a808b1c1d082390c68f0bb 100644 (file)
*/
$ldap = $this->config->get_ldap_link();
$ldap->cd($this->config->current['BASE']);
- $ldap->search("(objectClass=FAIrepositoryServer)",array("FAIrepository"));
+ $ldap->search("(&(FAIrepository=*)(objectClass=FAIrepositoryServer))",array("FAIrepository"));
/* attach all attributes with "index => cn" to avoid multiple entries */
$ret = array();
$url = $tmp[0];
$test[$url]['RELEASE'][$release]['SECTIONS'] = $sections;
+
+ /* Result will be cached
+ */
$test[$url]['RELEASE'][$release]['PACKAGES'] = $this->getAvailablePakagesForThisRelease($release);
$test[$url]['SERVER'] = $server;
/* Search all FAI objects */
$ldap->search("(| (objectClass=FAIpackageList)(objectClass=FAItemplate)
(objectClass=FAIvariable)(objectClass=FAIscript)(objectClass=FAIhook)(objectClass=FAIprofile)
- (objectClass=FAIpartitionTable))",array("*"),true);
+ (objectClass=FAIpartitionTable))",array("cn","objectClass","FAIdebianSection"),true);
/* Sort all entries, and attach elementtype.
* To be able to show the types in the listbox.
*/
while($attr = $ldap->fetch()){
$cn = $attr['cn'][0];
- $tmp2[$cn]['REST'] = $attr;
+// $tmp2[$cn]['REST'] = $attr;
if(in_array('FAIpackageList',$attr['objectClass'])){
$tmp2[$cn]['FAIpackageList']['obj'] = 'FAIpackageList';
$tmp2[$cn]['FAIpackageList']['kzl'] = 'Pl';
*/
$ldap->search("(| (objectClass=FAIpackageList)(objectClass=FAItemplate)
(objectClass=FAIvariable)(objectClass=FAIscript)(objectClass=FAIhook)(objectClass=FAIprofile)
- (objectClass=FAIpartitionTable))",array("*"),true);
+ (objectClass=FAIpartitionTable))",array("cn"),true);
/* Sort all entries, and attach elementtype.
* To be able to show the types in the listbox.
*/