Page 1 of 2

Libra esva antispam service and zimbra ldap DN

Posted: Tue Jun 14, 2016 10:20 am
by fferraro87
hi,
i'm using libra esva for additional antispam service on my zimbra servers, but it requires Email Address DN and User DN for my ldap server.
Specifically it requires this two field:

Base DN for email addresses container. (CN=Users,DC=domain,DC=ad)

and

Base DN for user accounts. (OU=Unit,DC=domain,DC=ad)

so where can i find these settings on my zimbra server?

domain and ad for example if my admin is admin@test.com so these settings will be DC=test,DC=com right?

thanks for your support

Re: Libra esva antispam service and zimbra ldap DN

Posted: Wed Jun 15, 2016 7:46 am
by DualBoot
Zimbra uses OpenLDAP, so accounts are stored in the branch ou=people,dc=domain,dc=tld

Re: Libra esva antispam service and zimbra ldap DN

Posted: Wed Jun 15, 2016 9:59 am
by fferraro87
DualBoot wrote:Zimbra uses OpenLDAP, so accounts are stored in the branch ou=people,dc=domain,dc=tld
yeah i know but really i can't do ldap query successfully with these parameters. i don't know where i'm wrong

Re: Libra esva antispam service and zimbra ldap DN

Posted: Wed Jun 15, 2016 10:42 am
by phoenix
fferraro87 wrote:
DualBoot wrote:Zimbra uses OpenLDAP, so accounts are stored in the branch ou=people,dc=domain,dc=tld
yeah i know but really i can't do ldap query successfully with these parameters. i don't know where i'm wrong
Unless you give more details about the commands you've used and the errors you're seeing then nobody will be able to offer you any advice. You should always give details of the version of ZCS that's being used by posting the full output of the following command:

Code: Select all

zmcontrol -v

Re: Libra esva antispam service and zimbra ldap DN

Posted: Wed Jun 15, 2016 10:57 am
by fferraro87
phoenix wrote:
fferraro87 wrote:
DualBoot wrote:Zimbra uses OpenLDAP, so accounts are stored in the branch ou=people,dc=domain,dc=tld
yeah i know but really i can't do ldap query successfully with these parameters. i don't know where i'm wrong
Unless you give more details about the commands you've used and the errors you're seeing then nobody will be able to offer you any advice. You should always give details of the version of ZCS that's being used by posting the full output of the following command:

Code: Select all

zmcontrol -v
that's my zimbra version Release 8.6.0_GA_1153.RHEL6_64_20141215151155 RHEL6_64 FOSS edition.

Re: Libra esva antispam service and zimbra ldap DN

Posted: Wed Jun 15, 2016 10:59 am
by phoenix
What about the other information that I've asked you to post?

Re: Libra esva antispam service and zimbra ldap DN

Posted: Wed Jun 15, 2016 12:43 pm
by DualBoot
show us your ldapsearch query.

Re: Libra esva antispam service and zimbra ldap DN

Posted: Thu Jun 16, 2016 9:25 am
by fferraro87
every ldapsearch query gives me error.
for example this query :

Code: Select all

ldapsearch -x -H $ldap_master_url -D $zimbra_ldap_userdn -w $zimbra_ldap_password -LLL -b 'ou=people,dc=mydomain,dc=com'
it close connection with ldap

Re: Libra esva antispam service and zimbra ldap DN

Posted: Thu Jun 16, 2016 10:01 am
by DualBoot
Did you try on the Zimbra LDAP server directly ?

Re: Libra esva antispam service and zimbra ldap DN

Posted: Thu Jun 16, 2016 10:17 am
by fferraro87
DualBoot wrote:Did you try on the Zimbra LDAP server directly ?
yeah i access to ldap server via telnet