Bug 690345

Summary: yast2-mail does not add suse-mailserver schema to ldap
Product: [openSUSE] openSUSE 11.4 Reporter: Wolfgang Rosenauer <wolfgang>
Component: YaST2Assignee: Peter Varkoly <varkoly>
Status: VERIFIED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.4   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Wolfgang Rosenauer 2011-04-27 19:12:09 UTC
I've configured LDAP server and client with ldapconfig tree and tried to setup a mailserver (advanced).
After basic setup with yast2-mail I've added a user to LDAP using the YaST users module and enabled the mail config plugin for the user.
When the user was created I found that there is no cyrus mailbox and checked the y2logs:

2011-04-27 20:59:14 <2> oxlive(19039) [Perl] modules/UsersLDAP.pm(UsersLDAP::ConvertMap):1188 Attribute 'shadowInactive' is not allowed by schema.
2011-04-27 20:59:14 <3> oxlive(19039) [agent-ldap] LdapAgent.cc(Read):748 No such attributeType: 'suseMailAcceptAddress'
2011-04-27 20:59:14 <2> oxlive(19039) [Perl] modules/UsersLDAP.pm(UsersLDAP::ConvertMap):1188 Attribute 'suseMailAcceptAddress' is not allowed by schema.
2011-04-27 20:59:14 <3> oxlive(19039) [agent-ldap] LdapAgent.cc(Read):748 No such attributeType: 'suseImapQuota'
2011-04-27 20:59:14 <2> oxlive(19039) [Perl] modules/UsersLDAP.pm(UsersLDAP::ConvertMap):1188 Attribute 'suseImapQuota' is not allowed by schema.
2011-04-27 20:59:14 <2> oxlive(19039) [Perl] modules/UsersLDAP.pm(UsersLDAP::ConvertMap):1188 Attribute 'shadowMax' is not allowed by schema.
2011-04-27 20:59:14 <2> oxlive(19039) [Perl] modules/UsersLDAP.pm(UsersLDAP::ConvertMap):1188 Attribute 'shadowWarning' is not allowed by schema.
2011-04-27 20:59:14 <2> oxlive(19039) [Perl] modules/UsersLDAP.pm(UsersLDAP::ConvertMap):1188 Attribute 'shadowLastChange' is not allowed by schema.
2011-04-27 20:59:14 <2> oxlive(19039) [Perl] modules/UsersLDAP.pm(UsersLDAP::ConvertMap):1188 Attribute 'shadowMin' is not allowed by schema.

So I checked the LDAP server configuration and suse-mailserver.schema was not part of the configuration. After adding it using yast2-ldap-server and repeating the user creation the cyrus mailbox was available.
Comment 1 Peter Varkoly 2011-08-22 09:35:14 UTC
Fixed. The reason was changes in the communication between ldap-server and client.
Comment 2 Peter Varkoly 2011-08-22 09:39:56 UTC
*** Bug 690348 has been marked as a duplicate of this bug. ***