Libra esva antispam service and zimbra ldap DN

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
fferraro87
Advanced member
Advanced member
Posts: 99
Joined: Thu Apr 28, 2016 8:58 am

Libra esva antispam service and zimbra ldap DN

Post 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
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Libra esva antispam service and zimbra ldap DN

Post by DualBoot »

Zimbra uses OpenLDAP, so accounts are stored in the branch ou=people,dc=domain,dc=tld
The Guy - DualBoot

PostMaster - WikiMaster - SysAdmin
"Free Your Mind. Think Open Source"
april.org
Zetalliance Member - zetalliance.org
User avatar
fferraro87
Advanced member
Advanced member
Posts: 99
Joined: Thu Apr 28, 2016 8:58 am

Re: Libra esva antispam service and zimbra ldap DN

Post 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
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Libra esva antispam service and zimbra ldap DN

Post 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
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
fferraro87
Advanced member
Advanced member
Posts: 99
Joined: Thu Apr 28, 2016 8:58 am

Re: Libra esva antispam service and zimbra ldap DN

Post 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.
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Libra esva antispam service and zimbra ldap DN

Post by phoenix »

What about the other information that I've asked you to post?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Libra esva antispam service and zimbra ldap DN

Post by DualBoot »

show us your ldapsearch query.
The Guy - DualBoot

PostMaster - WikiMaster - SysAdmin
"Free Your Mind. Think Open Source"
april.org
Zetalliance Member - zetalliance.org
User avatar
fferraro87
Advanced member
Advanced member
Posts: 99
Joined: Thu Apr 28, 2016 8:58 am

Re: Libra esva antispam service and zimbra ldap DN

Post 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
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Libra esva antispam service and zimbra ldap DN

Post by DualBoot »

Did you try on the Zimbra LDAP server directly ?
The Guy - DualBoot

PostMaster - WikiMaster - SysAdmin
"Free Your Mind. Think Open Source"
april.org
Zetalliance Member - zetalliance.org
User avatar
fferraro87
Advanced member
Advanced member
Posts: 99
Joined: Thu Apr 28, 2016 8:58 am

Re: Libra esva antispam service and zimbra ldap DN

Post by fferraro87 »

DualBoot wrote:Did you try on the Zimbra LDAP server directly ?
yeah i access to ldap server via telnet
Post Reply