Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-25-2010, 06:40 AM
Active Member
 
Posts: 33
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
Reply With Quote
  #2 (permalink)  
Old 11-25-2010, 06:50 AM
Moderator
 
Posts: 1,554
Default

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

Code:
zmlocalconfig -s | grep -i ldap
Reply With Quote
  #3 (permalink)  
Old 11-25-2010, 07:06 AM
Active Member
 
Posts: 33
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?
Reply With Quote
  #4 (permalink)  
Old 11-25-2010, 07:17 AM
Moderator
 
Posts: 1,554
Default

as zimbra user
Reply With Quote
  #5 (permalink)  
Old 11-25-2010, 09:29 AM
Active Member
 
Posts: 33
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?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.