Forum OpenACS Development: Auth-ldap package out of date, incompatible with OpenACS 5.1.4

The version of auth-ldap last tagged as openacs-5-1-compat is from January 2004. There has been a change in the authentication APIs adding additional parameters.

The lastest auth-ldap should work, but it has not been tagged in over a year and cannot be installed from the repository.

Can a developer more familiar with the package please investigate this?

Please make sure to increase the version number in the info file before tagging so the APM will notice the upgrade and install the new version from the repository.

Thanks

Errors from aolserver's log file for this case:

Error: auth::authenticate: error invoking authentication driver for authority_id = 861: wrong # args: should be "auth::ldap::authentication::Authenticate username password ?parameters?"
while executing
"auth::ldap::authentication::Authenticate $username $password $parameters $authority_id"
(procedure "AcsSc.auth_authentication.authenticate.ldap" line 1)
invoked from within
"AcsSc.auth_authentication.authenticate.ldap joe test {BaseDN dc=my,dc=ldap,dc=service UsernameAttribute uid} 861"
("uplevel" body line 1)
invoked from within
"uplevel $func_and_args"
(procedure "apply" line 3)
invoked from within
"apply $proc_name $arguments"
(procedure "acs_sc_call" line 6)
invoked from within
"acs_sc_call -error=$error_p $contract $operation $call_args $impl"
(procedure "acs_sc::invoke" line 17)
invoked from within
"acs_sc::invoke -error -impl_id $impl_id -operation Authenticate -call_args [list $username $password $parameters $authority_id]"
(procedure "auth::authentication::Authenticate" line 24)
invoked from within
"auth::authentication::Authenticate -username $username -authority_id $authority_id -password $password"
invoked from within
"array set result [auth::authentication::Authenticate -username $username -authority_id $authority_id -password $password]"
("uplevel" body line 2)
invoked from within
"uplevel $body "