Results 1 to 5 of 5

Thread: Zimbra and LDAP

  1. #1
    Join Date
    Feb 2010
    Posts
    33
    Rep Power
    5

    Question Zimbra and LDAP

    Hi all.

    I got a new anti spam solution (Pineapp mail secure 2040) and I'm not sure how to configure it to work with zimbra.

    I have few options to choose from when adding a connector and i don't really know what to choose.

    Those are my options:

    LDAP Server type: Exchange 5.5/ Windows 2000/ Windows 2003/ OpenLDAP/ Communigate pro 5.X/ Lotus notes/ iplanet/ Novell

    LDAP Server ip: That is simple
    LDAP Bind DN: From where on my zimbra i can find this?
    LDAP Server hostname: That is simple
    LDAP Port: From where on my zimbra i can find this?
    LDAP Context: From where on my zimbra i can find this?
    LDAP Password: From where on my zimbra i can find this?

    I also have some check boxes:

    * Perform active LDAP queries
    * Do not perform database queries (LDAP Only)
    * Require LDAP over TLS (SSL)
    * Synchronize Data
    * Synchronize also LDAP contacts

    If I'm choosing OpenLDAP (which i think is what i need) i get some more configurations:

    * Object Class:
    * Group Class:
    * Display Name:
    * Distinguished Name:
    * Email Address:
    * Person/user Class:
    * Object/Group ID:
    * Canonical Name:
    * Member Of:
    * Group Member:

    Hope that someone will be able to help me in this subject.
    If its more comfortable i attached a screenshot
    pineapp.jpg

    Regards
    Guy

  2. #2
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    you can get a lot of values in the localconfig. run

    Code:
    zmlocalconfig -s | grep -i ldap

  3. #3
    Join Date
    Feb 2010
    Posts
    33
    Rep Power
    5

    Default

    Quote Originally Posted by bdial View Post
    you can get a lot of values in the localconfig. run

    Code:
    zmlocalconfig -s | grep -i ldap
    Should i run this command with zimbra user? or as root?

  4. #4
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    as zimbra user

  5. #5
    Join Date
    Feb 2010
    Posts
    33
    Rep Power
    5

    Default

    Quote Originally Posted by bdial View Post
    as zimbra user
    I run the command and this is the result:

    root@mail:~# su zimbra
    zimbra@mail:/root$ zmlocalconfig -s | grep -i ldap
    ldap_accesslog_cachefree = 1
    ldap_accesslog_cachesize = 10000
    ldap_accesslog_checkpoint = 64 5
    ldap_accesslog_dncachesize = 0
    ldap_accesslog_idlcachesize = 10000
    ldap_accesslog_shmkey = 0
    ldap_amavis_password = yyyyyyyyy
    ldap_bind_url =
    ldap_cache_account_maxage = 15
    ldap_cache_account_maxsize = 20000
    ldap_cache_cos_maxage = 15
    ldap_cache_cos_maxsize = 100
    ldap_cache_domain_maxage = 15
    ldap_cache_domain_maxsize = 100
    ldap_cache_external_domain_maxage = 15
    ldap_cache_external_domain_maxsize = 2000
    ldap_cache_group_maxage = 15
    ldap_cache_group_maxsize = 200
    ldap_cache_reverseproxylookup_domain_maxage = 15
    ldap_cache_reverseproxylookup_domain_maxsize = 100
    ldap_cache_reverseproxylookup_server_maxage = 15
    ldap_cache_reverseproxylookup_server_maxsize = 100
    ldap_cache_right_maxage = 15
    ldap_cache_right_maxsize = 100
    ldap_cache_server_maxage = 15
    ldap_cache_server_maxsize = 100
    ldap_cache_timezone_maxsize = 100
    ldap_cache_xmppcomponent_maxage = 15
    ldap_cache_xmppcomponent_maxsize = 100
    ldap_cache_zimlet_maxage = 15
    ldap_cache_zimlet_maxsize = 100
    ldap_common_loglevel = 49152
    ldap_common_require_tls = 0
    ldap_common_threads = 8
    ldap_common_toolthreads = 1
    ldap_common_writetimeout = 0
    ldap_connect_pool_debug = false
    ldap_connect_pool_initsize = 1
    ldap_connect_pool_master = false
    ldap_connect_pool_maxsize = 50
    ldap_connect_pool_prefsize = 0
    ldap_connect_pool_timeout = 120000
    ldap_connect_timeout = 30000
    ldap_db_cachefree = 1
    ldap_db_cachesize = 10000
    ldap_db_checkpoint = 64 5
    ldap_db_dncachesize = 0
    ldap_db_idlcachesize = 10000
    ldap_db_shmkey = 0
    ldap_deref_aliases = always
    ldap_host = mail.xxxxxxxxx.com
    ldap_is_master = true
    ldap_master_url = ldap://mail.xxxxxxxxx.com:389
    ldap_nginx_password = yyyyyyyyy
    ldap_overlay_accesslog_logpurge = 01+00:00 00+04:00
    ldap_overlay_syncprov_checkpoint = 20 10
    ldap_overlay_syncprov_sessionlog = 500
    ldap_port = 389
    ldap_postfix_password = yyyyyyyyy
    ldap_read_timeout = 30000
    ldap_replication_password = yyyyyyyyy
    ldap_root_password = yyyyyyyyy
    ldap_starttls_supported = 1
    ldap_url = ldap://mail.xxxxxxxxx.com:389
    postfix_sender_canonical_maps = proxy:ldap:${zimbra_home}/conf/ldap-scm.cf
    postfix_transport_maps = proxy:ldap:${zimbra_home}/conf/ldap-transport.cf
    postfix_virtual_alias_domains = proxy:ldap:${zimbra_home}/conf/ldap-vad.cf
    postfix_virtual_alias_maps = proxy:ldap:${zimbra_home}/conf/ldap-vam.cf
    postfix_virtual_mailbox_domains = proxy:ldap:${zimbra_home}/conf/ldap-vmd.cf
    postfix_virtual_mailbox_maps = proxy:ldap:${zimbra_home}/conf/ldap-vmm.cf
    zimbra_class_provisioning = com.zimbra.cs.account.ldap.LdapProvisioning
    zimbra_ldap_password = yyyyyyyyy
    zimbra_ldap_user = zimbra
    zimbra_ldap_userdn = uid=zimbra,cn=admins,cn=zimbra
    zimbra_zmprov_default_to_ldap = false
    zimbra@mail:/root$


    I used the folowing details on my Pineapp mail secure:

    LDAP Server ip: 192.168.10.4
    LDAP Bind DN: xxxxxxxxx.com
    LDAP Server hostname: mail.xxxxxxxxx.com
    LDAP Port: 389
    LDAP Context: ???????? i dont know what to use
    LDAP Password: yyyyyyyyy (the real one is set)

    i get this error:
    ldap_bind: Can't contact LDAP server (-1)

    Any help?

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 11:13 AM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. Replies: 16
    Last Post: 09-07-2006, 07:39 AM
  5. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 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
  •