Results 1 to 4 of 4

Thread: Authentication using Zend Framework

  1. #1
    Join Date
    Oct 2008
    Rep Power

    Arrow Authentication using Zend Framework

    Hi 'm developing an intranet using the Zend Framework, and we are going to implent a SSO with Zimbra Ldap.

    I want to use the Zend_Auth_Adapter_Ldap adapter that comes bundled with ZF.

    But i wanted to know what are the requirements for authenticating using the Zimbra OpenLdap. I'm trying with these setting but they don't work.

    host => "",
    useSsl => "0",
    accountDomainName => "",
    accountDomainNameShort => "SOMEDOMAIN",
    accountCanonicalForm => 4,
    baseDn => "DC=somedomain,DC=com"

    Can anyone guide me? or have any experience with this?

  2. #2
    Join Date
    Nov 2006
    Rep Power


    Welcome to the forums

    This may be of help to you UNIX and Windows Accounts in Zimbra LDAP and Zimbra Admin UI - Zimbra :: Wiki.

  3. #3
    Join Date
    Oct 2008
    Rep Power


    Thank uxbod for your reply,

    It has helped me configuring the options to connect to the server, however I was wondering if I need to install everything specified in it just to authenticate users based on their email accounts.

    I'm currently trying to authenticate only using the Zimbra OpenLdap and I am getting the following error:

    2008-11-04T12:44:48-05:00 DEBUG (7): Ldap: 1: host=,useSsl=0,username=CN=config,password= *****,bindRequiresDn=true,baseDn=DC=domain,DC=com,,accountDomainNameShor t=DOMAIN,accountCanonicalForm=4
    2008-11-04T12:44:48-05:00 DEBUG (7): Ldap: 2: authentication failed: 0x20: No such object: (&(objectClass=posixAccount)(uid=jsmith))
    2008-11-04T12:44:48-05:00 DEBUG (7):

    Update: Zimbra is running on a linux CentOs 5 server.
    Last edited by marioestrada; 11-04-2008 at 04:11 PM.

  4. #4
    Join Date
    Oct 2008
    Rep Power


    i think i solved it:

    I had the option to change the 'accountFilterFormat' that defaulted to: '(&(objectClass=posixAccount)(uid=%s))'
    and changed it to: '(&(uid=%s))'

    This seemed to do the trick.

Similar Threads

  1. Does Zimbra support IMAP Secure Authentication?
    By zzzzsg in forum Administrators
    Replies: 6
    Last Post: 11-06-2009, 07:19 PM
  2. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 05:42 PM
  3. Replies: 2
    Last Post: 09-19-2008, 10:15 AM
  4. [SOLVED] NE Migration: SMTP AUTH Failure
    By markpr in forum Installation
    Replies: 14
    Last Post: 10-03-2007, 01:51 PM
  5. Authentication to external ldap stop working.
    By jahaj in forum Installation
    Replies: 3
    Last Post: 12-05-2006, 03:17 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