Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-07-2009, 10:18 AM
Trained Alumni
 
Posts: 52
Default Problems in integrating with Samba on 6.0

Hi.

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:
Code:
[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?
thanks
maxxer
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it

Last edited by maxxer : 09-07-2009 at 10:56 AM. Reason: added version to topic title
Reply With Quote
  #2 (permalink)  
Old 09-07-2009, 11:04 AM
Trained Alumni
 
Posts: 52
Default

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:
Code:
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'sambaDomainName=mydomain'
        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:597)
        at com.zimbra.cs.account.ldap.ZimbraLdapContext.deleteChildren(ZimbraLdapContext.java:690)
        at com.zimbra.ldaputils.DeleteLDAPEntry.handle(DeleteLDAPEntry.java:40)
        at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:417)
        at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:272)
        at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:156)
        at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:291)
        at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:212)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:187)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
        at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
        at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:378)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
        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.Server.handle(Server.java:324)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:517)
        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:868)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:386)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0