- Timestamp:
- 10/20/08 16:13:37 (3 months ago)
- Location:
- trunk/client/mail
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
src/EBox/Mail/ImportFromLdif.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/mail/ChangeLog
r11514 r11522 1 1 0.12.100 2 + EBox::MailUserLdap::userAccount and EBox::MailUserLdap::getUserLdapValue dont longer assumme that the user exists 2 + EBox::MailUserLdap::userAccount and 3 EBox::MailUserLdap::getUserLdapValue dont longer assumme that the 4 user exists 5 + Bugfix: MDSize attribute should not be restored in sytems with 6 MDSize feature disabled 3 7 0.12.99 4 8 + Add support for reporting -
trunk/client/mail/src/EBox/Mail/ImportFromLdif.pm
r10988 r11522 68 68 69 69 my $mailMod = EBox::Global->modInstance('mail'); 70 $mailMod->mdQuotaAvailable() or 71 return; 72 73 70 74 my $mailUserLdap = $mailMod->_ldapModImplementation(); 71 75 $mailUserLdap->setMDSize($mdsize); … … 93 97 my $vdomainsLdap = EBox::MailVDomainsLdap->new(); 94 98 95 # we add it to LDAP because until we have changed users to use g gconfthings99 # we add it to LDAP because until we have changed users to use gconf, things 96 100 # may became inconsistent with mail accounts 97 101 $vdomainsLdap->addVDomain($vdomain); … … 125 129 my $vdomain = $entry->get_value('dc'); 126 130 131 132 133 # quota sutff 134 127 135 my $dftmdsize = $entry->get_value('vddftMaildirSize'); 128 136 129 $dftmdsize or return; 137 $dftmdsize or 138 return; 139 140 my $mailMod = EBox::Global->modInstance('mail'); 141 $mailMod->mdQuotaAvailable() or 142 return; 143 130 144 131 145 my $vdomainsLdap = EBox::MailVDomainsLdap->new(); 132 $vdomainsLdap->_addVDomainWi ithMdQuota($vdomain, $dftmdsize);146 $vdomainsLdap->_addVDomainWithMdQuota($vdomain, $dftmdsize); 133 147 } 134 148
