Le 22/01/2014 à 07:49:26+0100, Gerald Vogt a écrit > I have tested the ExternalAuth module with the suggested configuration > of two different attributes for EmailAddress as suggested in the > configuration file: > > 'attr_map' => { > 'Name' => 'uid', > 'EmailAddress' => [ 'mail', 'mailAlternateAddress' ], > > This won't work at all: the call of postfix to rt-mailgateway fails: > > (temporary failure. Command output: RT server error. The RT server > which handled your email did not behave as expected. It said: Can't > call method "as_string" on an undefined value at > /usr/local/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm > line 357. Stack: > [/usr/local/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:357] > > [/usr/local/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:655] > > [/usr/local/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:702] > [/usr/local/rt4/sbin/../lib/RT/User.pm:143] > [/usr/local/rt4/sbin/../lib/RT/Interface/Email.pm:838] > [/usr/local/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:178] > [/usr/local/rt4/sbin/../lib/RT/Interface/Email.pm:1531] > [/usr/local/rt4/sbin/../lib/RT/Interface/Email.pm:1345] > [/usr/local/rt4/share/html/REST/1.0/NoAuth/mail-gateway:61]) > > This is because it passes the EmailAddress key as array to the function > and tries to built the LDAP filter from that which results in a string > like this: > > (&(objectclass=*)(ARRAY(0xacc5d0)=g...@example.com)) > > And with that the following call to Net::LDAP::Filter->new will fail. > > I don't see how this should work with version 0.17 of ExternalAuth and > RT4.2.2.
I've exact same problem here. For me it's the first time I encounter this problem, I can say if this is a new problem or it's old because we don't have many user with multiple email address. Today it's the first time.... So yes I would very like some solution. Because event manually through the web interface I can create a ticket with « requestor » is the second email-address. I got a error. Regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: j...@obspm.fr Heure local/Local time: mer 22 jan 2014 11:55:09 CET