Hi,

I am looking for advice regarding issues I am having deploying zimbra_posixaccount.zip and zimbra_samba.zip after following the guide 'Zimbra Integration with Samba - Ubuntu Based'.

I am running ZCS 5.0.18 on Ubuntu 8.04 LTS.

The extensions deploy successfully although when I refresh my browser I receive the following error:

Warning! Failed to create ou=groups,dc=kippers-place,dc=co.uk for Samba groups!

I have seen other forum users have similar problems to this whereby they have included the hostname in the config template. I have tried with and without hostname and receive the same error each time.

I am wondering if the issue is to do with my domain name containing - or being .co.uk?

My zimbra_posixaccount config_template.xml is as follows:



/bin/bash,/bin/sh,/bin/false
/home/%u
10000
10000
dc=kippers-place,dc=co.uk
ou=groups



samba_posixaccount config_template as follows:





10000
10000
1000
dc=kippers-place,dc=co.uk
ou=groups
ou=machines



The .zip files are deployed from the desktop using Zimbra Admin.

The domain kippers-place.co.uk is shown under domains in Zimbra Admin.

Any help is thoroughly appreciated, I am new to Linux and pulling my hair out


The mailbox.log is as follows:

2009-08-26 11:11:13,660 INFO [btpool0-0] [ip=192.168.1.2;ua=Mozilla/5.0 (X11;; U;; Linux i686;; en-US;; rv:1.9.0.13) Gecko/2009080316 Ubuntu/8.04 (hardy) Firefox/3.0.13;] mailbox - FileUploadServlet received Upload: { accountId=4e4f1a3e-469b-44fe-a12f-4e2e0713636e, time=Wed Aug 26 11:11:13 GMT 2009, uploadId=84dbdb94-0437-4c2c-84b9-65034f5ff230:12583604-0b96-467f-b2ba-fc29a0fd6ea6, zimbra_posixaccount.zip}
2009-08-26 11:11:13,980 INFO [btpool0-0] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - DeployZimletRequest
2009-08-26 11:11:14,104 INFO [Thread-98] [] zimlet - Deploying Zimlet zimbra_posixaccount in LDAP.
2009-08-26 11:11:14,776 INFO [Thread-98] [] zimlet - Installing Zimlet zimbra_posixaccount on this host.
2009-08-26 11:11:14,790 INFO [btpool0-0] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - DeployZimletRequest
2009-08-26 11:11:14,976 INFO [Thread-98] [] zimlet - Installing Zimlet config for zimbra_posixaccount
2009-08-26 11:11:15,081 INFO [Thread-98] [] zimlet - Enabling Zimlet zimbra_posixaccount
2009-08-26 11:11:15,243 INFO [Thread-98] [] zimlet - Skipping on zimbra.kippers-place.co.uk
2009-08-26 11:11:15,270 INFO [btpool0-0] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - DeployZimletRequest
2009-08-26 11:11:15,284 INFO [btpool0-0] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - GetAllZimletsRequest
2009-08-26 11:11:30,141 INFO [btpool0-0] [ip=192.168.1.2;ua=Mozilla/5.0 (X11;; U;; Linux i686;; en-US;; rv:1.9.0.13) Gecko/2009080316 Ubuntu/8.04 (hardy) Firefox/3.0.13;] mailbox - FileUploadServlet received Upload: { accountId=4e4f1a3e-469b-44fe-a12f-4e2e0713636e, time=Wed Aug 26 11:11:30 GMT 2009, uploadId=84dbdb94-0437-4c2c-84b9-65034f5ff230:35dd0c0c-9cca-4279-a0ed-4baf67ab3dec, zimbra_samba.zip}
2009-08-26 11:11:30,498 INFO [btpool0-0] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - DeployZimletRequest
2009-08-26 11:11:30,613 INFO [Thread-111] [] zimlet - Deploying Zimlet zimbra_samba in LDAP.
2009-08-26 11:11:30,820 INFO [Thread-111] [] zimlet - Installing Zimlet zimbra_samba on this host.
2009-08-26 11:11:31,083 INFO [Thread-111] [] zimlet - Installing Zimlet config for zimbra_samba
2009-08-26 11:11:31,177 INFO [btpool0-0] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - DeployZimletRequest
2009-08-26 11:11:31,200 INFO [Thread-111] [] zimlet - Enabling Zimlet zimbra_samba
2009-08-26 11:11:31,333 INFO [Thread-111] [] zimlet - Skipping on zimbra.kippers-place.co.uk
2009-08-26 11:11:31,670 INFO [btpool0-0] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - DeployZimletRequest
2009-08-26 11:11:31,685 INFO [btpool0-0] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - GetAllZimletsRequest
2009-08-26 11:12:09,258 INFO [btpool0-1] [ip=192.168.1.2;ua=ZimbraWebClient - FF3.0 (Linux);] soap - BatchRequest
2009-08-26 11:12:09,258 INFO [btpool0-1] [ip=192.168.1.2;ua=ZimbraWebClient - FF3.0 (Linux);] soap - (batch) GetVersionInfoRequest
2009-08-26 11:12:09,310 INFO [btpool0-1] [ip=192.168.1.2;ua=ZimbraWebClient - FF3.0 (Linux);] soap - GetDomainInfoRequest
2009-08-26 11:12:09,433 INFO [btpool0-1] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - GetInfoRequest
2009-08-26 11:12:10,766 INFO [btpool0-3] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - GetAdminExtensionZimletsRequest
2009-08-26 11:12:10,845 INFO [btpool0-1] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - GetLDAPEntriesRequest
2009-08-26 11:12:10,941 WARN [btpool0-1] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] extensions - unable to list all objects
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'dc=kippers-place,dc=co.uk'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.jav a:3042)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2963)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2769)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1 822)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:17 45)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_sea rch(ComponentDirContext.java:368)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.search(PartialCompositeDirContext.java:338)
at javax.naming.directory.InitialDirContext.search(In itialDirContext.java:257)
at com.zimbra.cs.account.ldap.ZimbraLdapContext.searc hDir(ZimbraLdapContext.java:573)
at com.zimbra.ldaputils.GetLDAPEntries.searchObjects( GetLDAPEntries.java:188)
at com.zimbra.ldaputils.GetLDAPEntries.searchObjects( GetLDAPEntries.java:138)
at com.zimbra.ldaputils.GetLDAPEntries.handle(GetLDAP Entries.java:87)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:429)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:286)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:160)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:275)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1093)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:129)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:360)

at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:716)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:406)
at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:211)
at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:139)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:350)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:442)
2009-08-26 11:12:10,954 INFO [btpool0-1] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - CreateLDAPEntryRequest
2009-08-26 11:12:11,024 INFO [btpool0-1] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] SoapEngine - handler exception
com.zimbra.common.service.ServiceException: invalid request: createLDAPEntry dn not found: dc=kippers-place,dc=co.uk[LDAP: error code 32 - No Such Object]
ExceptionId:btpool0-1:1251285131021:877324b5810c749a
Code:service.INVALID_REQUEST
at com.zimbra.common.service.ServiceException.INVALID _REQUEST(ServiceException.java:260)
at com.zimbra.cs.account.ldap.ZimbraLdapContext.creat eEntry(ZimbraLdapContext.java:588)
at com.zimbra.ldaputils.CreateLDAPEntry.createLDAPEnt ry(CreateLDAPEntry.java:86)

at com.zimbra.ldaputils.CreateLDAPEntry.handle(Create LDAPEntry.java:62)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:429)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:286)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:160)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:275)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1093)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:129)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:716)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:406)
at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:211)
at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:139)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:350)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:644)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:442)
Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=groups,dc=kippers-place,dc=co.uk'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.jav a:3042)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2963)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2769)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapC tx.java:784)
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 javax.naming.directory.InitialDirContext.createSub context(InitialDirContext.java:183)
at com.zimbra.cs.account.ldap.ZimbraLdapContext.creat eEntry(ZimbraLdapContext.java:584)
... 32 more
2009-08-26 11:12:14,885 INFO [btpool0-1] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - GetAdminExtensionZimletsRequest
2009-08-26 11:12:15,046 INFO [btpool0-3] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] soap - GetLDAPEntriesRequest
2009-08-26 11:12:15,102 WARN [btpool0-3] [name=admin@kippers-place.co.uk;mid=2;ip=192.168.1.2;ua=ZimbraWebClien t - FF3.0 (Linux);] extensions - unable to list all objects