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

Thread: [SOLVED] want tzimbra to use my own openldap

  1. #1
    andreika is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    20
    Rep Power
    6

    Default [SOLVED] want tzimbra to use my own openldap

    Hi all.
    I have got openLDAP+samba installed on ubuntu 8.10. I have a lot my own modules etc, so I dont want to use zimbra's openldap, - I want zimbra to use my openLDAP.
    to start with, I have installed zimbra on zimbra.local (ubuntu 8.04 machine), and my server server.local (with openLDAP+samba installed).
    on my server.local openLDAP is using slapd.d. I have imported zimbra.scheme there, but I cannot import anything more. zimbra needs cn=zimbra, but I cannot add cn=zimbra on my sever:

    root@server:/etc/ldap# ldapadd -W -x -D cn=admin,cn=config -f /home/user/zimbra.ldif
    Enter LDAP Password:
    adding new entry "cn=zimbra"
    ldap_add: Server is unwilling to perform (53)
    additional info: no global superior knowledge

    can you advise anynthing? thanks.
    Last edited by andreika; 03-31-2009 at 07:00 AM.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

    I would check your LDAP logs as your local install is complaining about something.

  3. #3
    andreika is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    20
    Rep Power
    6

    Default

    I have to add "loglevel -1" in my slapd.conf but I don't have one..

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

    Default

    Quote Originally Posted by andreika View Post
    Hi all.
    I have got openLDAP+samba installed on ubuntu 8.10. I have a lot my own modules etc, so I dont want to use zimbra's openldap, - I want zimbra to use my openLDAP.
    to start with, I have installed zimbra on zimbra.local (ubuntu 8.04 machine), and my server server.local (with openLDAP+samba installed).
    on my server.local openLDAP is using slapd.d. I have imported zimbra.scheme there, but I cannot import anything more. zimbra needs cn=zimbra, but I cannot add cn=zimbra on my sever:

    root@server:/etc/ldap# ldapadd -W -x -D cn=admin,cn=config -f /home/user/zimbra.ldif
    Enter LDAP Password:
    adding new entry "cn=zimbra"
    ldap_add: Server is unwilling to perform (53)
    additional info: no global superior knowledge

    can you advise anynthing? thanks.
    You cant do that, you have to use the Zimbra openLDAP to provision the users. You can use an external LDAP for authentication but they still have to be provisioned in Zimbra. Am I misunderstanding what you're asking?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    andreika is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    20
    Rep Power
    6

    Default

    directory /opt/zimbra/conf contains ldap-*.cf files. they show zimbra where should it look for openLDAP:

    server_host = ldap://zimbra.local:389
    server_port = 389

    so, I think it is possible to make zimbra use another ldap server, not it's own. for example:

    server_host = ldap://server.local:389
    server_port = 389

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

    Default

    Quote Originally Posted by andreika View Post
    so, I think it is possible to make zimbra use another ldap server, not it's own. for example:
    No, it's not. The Zimbra instance of openLDAP is tuned and installed specifically for use in Zimbra, you can't use another instance. Do you think I'd tell you that you can't if it was possible? Trying to use another instance instead of the inbuilt LDAP will not work, believe me.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    andreika is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    20
    Rep Power
    6

    Default

    Quote Originally Posted by phoenix View Post
    No, it's not. The Zimbra instance of openLDAP is tuned and installed specifically for use in Zimbra, you can't use another instance. Do you think I'd tell you that you can't if it was possible? Trying to use another instance instead of the inbuilt LDAP will not work, believe me.
    Ok, thanks. but could you please explain - why is it impossible?

  8. #8
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Due to modifications to support Zimbra. Try and hack it if you want but no support will be provided. Schema can also change across upgrades so keeping everything up to date would be a knightmare. Trust us it really is not worth your while attempting such a thing.

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

    Default

    Zimbra is a tightly integrated set of components, the LDAP instance is used by many parts of Zimbra especially for provisioning users. Just pointing the url to your own instance will not work, this has been asked before on the forums.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    andreika is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    20
    Rep Power
    6

    Default

    on installing, zimbra asks whether install zimbra-ldap package or no.
    I choose no. after that, everythin went okay, i can see this:
    Main menu
    ==============================
    1) Common Configuration:
    +Hostname: zimbra.local
    ******* +Ldap master host: UNSET
    +Ldap port: 389
    ******* +Ldap Admin password: UNSET
    +LDAP Base DN: cn=zimbra
    +Require secure interprocess communications: yes
    +TimeZone: (GMT-08.00) Pacific Time (US & Canada)
    ==============

    i don't understand this is it possible to set my own openLDAP host IP? if no, then I dont understand why zimbra asked me about it..?

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. Replies: 3
    Last Post: 04-07-2014, 04:52 AM
  2. authenticating dokuwiki to zimbra's openldap!
    By gettyless in forum Administrators
    Replies: 2
    Last Post: 03-01-2011, 08:43 AM
  3. Incorporating Zimbra into an existing OpenLDAP setup
    By djcronos in forum Installation
    Replies: 1
    Last Post: 02-07-2008, 10:24 AM
  4. Custom LDAP Server
    By KermitTheFragger in forum Developers
    Replies: 22
    Last Post: 12-30-2007, 02:48 PM
  5. OpenLDAP and Outlook
    By PNE in forum Administrators
    Replies: 3
    Last Post: 03-09-2006, 12:01 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
  •