Results 1 to 4 of 4

Thread: samba ldap on zcs 7.0.0: domains are not created

  1. #1
    Join Date
    Sep 2010
    Posts
    113
    Rep Power
    5

    Default samba ldap on zcs 7.0.0: domains are not created

    Hi all,

    I'm trying to get samba to use zimbra's ldap password backend and followed Greg's nice howto for version 6..and simply assumed it should work for version 7 too.
    I got quite far but the domains are not showing up in the samba zimlet.
    I didn't try to add them manually yet since I think they should show up.
    I followed this 'workaround' and left out dc=mail in the line "ldap suffix = dc=mail,dc=domain,dc=com" in smb.conf,
    (the remainder of the conf file is the same as in the howto, only added "ldap ssl = no").

    I tried leaving out the mail part in the two zimlets, samba and posixaccount but still no luck: when logging in the admin GUI I get 3 messages saying
    Code:
    Warning! Failed to create ou=groups, dc=mail,dc=domain,dc=com for Posix groups!
    (same for samba and machines).

    more details:
    FQDN of the zimbra server: mail.domain.com. It is the pdc.
    Although not recommended by the howto, it is acting as the samba server too.

    many thanks in advance.
    Last edited by rosch; 02-19-2011 at 07:06 PM. Reason: added details about fqdn
    --
    cheers

  2. #2
    Join Date
    Sep 2010
    Posts
    113
    Rep Power
    5

    Default anybody?

    Formulated differently:
    My zimbra server is called mail.mydomain.com.

    Do I have to setup zimbra ldap and the two samba and posixaccount zimlets with dc=mail,dc=domain,dc=com or only dc=domain,dc=com ?

    many thanks in advance,
    --
    cheers

  3. #3
    Join Date
    Sep 2010
    Posts
    113
    Rep Power
    5

    Default

    I dare say version 7 is still too new and there are not yet enough testers having switched.
    I'll try to make it work myself then..
    --
    cheers

  4. #4
    Join Date
    Sep 2010
    Posts
    113
    Rep Power
    5

    Default exceptions found!

    I found some more information about the 3 ldap entries that are not created by the posix and samba administration zimlets:

    Code:
    2011-02-27 16:53:43,807 INFO  [btpool0-8://myserver:7071/service/admin/soap/GetLDAPEntriesRequest] [name=admin@mydomain.org;mid=1;ip=192.168.1.34;ua=ZimbraWebClient - FF3.0 (Linux);
    ] soap - GetLDAPEntriesRequest
    2011-02-27 16:53:43,859 WARN  [btpool0-8://myserver:7071/service/admin/soap/GetLDAPEntriesRequest] [name=admin@mydomain.org;mid=1;ip=192.168.1.34;ua=ZimbraWebClient - FF3.0 (Linux);
    ] extensions - unable to list all objects
    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'dc=ubuntu,dc=mydomain,dc=org'
    	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3066)
    	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
    	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
    	at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1826)
    	at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1749)
    	at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
    	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
    	at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:257)
    	at com.zimbra.cs.account.ldap.ZimbraLdapContext.searchDir(ZimbraLdapContext.java:691)
    	at com.zimbra.ldaputils.GetLDAPEntries.searchObjects(GetLDAPEntries.java:186)
    	at com.zimbra.ldaputils.GetLDAPEntries.searchObjects(GetLDAPEntries.java:136)
    	at com.zimbra.ldaputils.GetLDAPEntries.handle(GetLDAPEntries.java:85)
    	at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:401)
    	at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:276)
    	at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:157)
    	at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:294)
    	at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:215)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    	at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:208)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
    	at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:79)
    	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    	at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
    	at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)
    	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
    	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:218)
    	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:422)
    	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    	at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
    	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    	at org.mortbay.jetty.handler.DebugHandler.handle(DebugHandler.java:77)
    	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    	at org.mortbay.jetty.Server.handle(Server.java:326)
    	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:543)
    	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:946)
    	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
    	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
    	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
    	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
    	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
    2011-02-27 16:53:43,886 INFO  [btpool0-8://myserver:7071/service/admin/soap/CreateLDAPEntryRequest] [name=admin@mydomain.org;mid=1;ip=192.168.1.34;ua=ZimbraWebClient - FF3.0 (Linux)
    ;] soap - CreateLDAPEntryRequest
    2011-02-27 16:53:43,931 INFO  [btpool0-8://myserver:7071/service/admin/soap/CreateLDAPEntryRequest] [name=admin@mydomain.org;mid=1;ip=192.168.1.34;ua=ZimbraWebClient - FF3.0 (Linux)
    ;] SoapEngine - handler exception
    The cause seems to be:
    Code:
    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object];
    A bigger log is attached.

    Does anybody know how I could add the groups manually?
    Attached Files Attached Files
    --
    cheers

Similar Threads

  1. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 05:52 AM
  2. Replies: 1
    Last Post: 01-23-2008, 01:25 PM
  3. Zimbra + Samba LDAP, cannot add winxp
    By fajarpri in forum Installation
    Replies: 4
    Last Post: 07-08-2007, 12:45 PM
  4. Zimbra + Samba LDAP auth problems
    By fajarpri in forum Installation
    Replies: 3
    Last Post: 07-05-2007, 12:39 AM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 04:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •