==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in backend (LDAP):
- Linux/BSD distribution name and version: CentOS 6.3
====
Hello Zhang,
Thanks again for the wonderful product. I'm trying to setup a backup mail server, but am running into problems with the LDAP piece. I have imported my LDIF backup as described in the wiki (http://www.iredmail.org/wiki/index.php? … _LDIF_file), but when I try to update the passwords for vmail and vmail admin in phpldapadmin, I get:
Could not perform ldap_modify operation.
LDAP said: Server is unwilling to perform
Error number: 0x35 (LDAP_UNWILLING_TO_PERFORM)
Description: The LDAP server refused to perform the operation.
Not wanting to throw in the towel, I tried changing the password at the command line:
ldappasswd -s <vmailPasswd> -D "cn=Manager,dc=mydomain,dc=com" \
-w <ManagerPasswd> -x cn=vmail,dc=mydomain,dc=com
This returns:
Result: Server is unwilling to perform (53)
Additional info: shadow context; no update referral
I have tried looking in /var/log/openldap.log for additional information, but it is empty, even after changing log level to -1 in slapd.conf and restarting the service.
However, the service is running:
# service slapd status
slapd (pid 14275) is running...
And there are no issues with connecting to phpldapadmin and viewing the imported data. I simply can't login to any user accounts. (Presumably because the vmail password is incorrect)
Here's a snippet of the /var/log/maillog file during a connection attempt:
Jan 30 11:12:44 ruthie postfix/proxymap[13349]: warning: dict_ldap_lookup: Search error 50: Insufficient access
Jan 30 11:12:44 ruthie postfix/proxymap[13349]: warning: dict_ldap_lookup: Search error 50: Insufficient access
Jan 30 11:12:44 ruthie postfix/proxymap[13349]: warning: dict_ldap_lookup: Search error 50: Insufficient access
Jan 30 11:12:44 ruthie postfix/trivial-rewrite[14606]: fatal: proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem
Jan 30 11:12:45 ruthie postfix/qmgr[14469]: warning: problem talking to service rewrite: Success
Jan 30 11:12:45 ruthie postfix/master[13307]: warning: process /usr/libexec/postfix/trivial-rewrite pid 14606 exit status 1
Jan 30 11:12:45 ruthie postfix/master[13307]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
Jan 30 11:13:25 ruthie roundcube: IMAP Error: Login failed for ted@heroesinc.us from 75.70.227.211. LOGIN: Temporary authentication failure. in /var/www/roundcubemail-0.8.2/program/include/rcube_imap.php on line 191 (POST /mail/?_task=login&_action=login)
Obviously nothing works so long as I can't update these passwords. Any idea what I'm doing wrong?
Thanks!
Ted