Topic: create_mail_user_OpenLDAP.sh : ldapadd: command not found
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx):apache
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====
When I try to create bulk mail user (http://www.iredmail.org/docs/ldap.bulk. … users.html) using "tools/create_mail_user_OpenLDAP.sh" and run "bash create_mail_user_OpenLDAP.sh mydomain.com user1 user2 user3"
It shows error below :
"create_mail_user_OpenLDAP.sh: line 134: ldapsearch: command not found
Add new domain: mydomain.com.
create_mail_user_OpenLDAP.sh: line 139: ldapadd: command not found
create_mail_user_OpenLDAP.sh: line 151: ldapadd: command not found
create_mail_user_OpenLDAP.sh: line 158: ldapadd: command not found
create_mail_user_OpenLDAP.sh: line 165: ldapadd: command not found
create_mail_user_OpenLDAP.sh: line 172: ldapadd: command not found
create_mail_user_OpenLDAP.sh: line 195: slappasswd: command not found
create_mail_user_OpenLDAP.sh: line 213: ldapadd: command not found
create_mail_user_OpenLDAP.sh: line 195: slappasswd: command not found
create_mail_user_OpenLDAP.sh: line 213: ldapadd: command not found
create_mail_user_OpenLDAP.sh: line 195: slappasswd: command not found
create_mail_user_OpenLDAP.sh: line 213: ldapadd: command not found "
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.