[rt-devel] SenderMustExistInExternalDatabase Broken in RT3?

Jeff Hoover jeff.hoover at infotechfl.com
Tue Apr 22 10:22:41 EDT 2003


OK, I see that the user is being created by CreateUser in 
Interfaces/Email.pm.  Can someone tell me where this gets called from so I 
can see if it is checking $SenderMustExistInExternalDatabase?

Thanks in advance for any help!

-- Jeff

At 02:46 PM 4/21/2003, Jeff Hoover wrote:
>Hi,
>
>I sent this to the rt-users list last week and received no reply, so I 
>thought I would try this list:
>
>I am using rt 3.0.1 on Redhat 7.3 with the following in RT_SiteConfig:
>
>Set($LookupSenderInExternalDatabase, 1);
>Set($SenderMustExistInExternalDatabase , 1);
>Set($WebExternalAuth , 1);
>Set($WebExternalGecos , 1);
>Set($WebExternalAuto , 1);
>
>I modified the LookupExternalUserInfo subroutine in lib\RT\EmailParser.pm 
>to work with my LDAP server.  I can login through the web and everything 
>works fine (account created, can log in, etc).
>
>I only want LDAP users to be able to create tickets via web or 
>email.  Problem is, any address has an account created when I request a 
>ticket via email.  I thought the point of 
>SenderMustExistInExternalDatabase was to prevent this from happening.  I 
>do NOT have CreateTicket privileges set to everyone.
>
>Does anyone else have this working in RT 3.0.1?  Any suggestions for what 
>I am doing wrong?
>
>Further investigation in lib\RT\EmailParser.pm shows the following 
>statement in the GetCurrentUser sub:
>
>         if ( $RT::SenderMustExistInExternalDatabase && 
> !$UserFoundInExternalDatabase ) {
>
>If changed to:
>
>         if ( $RT::SenderMustExistInExternalDatabase ) {
>
>accounts are still being created.
>
>Confused,
>Jeff
>_______________________________________________
>rt-devel mailing list
>rt-devel at lists.fsck.com
>http://lists.fsck.com/mailman/listinfo/rt-devel




More information about the Rt-devel mailing list