summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 119cedb)
raw | patch | inline | side by side (parent: 119cedb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 16 Jul 2008 08:29:05 +0000 (08:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 16 Jul 2008 08:29:05 +0000 (08:29 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11674 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_config.inc | patch | blob | history |
index 1b7dc1e648f9a0e537e982cf59740d1b758a3bc6..80d51ebc717c2f8496b6008c9b698f72772fd7d8 100644 (file)
if ($this->current['MAILMETHOD'] == ""){
$ldap->search ("(objectClass=goMailServer)", array('cn'));
$this->data['SERVERS']['IMAP']= array();
- error_reporting(0);
while ($attrs= $ldap->fetch()){
$name= $attrs['cn'][0];
- $this->data['SERVERS']['IMAP'][$name]= $name;
+ $this->data['SERVERS']['IMAP'][$name]=
+ array(
+ "server_dn" => $attrs['dn'],
+ "connect" => "",
+ "admin" => "",
+ "password" => "",
+ "sieve_server"=> "",
+ "sieve_option"=> "",
+ "sieve_port" => "");
}
- error_reporting(E_ALL);
} else {
$ldap->search ("(&(objectClass=goImapServer)(goImapSieveServer=*))",
array('goImapName', 'goImapConnect', 'goImapAdmin', 'goImapPassword',
foreach($res as $entry){
- $acl = $ui->get_permissions($entry['dn'],"server/goShareServer","");
+ $acl = $ui->get_permissions($entry['dn'],"server","");
if(isset($entry['goExportEntry']['count'])){
unset($entry['goExportEntry']['count']);
}