Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #1 (permalink)  
Old 08-31-2006, 09:28 AM
Special Member
 
Join Date: Apr 2006
Location: Illinois
ZCS Version: Release 4.5.11_GA_1751.MACOSX, Zimbra, Inc.
Posts: 169
kirme3 is on a distinguished road
Question 4.0 RC1 imapsync with admin???

This is in reference to Admin account allowed access to other mailboxes via IMAP

I am testing using imapsync with the --authuser2 adminAcct option on Zimbra 4.0 RC1. I am having trouble getting it to work. Is there anything I need to set up on the Zimbra server to allow this?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 08-31-2006, 10:13 AM
Zimbra Employee
 
Join Date: Sep 2005
Location: Vannes, France
Posts: 7,839
phoenix is on a distinguished road
Default

Have you tried enabling clear text login on the server?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 08-31-2006, 11:45 AM
Special Member
 
Join Date: Apr 2006
Location: Illinois
ZCS Version: Release 4.5.11_GA_1751.MACOSX, Zimbra, Inc.
Posts: 169
kirme3 is on a distinguished road
Default Clear Text Login...

Yes...as far as I know...in both the Admin UI and when I do a zmprov gacf, it shows:

zimbraImapCleartextLoginEnabled: TRUE

I've also done a zmcontrol stop|start and zmperditionctl stop|start

Last edited by kirme3 : 08-31-2006 at 11:52 AM.
Reply With Quote
  #4 (permalink)  
Old 08-31-2006, 12:00 PM
Zimbra Employee
 
Join Date: Aug 2005
Posts: 1,376
dkarp is on a distinguished road
Arrow perdition doesn't like AUTH PLAIN

You're going to have to imapsync directly to the target server rather than going through perdition, as perdition resolutely refuses to support AUTH PLAIN (the mechanism used when the --authuser2 switch is specified).
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #5 (permalink)  
Old 08-31-2006, 12:08 PM
Special Member
 
Join Date: Apr 2006
Location: Illinois
ZCS Version: Release 4.5.11_GA_1751.MACOSX, Zimbra, Inc.
Posts: 169
kirme3 is on a distinguished road
Default Direct???

This is the only server in the whole thing....do you mean to use port 7143 instead?

Thanks
Reply With Quote
  #6 (permalink)  
Old 08-31-2006, 12:12 PM
Zimbra Employee
 
Join Date: Aug 2005
Posts: 1,376
dkarp is on a distinguished road
Default don't connect to perdition

From what you wrote, it looks like you're running perdition. Don't point imapsync at perdition. Point it at the Zimbra server.

If you still get failures, please post the logfiles so we can try to debug!
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #7 (permalink)  
Old 08-31-2006, 12:17 PM
Special Member
 
Join Date: Apr 2006
Location: Illinois
ZCS Version: Release 4.5.11_GA_1751.MACOSX, Zimbra, Inc.
Posts: 169
kirme3 is on a distinguished road
Default Log Files and such....

I know I am running perdition on the Zimbra server...how do I point it to something different when it's installed on the same server by default?

Here is the excerpt from the zimbra.log file from when I try to do the login:

2006-08-31 14:14:17,118 INFO [ImapServer-8] [] imap - [x.x.x.x] connected
2006-08-31 14:14:17,127 WARN [ImapServer-8] [ip=x.x.x.x;] imap - LOGIN failed
com.zimbra.cs.account.AccountServiceException: authentication failed for acct@zimbra.tst
at com.zimbra.cs.account.AccountServiceException.AUTH _FAILED(AccountServiceException.java:78)
at com.zimbra.cs.account.ldap.LdapProvisioning.verify Password(LdapProvisioning.java:2344)
at com.zimbra.cs.account.ldap.LdapProvisioning.authAc count(LdapProvisioning.java:2184)
at com.zimbra.cs.account.ldap.LdapProvisioning.authAc count(LdapProvisioning.java:2168)
at com.zimbra.cs.imap.ImapHandler.authenticate(ImapHa ndler.java:733)
at com.zimbra.cs.imap.ImapHandler.login(ImapHandler.j ava:702)
at com.zimbra.cs.imap.ImapHandler.doLOGIN(ImapHandler .java:690)
at com.zimbra.cs.imap.ImapHandler.executeRequest(Imap Handler.java:423)
at com.zimbra.cs.imap.ImapHandler.processCommand(Imap Handler.java:227)
at com.zimbra.cs.tcpserver.ProtocolHandler.processCon nection(ProtocolHandler.java:231)
at com.zimbra.cs.tcpserver.ProtocolHandler.run(Protoc olHandler.java:198)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:613)
2006-08-31 14:14:17,129 INFO [ImapServer-8] [] ProtocolHandler - Handler exiting normally
Reply With Quote
  #8 (permalink)  
Old 08-31-2006, 12:39 PM
Zimbra Employee
 
Join Date: Sep 2005
Posts: 2,068
marcmac is on a distinguished road
Default

Read the imapsync documentation, and point it at the port that tomcat's listening on for IMAP (probably 7143)
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #9 (permalink)  
Old 08-31-2006, 12:50 PM
Special Member
 
Join Date: Apr 2006
Location: Illinois
ZCS Version: Release 4.5.11_GA_1751.MACOSX, Zimbra, Inc.
Posts: 169
kirme3 is on a distinguished road
Default tried that already

I've tried it already...When I do a packet capture of the conversation I get:

* OK IMAP4 Ready clipper.eiu.edu 00020788
1 CAPABILITY
* CAPABILITY IMAP4rev1 STARTTLS BINARY CHILDREN ID LITERAL+ LOGIN-REFERRALS NAMESPACE QUOTA SASL-IR UIDPLUS UNSELECT
1 OK CAPABILITY
2 CAPABILITY
* CAPABILITY IMAP4rev1 STARTTLS BINARY CHILDREN ID LITERAL+ LOGIN-REFERRALS NAMESPACE QUOTA SASL-IR UIDPLUS UNSELECT
2 OK CAPABILITY
3 Login "test" {8}
+ OK ready for additional input
adminPass
3 NO Re-Authentication Failure

....test is the account I want to copy to...should I be seeing something about using my admin account?
Reply With Quote
  #10 (permalink)  
Old 08-31-2006, 01:06 PM
Zimbra Employee
 
Join Date: Sep 2005
Posts: 2,068
marcmac is on a distinguished road
Default

What command are you running? And are you trying to log into the account with the account's password, or the admin password?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
imapsync works to the zimbra admin user, but not others? justanotheruser Migration 3 04-05-2007 10:22 AM
4.0 Rc1 scalper Administrators 3 08-26-2006 11:00 AM
4.0 RC1 Deferred queue problem neilmc Administrators 8 08-26-2006 03:31 AM
Logger not working in 4.0 RC1 jdell Administrators 11 08-24-2006 07:50 PM
ZCS 4.0 RC1 to launch this week KevinH Announcements 1 08-14-2006 09:37 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.1.0