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 Search this Thread Display Modes
  #1 (permalink)  
Old 02-19-2011, 05:44 PM
Loyal Member
 
Posts: 87
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.
__________________
--
cheers

Last edited by rosch; 02-19-2011 at 06:06 PM.. Reason: added details about fqdn
Reply With Quote
  #2 (permalink)  
Old 02-20-2011, 11:30 AM
Loyal Member
 
Posts: 87
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
Reply With Quote
  #3 (permalink)  
Old 02-22-2011, 04:23 PM
Loyal Member
 
Posts: 87
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
Reply With Quote
  #4 (permalink)  
Old 02-27-2011, 08:49 AM
Loyal Member
 
Posts: 87
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
File Type: log issue_ldap_mailbox.log (25.8 KB, 3 views)
__________________
--
cheers
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.