1

Topic: ldapsearch

Hi

we have many domains, i need to modify one value for all domain and all user,
but i have a problem when from shell i run ldapsearch for find all user:

ldapsearch -LLL -b "o=domains,dc=XXXXX,dc=XXXX,dc=XX" dn -x
Insufficient access (50)

Can you help me? i need a list of mail users on iredmail.

Thks

Enrico

----

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

2

Re: ldapsearch

It's not allowed to connect ldap server as anonynouns by default in iRedMail,you have to special -D and -W to bind as special user. for example:

$ ldapsearch -x -D 'cn=Manager,dc=xxx,dc=xxx' -W -b "o=domains,dc=XXXXX,dc=XXXX,dc=XX" dn

3

Re: ldapsearch

ZhangHuangbin wrote:

It's not allowed to connect ldap server as anonynouns by default in iRedMail,you have to special -D and -W to bind as special user. for example:

$ ldapsearch -x -D 'cn=Manager,dc=xxx,dc=xxx' -W -b "o=domains,dc=XXXXX,dc=XXXX,dc=XX" dn

Thanks for you help!

Enrico