I’m having a little bit of trouble with the AdminCC failing to get created. I am using RT:Authen::ExternalAuth. Everything is well there I’ve verified that is working correctly.
When I add/create and admincc for a user that has not logged into RT the user does not get created automatically. The web interface returns this error:
“Could not find or create that user”
I have confirmed (by adding debug lines to the LDAP.pm) that the user is found and returned.
But in the User_Overlay.pm it fails to create the user because it cannot create the principleID. The error it prints to debug is:
[crit]: Failed to create user XXXX@cnc.bc.ca: Could not set user info (/opt/rt3/bin/…/lib/RT/User_Overlay.pm:511)
Keep in mind this happens when I create or modify a ticket and add an email address to the AdminCC/CC field(s). In the case of creating a ticket the ticket is created, but just modifing the ticket fails to update the field. However if I add an address to the CC field - even though it still fails, when I comment on the ticket the cc’d address appears on the ticket. The AdminCC does not ever show up.
So, it seems to me that I’ve missed a privilege somewhere that grants an outgoing email for CC/AdminCC to be created if they’re not in the DB. How do I correct my config to allow the creation of an account for these two fields?