Topic: Unable to create new user for domain -ldap error
having problems creating ldap user, getting error can't contact LDAP server, attempted to locate and view logs but was unsuccessful. Can anyone provide any assistance?
I update the variables within the create_mail_user_OpenLDAP.sh script as required.
[root@www tools]# sh create_mail_user_OpenLDAP.sh ofinnigans.com JasonD
ldap_bind: Can't contact LDAP server (-1)
Add new domain: ofinnigans.com.
ldap_bind: Can't contact LDAP server (-1)
ldap_bind: Can't contact LDAP server (-1)
ldap_bind: Can't contact LDAP server (-1)
create_mail_user_OpenLDAP.sh: line 161: slappasswd: command not found
ldap_bind: Can't contact LDAP server (-1)
Create Maildir: /home/vmail/ofinnigans.com/JasonD/.
chown: cannot access `/home/vmail/ofinnigans.com/JasonD/': No such file or directory
chmod: cannot access `/home/vmail/ofinnigans.com/JasonD/': No such file or directory
Send a welcome mail to new user: JasonD@ofinnigans.com
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.