Hi,
trying to set up the vacation-plugin wit ldap-backend I'm stuck. Accessing the page I get an error "Fehler bei der Verarbeitung", which means something like "Processing error".
Preliminaries:
Only the admin can (and shall) change data in the directory tree. the User-Dn is build like uid=user@example.com,ou=example.com,ou=virtualmail,dc=hanns,dc=de (The Mail-Address is used for the attributes mail and uid)
Here's my ldap-configuration from plugins/vacation (comments stripped for readability)
,----[ plugins/vacation/config.inc.php ] | $rcmail_config['vacation_ldap_host'] = '127.0.0.1'; | $rcmail_config['vacation_ldap_port'] = 389; | $rcmail_config['vacation_ldap_starttls'] = true; | $rcmail_config['vacation_ldap_version'] = 3; | $rcmail_config['vacation_ldap_basedn'] = 'ou=virtualmail,dc=hanns,dc=de'; | $rcmail_config['vacation_ldap_binddn'] = 'cn=Manager,dc=hanns,dc=de'; | $rcmail_config['vacation_ldap_bindpw'] = 'totallysecret'; | $rcmail_config['vacation_ldap_attr_email'] = 'mail'; | $rcmail_config['vacation_ldap_attr_emaillocal'] = 'mailhost'; | $rcmail_config['vacation_ldap_attr_emaildomain'] = 'mailsource'; | $rcmail_config['vacation_ldap_attr_vacationenable'] = 'vacationActive'; | $rcmail_config['vacation_ldap_attr_vacationenable_value_enabled'] = 'TRUE'; | $rcmail_config['vacation_ldap_attr_vacationenable_value_disabled'] = 'FALSE'; | $rcmail_config['vacation_ldap_attr_vacationstart'] = 'vacationStart'; | $rcmail_config['vacation_ldap_attr_vacationend'] = 'vacationEnd'; | $rcmail_config['vacation_ldap_attr_vacationsubject'] = null; | $rcmail_config['vacation_ldap_attr_vacationmessage'] = | 'vacationInfo'; | $rcmail_config['vacation_ldap_attr_vacationkeepcopyininbox'] = null; | $rcmail_config['vacation_ldap_attr_vacationkeepcopyininbox_value_enabled'] = null; | $rcmail_config['vacation_ldap_attr_vacationkeepcopyininbox_value_disabled'] = null; | $rcmail_config['vacation_ldap_attr_vacationforwarder'] = | 'vacationForward'; | $rcmail_config['vacation_ldap_search_base'] = | 'uid=%username,dc=%email_domain,ou=virtualmail,dc=hanns,dc=de'; | $rcmail_config['vacation_ldap_search_filter'] = '(objectClass=CourierMailAccount)'; | $rcmail_config['vacation_ldap_search_attrs'] = array ('vacationActive', 'vacationInfo'); | $rcmail_config['vacation_ldap_modify_dns'] = array ( 'dc=Manager,dc=hanns,dc=de'); | $rcmail_config['vacation_ldap_modify_ops'] = array( | array ('replace' => array( | $rcmail_config['vacation_ldap_attr_vacationenable'] => '%vacation_enable', | $rcmail_config['vacation_ldap_attr_vacationmessage'] => '%vacation_message', | $rcmail_config['vacation_ldap_attr_vacationforwarder'] => '%vacation_forwarder' | ) | ) | ); `----
I'm in doubt, if I've set the right values for example in $rcmail_config['vacation_ldap_search_base'] and $rcmail_config['vacation_ldap_modify_dns']
By now, I don't see any activity in the ldap-Log, when I access the vacation page.
Probably someone can have a look at the configuration and give me a hint, where to start searching for my mistake.
Any help appreciated.
Hanns