Hi all,
I have set up an Open-Xchange 6 Community Edition Server on Ubuntu 8.04 LTS Server. I have Postfix and Courier IMAP running on other machines (XEN DomUs) authenticating their users agains an OpenLDAP server. In OpenLDAP passwords are saved as MD5 hash.
There came some config files with the oxldapsync plugin, one named "ldapsync.conf" and another one "mapping.openldap.conf". I changed them to my needs and did a first sync, however login as LDAP user fails.
In "mapping.openldap.conf" there's a directive called "passwordmech", and I don't know which value I should set this one to. I looked into the OX6 database (table "user") and found a field calls "passwordMech" set to "{SHA}" for all the (currently synced) Users. So I edited my "mapping.ldap.conf" an set the "passwordmech" directive to "{MD5}", yet without success. When syncing again I get this errror:
Well, at least now I know which values the "passwordmech" directive can be set to, but do I have to change all my LDAP passwords to make them saved as an SHA hash?
I have set up an Open-Xchange 6 Community Edition Server on Ubuntu 8.04 LTS Server. I have Postfix and Courier IMAP running on other machines (XEN DomUs) authenticating their users agains an OpenLDAP server. In OpenLDAP passwords are saved as MD5 hash.
There came some config files with the oxldapsync plugin, one named "ldapsync.conf" and another one "mapping.openldap.conf". I changed them to my needs and did a first sync, however login as LDAP user fails.
In "mapping.openldap.conf" there's a directive called "passwordmech", and I don't know which value I should set this one to. I looked into the OX6 database (table "user") and found a field calls "passwordMech" set to "{SHA}" for all the (currently synced) Users. So I edited my "mapping.ldap.conf" an set the "passwordmech" directive to "{MD5}", yet without success. When syncing again I get this errror:
"user foobar in context 1 could not be changed:
Server response: Invalid PasswordMech: {MD5}, Valid Mechs: {CRYPT}:{SHA}"
Server response: Invalid PasswordMech: {MD5}, Valid Mechs: {CRYPT}:{SHA}"
Comment