1

Topic: openldap commands

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.2.1
- Deployed with iRedMail Easy or the downloadable installer?Downloadable installer
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Good evening

I would like help with ldap management commands.
ldapsearch, ldapadd or ldapdelete.

I tried to use:

ldapsearch -x -D "cn=Manager,dc=example,dc=com,dc=br" -W mail="lab@example.com.br"

ldap_bind: Invalid credentials (49)

I'm new to using iRedmail solution.


Thanks for help

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: openldap commands

jeff.lyrio wrote:

ldap_bind: Invalid credentials (49)

"Invalid credentials" always means bind dn OR password is incorrect. Please double check.