Results 1 to 2 of 2

Thread: Problems in integrating with Samba

  1. #1
    Join Date
    Feb 2009
    Lecco, Italy
    Rep Power

    Default Problems in integrating with Samba on 6.0


    I've a brand new install of 6.0.0 on Debian Etch.
    I need to have Samba on the same server, and I wish to have Samba users authenticate using Zimbra accounts.

    I've followed the PDC howto at
    UNIX and Windows Accounts in Zimbra LDAP and Zimbra Admin UI 6.0 - Zimbra :: Wiki
    step by step, but I'm having some problems. Just before step 4, the howto says to restart Samba and find the group created into Zimbra admin UI, but I won't find it.
    In log.smbd, the only relevant thing I found is:
    [2009/09/07 17:49:36,  5] auth/token_util.c:debug_nt_user_token(464)
      NT user token: (NULL)
    [2009/09/07 17:49:36,  5] auth/token_util.c:debug_unix_user_token(490)
      UNIX token of user 0
      Primary group is 0 and contains 0 supplementary groups
    [2009/09/07 17:49:36,  5] lib/smbldap.c:smbldap_search_ext(1207)
      smbldap_search_ext: base => [ou=groups,dc=mydomain,dc=it], filter => [(&(objectClass=sambaGroupMapping)(sambaSID=S-1-5-32-546))], scope => [2]
    [2009/09/07 17:49:36, 11] lib/smbldap.c:smbldap_open(1063)
      smbldap_open: already connected to the LDAP server
    [2009/09/07 17:49:36,  4] passdb/pdb_ldap.c:ldapsam_getgroup(2459)
      ldapsam_getgroup: Did not find group, filter was (&(objectClass=sambaGroupMapping)(sambaSID=S-1-5-32-546))
    [2009/09/07 17:49:36,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
      pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2009/09/07 17:49:36, 10] passdb/lookup_sid.c:legacy_sid_to_gid(1244)
      LEGACY: mapping failed for sid S-1-5-32-546
    [2009/09/07 17:49:36, 10] auth/auth_util.c:create_local_token(755)
      Could not convert SID S-1-5-32-546 to gid, ignoring it
    [2009/09/07 17:49:36, 10] auth/token_util.c:debug_nt_user_token(470)
      NT user token of user S-1-5-21-1829550384-2996532506-3102972351-501
      contains 5 SIDs
      SID[  0]: S-1-5-21-1829550384-2996532506-3102972351-501
      SID[  1]: S-1-22-2-65534
      SID[  2]: S-1-1-0
      SID[  3]: S-1-5-2
      SID[  4]: S-1-5-32-546
      SE_PRIV  0x0 0x0 0x0 0x0
    [2009/09/07 17:49:36,  3] printing/printing.c:start_background_queue(1397)
      start_background_queue: Starting background LPQ thread
    I'm stuck... Any idea?
    Last edited by maxxer; 09-07-2009 at 09:56 AM. Reason: added version to topic title
    YetOpen S.r.l. ~ Your open source partner
    Lecco (LC) - ITALY

  2. #2
    Join Date
    Feb 2009
    Lecco, Italy
    Rep Power


    if not enough, I had manually created the domain from Z web interface, but now I cannot delete it. When I try, I get the following error:
    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'sambaDomainName=mydomain'
            at com.sun.jndi.ldap.LdapCtx.mapErrorCode(
            at com.sun.jndi.ldap.LdapCtx.processReturnCode(
            at com.sun.jndi.ldap.LdapCtx.processReturnCode(
            at com.sun.jndi.ldap.LdapCtx.searchAux(
            at com.sun.jndi.ldap.LdapCtx.c_search(
            at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(
            at com.zimbra.cs.account.ldap.ZimbraLdapContext.searchDir(
            at com.zimbra.cs.account.ldap.ZimbraLdapContext.deleteChildren(
            at com.zimbra.ldaputils.DeleteLDAPEntry.handle(
            at com.zimbra.soap.SoapEngine.dispatchRequest(
            at com.zimbra.soap.SoapEngine.dispatch(
            at com.zimbra.soap.SoapEngine.dispatch(
            at com.zimbra.soap.SoapServlet.doWork(
            at com.zimbra.soap.SoapServlet.doPost(
            at javax.servlet.http.HttpServlet.service(
            at com.zimbra.cs.servlet.ZimbraServlet.service(
            at javax.servlet.http.HttpServlet.service(
            at org.mortbay.jetty.servlet.ServletHolder.handle(
            at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
            at org.mortbay.servlet.UserAgentFilter.doFilter(
            at org.mortbay.servlet.GzipFilter.doFilter(
            at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
            at org.mortbay.jetty.servlet.ServletHandler.handle(
            at org.mortbay.jetty.servlet.SessionHandler.handle(
            at org.mortbay.jetty.handler.ContextHandler.handle(
            at org.mortbay.jetty.webapp.WebAppContext.handle(
            at org.mortbay.jetty.handler.ContextHandlerCollection.handle(
            at org.mortbay.jetty.handler.HandlerCollection.handle(
            at org.mortbay.jetty.handler.HandlerWrapper.handle(
            at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(
            at org.mortbay.jetty.handler.HandlerWrapper.handle(
            at org.mortbay.jetty.Server.handle(
            at org.mortbay.jetty.HttpConnection.handleRequest(
            at org.mortbay.jetty.HttpConnection$RequestHandler.content(
            at org.mortbay.jetty.HttpParser.parseNext(
            at org.mortbay.jetty.HttpParser.parseAvailable(
            at org.mortbay.jetty.HttpConnection.handle(
            at org.mortbay.thread.BoundedThreadPool$
    YetOpen S.r.l. ~ Your open source partner
    Lecco (LC) - ITALY

Similar Threads

  1. [SOLVED] Samba password sync
    By lpizzina in forum Administrators
    Replies: 6
    Last Post: 07-11-2010, 08:08 PM
  2. Zimbra + Samba LDAP auth problems
    By fajarpri in forum Installation
    Replies: 3
    Last Post: 07-04-2007, 11:39 PM
  3. Tight samba integration with zimbra
    By daniellawson in forum Administrators
    Replies: 21
    Last Post: 06-14-2007, 04:06 PM
  4. Problems integrating DCC with Zimbra
    By nirg in forum Administrators
    Replies: 2
    Last Post: 11-09-2006, 04:27 AM

Posting Permissions

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