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 "