I am currently evaluating ZCS Network edition 4.5.5 on Centos 4.4. One of the requirements to the project was central user administration. I got the Zimbra LDAP and Zimbra Admin UI tweak up and running. I thought I was in the clear until some regression testing. My restores now fail with the following error and the account is deleted from LDAP during the restore process.


ZIMbra WebUI error:

Message: invalid request: createAccount invalid schema change: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'uidNumber']
Error code: service.INVALID_REQUEST
Method: ZmCsfeCommand.prototype.invoke
Details:soap:Sender


Zimbra log error:

2007-05-30 10:44:27,506 INFO [http-7071-Processor49] [ua=ZimbraWebClient - FF2.0 (Win)/undefined;ip=192.168.128.131;name=admin@mydomain.c om;] io - AsyncFileCopier is shut down
2007-05-30 10:44:27,507 INFO [http-7071-Processor49] [ua=ZimbraWebClient - FF2.0 (Win)/undefined;ip=192.168.128.131;name=admin@mydomain.c om;] SoapEngine - handler exception
com.zimbra.common.service.ServiceException: invalid request: createAccount invalid schema change: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'uidNumber']
at com.zimbra.common.service.ServiceException.INVALID _REQUEST(ServiceException.java:182)
at com.zimbra.cs.account.ldap.LdapProvisioning.create Subcontext(LdapProvisioning.java:2716)
at com.zimbra.cs.account.ldap.LdapProvisioning.create Account(LdapProvisioning.java:721)
at com.zimbra.cs.account.ldap.LdapProvisioning.create Account(LdapProvisioning.java:588)
at com.zimbra.cs.backup.FileBackupTarget$RestoreAcctS ession.loadAccount(FileBackupTarget.java:1762)
at com.zimbra.cs.backup.RestoreAccountSession.startRe store(RestoreAccountSession.java:133)
at com.zimbra.cs.backup.FileBackupTarget.restore(File BackupTarget.java:405)
at com.zimbra.cs.backup.BackupManager.restore(BackupM anager.java:444)
at com.zimbra.cs.service.backup.Restore.handle(Restor e.java:124)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:270)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:168)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:90)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:223)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:162)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:541)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - object class 'posixAccount' requires attribute 'uidNumber']; remaining name 'uid=administrator,ou=people,dc=sandbox,dc=percipe nz,dc=com'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.jav a:3016)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2931)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2737)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapC tx.java:770)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_cre ateSubcontext(ComponentDirContext.java:319)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.createSubcontext(PartialCompositeDirContext.java :248)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.createSubcontext(PartialCompositeDirContext.java :236)
at javax.naming.directory.InitialDirContext.createSub context(InitialDirContext.java:178)
at com.zimbra.cs.account.ldap.LdapProvisioning.create Subcontext(LdapProvisioning.java:2704)
... 29 more