Our MS AD LDAP schema provides samaccountname but not UID, so we map <userid is="sAMAccountName" ></userid>. Test 1A: someuser + password <replicate>1</replicate> <update>1</update> <auth_by_bind>1</auth_by_bind> <principal_name>%s@example.com</principal_name> Result 1A: Can't call method "exists" on an undefined value at /usr/share/koha/lib/C4/Auth_with_ldap.pm line 168, <DATA> line 253. ---------------- Test 1B: someuser@example.com + password Result 1B: You entered an incorrect username or password ---------------- Test 2: someuser + password <replicate>1</replicate> <update>1</update> <auth_by_bind>0</auth_by_bind> Result 2: No ldapserver "mapping for 'userid'" defined in KOHA_CONF: /etc/koha/koha-conf.xml at /usr/share/koha/lib/C4/Auth_with_ldap.pm line 80. However, the mapping does exist: <userid is="sAMAccountName" ></userid>. On Tue, Jul 14, 2009 at 8:54 PM, Galen Charlton <galen.charlton@liblime.com> wrote:
Hi,
2009/7/14 Joe Atzberger <ohiocore@gmail.com>:
This functionality as already been submitted, with both aspects, including a configurable sprintf-style manipulation of the Koha userid into whatever you want to present LDAP with. See the "principle_name" section:
http://lists.koha.org/pipermail/koha-patches/2009-June/003864.html
The patch in question has now been pushed to HEAD. Please try it out and let us know if you find any issues during testing.
Regards,
Galen -- Galen Charlton VP, Research & Development, LibLime galen.charlton@liblime.com p: 1-888-564-2457 x709 skype: gmcharlt _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel