Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Zimbra with Open LDAP on MAC OS X

  1. #1
    Andy is offline Starter Member
    Join Date
    Oct 2006
    Posts
    1
    Rep Power
    8

    Default Zimbra with Open LDAP on MAC OS X

    I want to configure Zimbra with OpenDirectory in Mac OS X Server.
    I had configure Zimbra in mac os x and also configure in built Open Directory in the same. Now i want to configure how can i access opendirectory user through Zimbra.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,569
    Rep Power
    57

    Default

    Welcome to the forums.

    I'm not sure you can do that, search the forums for some info. I assume you've set opendirectory to run on a port other than 389? There's some instructions in the wiki on authentication. I can't remember offhand if you can point Zimbra LDAP to a different port for authentication.
    Last edited by phoenix; 10-06-2006 at 05:37 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    Default

    This ldap filter will work with OpenDirectory
    (&(objectClass=inetOrgPerson)(objectClass=posixAccou nt)(uid=%u))

  4. #4
    osNomad is offline Junior Member
    Join Date
    Apr 2007
    Posts
    9
    Rep Power
    8

    Exclamation opendirectory authentication

    Quote Originally Posted by brian View Post
    This ldap filter will work with OpenDirectory
    (&(objectClass=inetOrgPerson)(objectClass=posixAccou nt)(uid=%u))
    i just finished setting up a zimbra installation and i configured ldap authentication using the above ldap filter. the test was successful and i see the authentication occur in the slapd.log file on my opendirectory server. i can't, however, log in to the mail client as any ldap user in my domain, not even the user i used to test the ldap connection. i don't see any error occur in the slapd.log file, it just won't authenticate. has anyone had any luck with this and can shed some light on the situation?

    thanks

    -john

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,569
    Rep Power
    57

    Default

    I presume you tried it without the extra space that you have in that example?
    Code:
    (&(objectClass=inetOrgPerson)(objectClass=posixAccou nt)(uid=%u))
                                                        ^
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    osNomad is offline Junior Member
    Join Date
    Apr 2007
    Posts
    9
    Rep Power
    8

    Default

    phoenix- heh... yeah, i cleared the space before i tested it. like i said... it works for the authentication test when setting up the external ldap but doesn't work when i try to test as a user logging into the webmail client.

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,569
    Rep Power
    57

    Default

    Just thought I'd check. Have you tried it with just (uid=%u) as the ldap filter?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    osNomad is offline Junior Member
    Join Date
    Apr 2007
    Posts
    9
    Rep Power
    8

    Default

    that was actually the way i tried it first and it also resulted in a successful ldap configuration test but no web client login.

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,569
    Rep Power
    57

    Default

    Are you using the full email address to login or just their name? Have you tried both? Anything in the logs? I assume you have created these accounts in Zimbra as well?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    osNomad is offline Junior Member
    Join Date
    Apr 2007
    Posts
    9
    Rep Power
    8

    Default

    interesting. i tried both the username and the email address as a username, neither worked. i assumed that the user account information would be pulled from the opendirectory server with no need to setup a user in zimbra. i just setup a test user with no password set in zimbra and it does successfully log in to the webmail client as that user using the opendirectory password.

    you can color me stupid.

    i guess my question now is... is there a way i can use the user accounts on the opendirectory server or do they HAVE to also be in zimbra.

    here are some of my log errors:
    ldap.log
    Apr 5 10:15:51 opendirectory slapd[48]: <= bdb_substring_candidates: (givenName) index_param failed (18)\n
    Apr 5 10:15:51 opendirectory slapd[48]: <= bdb_substring_candidates: (mail) index_param failed (18)\n

    password service error log:

    Apr 5 2007 10:14:20 LauchTaskWithIO path = /usr/sbin/kdb5_util, arg1 = dump, arg2 = /var/db/krb5kdc/KerbDumpFilefcmWQ, status = 1
    Apr 5 2007 10:15:25 LauchTaskWithIO path = /usr/sbin/kdb5_util, arg1 = dump, arg2 = /var/db/krb5kdc/KerbDumpFilePcmeb, status = 1
    Apr 5 2007 10:16:31 LauchTaskWithIO path = /usr/sbin/kdb5_util, arg1 = dump, arg2 = /var/db/krb5kdc/KerbDumpFileVhooh, status = 1
    Apr 5 2007 10:17:31 LauchTaskWithIO path = /usr/sbin/kdb5_util, arg1 = dump, arg2 = /var/db/krb5kdc/KerbDumpFiledto8J, status = 1
    Apr 5 2007 10:18:36 LauchTaskWithIO path = /usr/sbin/kdb5_util, arg1 = dump, arg2 = /var/db/krb5kdc/KerbDumpFileP7DiT, status = 1
    Last edited by osNomad; 04-05-2007 at 07:19 AM. Reason: added log messages

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  2. Error message in Server status
    By Max Ma in forum Installation
    Replies: 20
    Last Post: 04-19-2007, 08:55 AM
  3. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 11:34 AM
  4. zimbra-core missing
    By kinaole in forum Developers
    Replies: 1
    Last Post: 10-02-2006, 11:59 AM
  5. Zimbra Processor Output
    By UltraFlux in forum Installation
    Replies: 3
    Last Post: 02-01-2006, 08:23 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
  •